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

Published Oct 28, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Parameter parsing stops at the first parameter whose name it cannot read, such as x:y=1 or a name containing an 8-bit byte, and drops every parameter after it. When the boundary is among them, MIME::Parser keeps the multipart body as a single undecoded part without marking the parse as ambiguous.

Mail readers that skip the invalid parameter still find the boundary. A remote sender can hide an attachment from a filter that relies on ambiguous_content() while the recipient's mail client shows it.

Analysis

AI-generated

Technical impact

MIME::Field::ParamVal versions before 5.521 fail to parse a single invalid Content‑Type parameter, such as one with an illegal name or containing non‑ASCII bytes. The parser stops at that malformed parameter and discards every parameter that follows, including the multipart boundary. The MIME::Parser therefore treats the body as a single undecoded part and does not mark the parse as ambiguous. Consequently, mail clients that ignore the malformed parameter still locate the boundary, while email‑filtering systems that rely on the ambiguous_content() flag can be tricked into treating the message as unrecognizable while the recipient sees the attachment.

Affected Systems

The flaw affects Perl’s MIME‑tools library – MIME::Field::ParamVal – in all versions prior to 5.521. Any system that uses the legacy library for parsing or rendering MIME messages is vulnerable, including web applications and mail transport agents that depend on this component.

Risk and Exploitability

The vulnerability can be exploited by anyone capable of sending a crafted email to a vulnerable recipient, with no authentication or special privileges required. The CVSS score of 5.3 reflects moderate impact, and the EPSS score of <1% suggests a low probability of widespread exploitation. The flaw is not listed in the CISA KEV catalog. Attackers can use this flaw to bypass content‑based email filtering, hiding attachments or malicious payloads that would otherwise be blocked.

Remediation

Vendor Solution

Upgrade to MIME-tools 5.521 or later.


OpenCVE Recommended Actions

  • Upgrade MIME‑tools to version 5.521 or later
  • Configure mail‑filtering software to reject or flag messages containing malformed parameters or ambiguous content
  • Validate incoming mail strictly against the MIME specification to prevent unparseable parameters from slipping through

Generated by OpenCVE AI on October 30, 2026 at 14:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-1286
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Perl
Perl mime::field::paramval
Vendors & Products Perl
Perl mime::field::paramval
Type Values Removed Values Added
Description 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. Parameter parsing stops at the first parameter whose name it cannot read, such as x:y=1 or a name containing an 8-bit byte, and drops every parameter after it. When the boundary is among them, MIME::Parser keeps the multipart body as a single undecoded part without marking the parse as ambiguous. Mail readers that skip the invalid parameter still find the boundary. A remote sender can hide an attachment from a filter that relies on ambiguous_content() while the recipient's mail client shows it.
Title 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
Weaknesses CWE-436
References
Weaknesses
  • CWE-1286

    Improper Validation of Syntactic Correctness of Input

  • CWE-436

    Interpretation Conflict

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 5, 2026, 9:05 PM
Reserved
Oct 25, 2026, 6:05 PM
Status
Awaiting Analysis
Published
Oct 28, 2026, 6:17 PM
Modified
Nov 5, 2026, 9:18 PM
Severity
Moderate
Public date
Oct 28, 2026, 5:31 PM