Vulnerability · Published Oct 28, 2026 · Assigned by CPANSec
CVE-2026-116270MIME::Words versions before 5.521 for Perl allow memory exhaustion via repeated "=?" sequences in decode_mimewords
High 7.5
In plain English
A high-severity security flaw in MIME-tools. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libmime-tools-perl | no fix listed | DEBIAN-CVE-2026-116270 |
| Debian:13 | libmime-tools-perl | no fix listed | DEBIAN-CVE-2026-116270 |
| Debian:14 | libmime-tools-perl | 5.522-1 | DEBIAN-CVE-2026-116270 |
| Ubuntu:22.04:LTS | libmime-tools-perl | no fix listed | UBUNTU-CVE-2026-116270 |
| Ubuntu:24.04:LTS | libmime-tools-perl | no fix listed | UBUNTU-CVE-2026-116270 |
| Ubuntu:26.04:LTS | libmime-tools-perl | no fix listed | UBUNTU-CVE-2026-116270 |
| Ubuntu:26.10 | libmime-tools-perl | no fix listed | UBUNTU-CVE-2026-116270 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| MIME-tools | 0 – before 5.521 |
Weakness: CWE-407 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H