CVE-2026-116270 MIME::Words versions before 5.521 for Perl allow memory exhaustion via repeated "=?" sequences in decode_mimewords
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
10 packages: 3 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libmime-tools-perl(Debian 12) | = 5.510-1; = 5.510-2; = 5.510-3; = 5.512-1 +9 more | No fix listed | No fix yet |
| debian/libmime-tools-perl(Debian 13) | = 5.515-1; = 5.517-1; = 5.518-1; = 5.519-1 +3 more | No fix listed | No fix yet |
| redhat/perl-MIME-tools(Red Hat rhel_els 6) | All versions | No fix listed | No fix yet |
| ubuntu/libmime-tools-perl(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libmime-tools-perl(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/libmime-tools-perl(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/libmime-tools-perl(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| azure linux perl-MIME-tools(Azure Linux 4.0) | < 0:5.522-8.azl4 | 0:5.522-8.azl4 | Fixed |
| cpan MIME-tools | < 5.521 | 5.521 | Fixed |
| debian/libmime-tools-perl(Debian 14) | < 5.522-1; = 5.515-1; = 5.517-1; = 5.518-1 +2 more | 5.522-1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/perl-MIME-tools(Red Hat:rhel_els:6) | All versions | No fix listed |
| cpan MIME-tools | < 5.521 | 5.521 |
| debian/libmime-tools-perl(Debian:12) | All versions | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.510-1 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.510-2 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.510-3 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.512-1 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.513-1 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.514-1 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.515-1 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.517-1 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.518-1 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.519-1 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.520-1 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.522-1 | No fix listed |
| debian/libmime-tools-perl(Debian:13) | All versions | No fix listed |
| debian/libmime-tools-perl(Debian:13) | = 5.515-1 | No fix listed |
| debian/libmime-tools-perl(Debian:13) | = 5.517-1 | No fix listed |
| debian/libmime-tools-perl(Debian:13) | = 5.518-1 | No fix listed |
| debian/libmime-tools-perl(Debian:13) | = 5.519-1 | No fix listed |
| debian/libmime-tools-perl(Debian:13) | = 5.520-1 | No fix listed |
| debian/libmime-tools-perl(Debian:13) | = 5.522-1 | No fix listed |
| debian/libmime-tools-perl(Debian:14) | < 5.522-1 | 5.522-1 |
| debian/libmime-tools-perl(Debian:14) | = 5.515-1 | No fix listed |
| debian/libmime-tools-perl(Debian:14) | = 5.517-1 | No fix listed |
Show 8 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libmime-tools-perl(Debian:14) | = 5.518-1 | No fix listed |
| debian/libmime-tools-perl(Debian:14) | = 5.519-1 | No fix listed |
| debian/libmime-tools-perl(Debian:14) | = 5.520-1 | No fix listed |
| ubuntu/libmime-tools-perl(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/libmime-tools-perl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libmime-tools-perl(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libmime-tools-perl(Ubuntu:26.10) | All versions | No fix listed |
| azure linux perl-MIME-tools(Azure Linux:4.0) | < 0:5.522-8.azl4 | 0:5.522-8.azl4 |
References
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2563052 issue-tracking
- www.cve.org
- nvd.nist.gov
- metacpan.org release-notes
- Debian Security Tracker CVE-2026-116270 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- ENISA EUVD EUVD-2026-112303 third-party-advisory