CVE-2026-116272

MIME::Field::ParamVal versions before 5.521 for Perl do not flag a duplicate boundary parameter whose name contains a nested comment

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 do not flag a duplicate boundary parameter whose name contains a nested comment.

A parameter written boundary((c))="A" or boundary(\))="A" is stored under that literal name rather than as boundary. A second boundary parameter is then not reported as a duplicate, and MIME::Parser splits the message on it.

Readers that skip comments as RFC 5322 allows take the first boundary instead. 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

In versions of MIME::Field::ParamVal older than 5.521, a boundary parameter whose name contains a nested comment is not normalized to the standard "boundary" token. The parser saves the literal name, such as "boundary((c))", and allows a second boundary declaration to coexist without flagging it as a duplicate. As a result, the MIME::Parser may split the message on an unintended boundary. A remote sender can craft a MIME message that appears correctly parsed by a user's mail client while a filtering component that relies on ambiguous content detection treats the message differently, enabling the sender to hide attachments or inject content that bypasses system filters.

Affected Systems

Any Perl application that depends on MIME-tools before version 5.521 is affected. The flaw resides in the MIME::Field::ParamVal module; thus, any environment that loads this module—regardless of operating system or Perl interpreter—will parse MIME messages with the vulnerability.

Risk and Exploitability

The CVSS score is 5.3 and the EPSS score is less than 1%. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires only the construction of a crafted MIME message containing a boundary parameter with a nested comment; no local privilege or special configuration is needed. The flaw can cause an application to accept a message that a filter misclassifies, potentially allowing hidden attachments or malicious content to reach users. The precise risk level cannot be fully quantified without more context, but the known metrics indicate a moderate severity and low exploitation probability.

Remediation

Vendor Solution

Upgrade to MIME-tools 5.521 or later.


OpenCVE Recommended Actions

  • Upgrade Mime-tools to version 5.521 or later
  • Reconfigure mail filtering to reject messages with boundary names that contain nested comments
  • Modify or configure parsing logic to normalize boundary names and detect duplicate boundaries regardless of comment markers

Generated by OpenCVE AI on October 30, 2026 at 13:39 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-115
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 do not flag a duplicate boundary parameter whose name contains a nested comment. A parameter written boundary((c))="A" or boundary(\))="A" is stored under that literal name rather than as boundary. A second boundary parameter is then not reported as a duplicate, and MIME::Parser splits the message on it. Readers that skip comments as RFC 5322 allows take the first boundary instead. 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 do not flag a duplicate boundary parameter whose name contains a nested comment
Weaknesses CWE-436
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 5, 2026, 8:40 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:34 PM