CPANSA-MIME-tools-2026-116266: MIME-tools vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-10-28T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-10-28T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | Severity | ||
| Original language | Language | en | |
| Also referred to | |||
Vulnerability Description
MIME::Head versions from 5.518 before 5.521 for Perl decode a partly encoded multipart boundary without flagging the parse as ambiguous.
The multipart_boundary() method decodes RFC 2047 encoded words anywhere in the boundary, but the ambiguity check only fires when the whole value is one encoded word. A boundary such as abc=?us-ascii?Q?def?= is used as abcdef, and ambiguous_content() returns false.
Encoded words are not allowed in parameters, so other mail readers split the message on the literal value. A remote sender can hide an attachment from a filter that relies on ambiguous_content() while the recipient's mail client shows it.
Vulnerabilities
CVE-2026-116266
Vulnerability DescriptionMIME::Head versions from 5.518 before 5.521 for Perl decode a partly encoded multipart boundary without flagging the parse as ambiguous.
The multipart_boundary() method decodes RFC 2047 encoded words anywhere in the boundary, but the ambiguity check only fires when the whole value is one encoded word. A boundary such as abc=?us-ascii?Q?def?= is used as abcdef, and ambiguous_content() returns false.
Encoded words are not allowed in parameters, so other mail readers split the message on the literal value. A remote sender can hide an attachment from a filter that relies on ambiguous_content() while the recipient's mail client shows it.
| Weakness | CWE-436 : Interpretation Conflict |
|---|
Product status
Known affected
| Product | Score | ||||
|---|---|---|---|---|---|
| MIME-tools greater than or equal 5.518 and less than 5.521 |
|
Fixed
- MIME-tools greater than or equal 5.521
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-MIME-tools-2026-116266 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-mime-tools-2026-116266.json - https://metacpan.org/release/DSKOLL/MIME-tools-5.521/changes external
https://metacpan.org/release/DSKOLL/MIME-tools-5.521/changes - CVE-2026-116266 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-116266
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Wed Oct 28 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/