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.
Published: 2026-10-28
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Solution

Upgrade to MIME-tools 5.521 or later.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important


Wed, 28 Oct 2026 22:30:00 +0000

Type Values Removed Values Added
First Time appeared Perl
Perl mime::words
Vendors & Products Perl
Perl mime::words

Wed, 28 Oct 2026 17:45:00 +0000

Type Values Removed Values Added
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.
Title MIME::Words versions before 5.521 for Perl allow memory exhaustion via repeated "=?" sequences in decode_mimewords
Weaknesses CWE-407
References

Subscriptions

Perl Mime::words
cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-10-28T17:33:48.187Z

Reserved: 2026-10-25T18:05:02.236Z

Link: CVE-2026-116270

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-28T18:17:13.470

Modified: 2026-10-29T15:11:53.000

Link: CVE-2026-116270

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-28T17:33:48Z

Links: CVE-2026-116270 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T13:45:15Z

Weaknesses