Skip to main content
← All vulnerabilities
CVE-2026-116265EUVD-2026-112297GHSA-7M3R-RG8X-JRMH

MIME::Field::ParamVal versions before 5.521 for Perl do not flag an ambiguous multipart boundary written as RFC 2231 continuations

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, in versions before 5.521, is affected, and it is used by the MIME::Parser module. The flaw lets a remote sender craft a multipart email boundary that the software does not flag as ambiguous, so a mail filter may miss a hidden attachment that the recipient's mail client still displays.

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 do not flag an ambiguous multipart boundary written as RFC 2231 continuations. The boundary ambiguity checks look only at a plain boundary= parameter, and a boundary split into RFC 2231 sections (boundary*0=, boundary*1= and so on) is joined after they have run. A repeated section number is concatenated rather than reported as a duplicate. From version 5.518, an encoded word or trailing whitespace in such a boundary also goes unflagged, although multipart_boundary() decodes or strips it. A remote sender can make MIME::Parser split a message on a different boundary than other mail readers, hiding an attachment from a filter that relies on ambiguous_content() while the recipient's mail client shows it.

Timeline

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

Affected versions

  • MIME-tools

    fixed in 5.521

References 1

metacpan.org