# CVE-2026-116270: MIME::Words versions before 5.521 for Perl allow memory exhaustion via repeated "=?" sequences in decode_mimewords

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-10-28T17:33:48.187Z
- Modified: 2026-11-05T21:18:38.663Z
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

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

(As written by CVE List.)

## Affected

- MIME-tools: before 5.521

## References

- <https://metacpan.org/release/DSKOLL/MIME-tools-5.521/changes> (release-notes)

## Sources

- CVE List: [CVE-2026-116270](https://www.cve.org/CVERecord?id=CVE-2026-116270), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-116270](https://nvd.nist.gov/vuln/detail/CVE-2026-116270), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-116270 · Whole record: https://cve.day/CVE-2026-116270.json · Rebuilt by cve.day 2026-11-25T22:59:47.655Z
