Skip to content

CVE-2026-116266 MIME::Head versions from 5.518 before 5.521 for Perl decode a partly encoded multipart boundary without flagging the parse as ambiguous

MediumCVSS 5.3 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

9 packages: 3 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
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
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.518, < 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

ProductAffected versionsFixed in
redhat/perl-MIME-tools(Red Hat:rhel_els:6) All versions No fix listed
cpan MIME-tools >= 5.518, < 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
ProductAffected versionsFixed 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