# 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

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-10-28T17:32:28.565Z
- Modified: 2026-11-05T21:18:38.000Z
- Weaknesses: CWE-436
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- MIME-tools: from 5.518 before 5.521

## References

- <https://metacpan.org/release/DSKOLL/MIME-tools-5.521/changes> (release-notes)

## Sources

- CVE List: [CVE-2026-116266](https://www.cve.org/CVERecord?id=CVE-2026-116266), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-116266](https://nvd.nist.gov/vuln/detail/CVE-2026-116266), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-116266 · Whole record: https://cve.day/CVE-2026-116266.json · Rebuilt by cve.day 2026-11-25T22:59:47.654Z
