MIME::Parser versions before 5.521 for Perl allow memory exhaustion via indented error messages from a truncated, deeply nested message.

Each stored parser diagnostic is indented by three spaces per nesting level. When a message nested N levels deep ends without its closing boundaries, every level logs an error at its own depth, so the stored diagnostics grow with the square of N. The defaults place no limit on nesting depth.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

Upgrade to MIME-tools 5.521 or later.


Workaround

No workaround given by the vendor.

History

Wed, 28 Oct 2026 17:45:00 +0000

Type Values Removed Values Added
Description MIME::Parser versions before 5.521 for Perl allow memory exhaustion via indented error messages from a truncated, deeply nested message. Each stored parser diagnostic is indented by three spaces per nesting level. When a message nested N levels deep ends without its closing boundaries, every level logs an error at its own depth, so the stored diagnostics grow with the square of N. The defaults place no limit on nesting depth.
Title MIME::Parser versions before 5.521 for Perl allow memory exhaustion via indented error messages from a truncated, deeply nested message
Weaknesses CWE-407
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-10-28T17:32:45.677Z

Reserved: 2026-10-25T18:05:02.235Z

Link: CVE-2026-116267

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-28T18:17:13.123

Modified: 2026-10-28T18:17:13.123

Link: CVE-2026-116267

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T19:00:23Z

Weaknesses