Skip to main content
← All vulnerabilities
CVE-2026-116268EUVD-2026-112300GHSA-CGXV-575F-WXJM

MIME::Field::ParamVal versions before 5.521 for Perl allow CPU exhaustion via unclosed comments in header parameters

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.521
None on Exploit-DB, Metasploit or GitHub

Summary

MIME::Field::ParamVal for Perl, used to parse Content-Type and Content-Disposition header parameters, is affected. A specially crafted header with unclosed comments can make it consume excessive CPU time, which can slow or stall processing of email messages.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

MIME::Field::ParamVal versions before 5.521 for Perl allow CPU exhaustion via unclosed comments in header parameters. The comment pattern used to parse Content-Type and Content-Disposition parameters scans from each "(" to the next ")". In a field with no ")", every "(" scans to the end of the header and fails, so parsing takes time quadratic in the header length. The field is parsed again on each attribute lookup, several times per MIME entity. A 40 KB header takes about 7 seconds to parse once.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • MIME-tools

    fixed in 5.521

References 1

metacpan.org