CVE-2026-116266

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductMime-tools
PublishedOct 28, 2026
First seenNov 4, 2026
Weakness typeCWE-436CWE-436

How to fix

Update
  • MIME-tools5.521 or later

Affected products

ProductAffected versionsFixed in
MIME-tools5.518 ≤ v < 5.5215.521

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.