Skip to main content
← All vulnerabilities
CVE-2026-116273EUVD-2026-112306GHSA-XRPV-R4CR-X2X4

MIME::Parser versions before 5.521 for Perl set no limit on the number of message parts by default, allowing memory exhaustion

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

Summary

MIME::Parser for Perl, in versions before 5.521, places no default limit on how many message parts it processes, so a malicious email with a very large number of parts can exhaust memory on the system parsing it. Version 5.521 applies default limits to part count and nesting depth, though these can still be disabled by configuration.

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

Read the original description

MIME::Parser versions before 5.521 for Perl set no limit on the number of message parts by default, allowing memory exhaustion. The max_parts option defaulted to -1, which disables the limit, so a parser created with default settings builds an entity for every part however many a message has. Version 5.521 sets max_parts to 1000 and max_depth to 64 by default. Setting either to -1 still removes the limit.

Timeline

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

Affected versions

  • MIME-tools

    fixed in 5.521

References 1

metacpan.org