Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-116265 EUVD-2026-112297GHSA-7m3r-rg8x-jrmh

MIME::Field::ParamVal versions before 5.521 for Perl do not flag an ambiguous multipart boundary written as RFC 2231 continuations

Published Oct 28, 2026 · Updated Nov 5, 2026 · Assigned by CPANSec

Description

MIME::Field::ParamVal versions before 5.521 for Perl do not flag an ambiguous multipart boundary written as RFC 2231 continuations.

The boundary ambiguity checks look only at a plain boundary= parameter, and a boundary split into RFC 2231 sections (boundary*0=, boundary*1= and so on) is joined after they have run. A repeated section number is concatenated rather than reported as a duplicate. From version 5.518, an encoded word or trailing whitespace in such a boundary also goes unflagged, although multipart_boundary() decodes or strips it.

A remote sender can make MIME::Parser split a message on a different boundary than other mail readers, hiding an attachment from a filter that relies on ambiguous_content() while the recipient's mail client shows it.

Affected products

VendorProductAffectedFixed
— MIME-tools < 5.521 5.521

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libmime-tools-perl 5.522-1 —
Debian 13 libmime-tools-perl No fix yet —
Debian 12 libmime-tools-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libmime-tools-perl No fix yet —
Ubuntu 26.04 LTS libmime-tools-perl No fix yet —
Ubuntu 24.04 LTS libmime-tools-perl No fix yet —
Ubuntu 22.04 LTS libmime-tools-perl No fix yet —
Ubuntu 20.04 LTS libmime-tools-perl No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libmime-tools-perl No fix yet —
Ubuntu 16.04 LTS libmime-tools-perl No fix yet —
Ubuntu 14.04 LTS libmime-tools-perl No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-MIME-tools 5.522.0-1.1 openSUSE-SU-2026:12347-1
openSUSE Leap 16.0 perl-MIME-tools 5.522.0-bp160.1.1 openSUSE-SU-2026:22226-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 perl-MIME-tools 5.522-1.amzn2023.0.1 ALAS2023-2026-3425

Advisories 3

References