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

Published Oct 28, 2026
·
Updated

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.

Affected Software

1 affected component
MIME-Tools MIME::Parser<5.521

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade MIME-tools to a version that resolves this vulnerability.

    Fixed in 5.521

Event History

Oct 28, 2026
CVE Published
via MITRE·05:32 PM
Data Sourced
via MITRE·05:32 PM
RemedyDescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed by default?

Deployments using MIME::Parser before version 5.521 are exposed when they parse truncated, deeply nested messages. The default configuration has no nesting-depth limit, so no nondefault setting is required for the condition described.

2

What must an attacker provide to trigger the memory exhaustion?

An attacker needs to cause the parser to process a deeply nested message that ends before its closing boundaries. At each nesting level, the parser stores an indented diagnostic, causing diagnostic memory growth proportional to the square of the nesting depth.

3

How can I determine whether an installation is affected?

Check the installed MIME::Parser version. Versions before 5.521 are affected; version 5.521 is identified by the provided change reference as the release addressing this issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203