CVE-2026-116264: MIME::Field::ParamVal versions before 5.521 for Perl allow one invalid Content-Type parameter to hide the parameters after it, including the multipart boundary
[Unknown description]
Other sources
MIME::Field::ParamVal versions before 5.521 for Perl allow one invalid Content-Type parameter to hide the parameters after it, including the multipart boundary
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/libmime-tools-perlto a version that resolves this vulnerability.Fixed in 5.522-1 - Upgrade
Upgrade
azurelinux/perl-MIME-toolsto a version that resolves this vulnerability.Fixed in 0:5.522-8.azl4 - Upgrade
Upgrade
MIME-toolsto a version that resolves this vulnerability.Fixed in 5.521
Event History
Frequently Asked Questions
Who is exposed to this issue?
Mail-processing systems using MIME::Field::ParamVal before 5.521 are exposed if they rely on MIME::Parser and ambiguous_content() to detect ambiguous multipart messages. A remote sender can target such systems by sending a crafted multipart Content-Type header.
What does an attacker need to include in a message?
The attacker needs to place an invalid Content-Type parameter before later parameters, including the multipart boundary. Examples include a parameter name containing a colon, such as x:y=1, or an 8-bit byte; the affected parser stops there and discards subsequent parameters.
What is the practical impact for mail filtering?
The affected parser may retain the multipart body as one undecoded part without marking it ambiguous when the boundary is hidden. A filter relying on ambiguous_content() can therefore miss an attachment that a recipient mail client, which skips the invalid parameter and recognizes the boundary, will display.
How can this be remediated?
Update MIME::Field::ParamVal to version 5.521 or later. The provided change reference identifies 5.521 as the version addressing behavior in versions before it.