Skip to main content
← All vulnerabilities
CVE-2026-116270EUVD-2026-112303GHSA-JQ2X-C3X3-GV8C

MIME::Words versions before 5.521 for Perl allow memory exhaustion via repeated "=?" sequences in decode_mimewords

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

Summary

The MIME::Words Perl module (versions before 5.521) and software that uses it, such as MIME::Parser from version 5.518 onward, are affected. A remote sender can craft a single malicious email header that makes the parsing process consume excessive memory, potentially crashing it.

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

Read the original description

MIME::Words versions before 5.521 for Perl allow memory exhaustion via repeated "=?" sequences in decode_mimewords. For each "=?" that does not start a complete encoded word, decode_mimewords appends an error message containing the whole input string to $@. A boundary of 8,000 "=?" pairs (16,000 bytes) adds 8,000 copies of itself to $@, about 128 MB. From version 5.518, MIME::Parser decodes every multipart boundary this way, so a remote sender can exhaust the memory of the parsing process with one Content-Type header.

Timeline

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

Affected versions

  • MIME-tools

    fixed in 5.521

References 1

metacpan.org