CVE-2026-116270MIME::Words versions before 5.521 for Perl allow memory exhaustion via repeated "=?"…
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libmime-tools-perl | Fix pending | UBUNTU-CVE-2026-116270 | |
| Ubuntu 26.04 | libmime-tools-perl | Under investigation | UBUNTU-CVE-2026-116270 | |
| Ubuntu 24.04 | libmime-tools-perl | Under investigation | UBUNTU-CVE-2026-116270 | |
| Ubuntu 22.04 | libmime-tools-perl | Under investigation | UBUNTU-CVE-2026-116270 | |
| Ubuntu 20.04 | libmime-tools-perl | Fix pending | UBUNTU-CVE-2026-116270 | |
| Ubuntu 18.04 | libmime-tools-perl | Fix pending | UBUNTU-CVE-2026-116270 | |
| Ubuntu 16.04 | libmime-tools-perl | Fix pending | UBUNTU-CVE-2026-116270 | |
| Ubuntu 14.04 | libmime-tools-perl | Fix pending | UBUNTU-CVE-2026-116270 | |
| Debian 14 | libmime-tools-perl | Fixed | 5.522-1 | DEBIAN-CVE-2026-116270 |
| Debian 13 | libmime-tools-perl | Fix pending | DEBIAN-CVE-2026-116270 | |
| Debian 12 | libmime-tools-perl | Fix pending | DEBIAN-CVE-2026-116270 | |
| Red Hat Enterprise Linux 6 | perl-MIME-tools | Fix pending Affected |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- MIME-tools: affected: before 5.521; fixed in
5.521
Solution: Upgrade to MIME-tools 5.521 or later.
Vendor advisories:
- https://metacpan.org/release/DSKOLL/MIME-tools-5.521/changes (release-notes)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.