CVE-2026-116269

MIME::Field::ParamVal versions before 5.521 for Perl turn an RFC 2231 filename with a hyphenated language tag into an empty recommended filename

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 turn an RFC 2231 filename with a hyphenated language tag into an empty recommended filename.

A parameter such as filename*=utf-8'en-US'payload.exe is converted to an encoded word with the language tag appended to the charset. The decoder strips the language suffix only when it is a single word, so it cannot resolve the charset UTF-8*EN-US and returns an empty string. The recommended_filename() method returns that empty string rather than falling back to the name parameter.

Other mail readers return payload.exe. A remote sender can get an attachment past a policy that checks file extensions on the recommended filename.

Analysis

AI-generated

Technical impact

The MIME::Field::ParamVal package in MIME-tools before version 5.521 contains a parsing bug that turns an RFC 2231‑encoded filename containing a hyphenated language tag into an empty string. When the recommended_filename() method is invoked, the empty string is returned instead of falling back to the name parameter, allowing an email attachment to appear without the expected file extension.

Affected Systems

Systems that rely on the MIME-tools Perl library for processing inbound or outbound email are affected. The vulnerability exists in any environment running a version of MIME-tools earlier than 5.521, regardless of operating system or host. It is specifically triggered by emails that include a filename* parameter such as filename*=utf-8'en-US'payload.exe.

Risk and Exploitability

The attack can be carried out remotely by any sender who can craft an SMTP message. No authentication or privilege escalation is required on the receiver side; the flaw is purely in the parsing logic. Because the EPSS score is < 1% and the vulnerability is not listed in the CISA KEV catalog, the likelihood of widespread exploitation remains uncertain, but the ability to bypass extension‑based security controls makes the risk significant for organizations that rely on the recommended filename for policy enforcement. The CVSS score of 5.3 reflects a medium impact on confidentiality, integrity, and availability in affected email processing environments.

Remediation

Vendor Solution

Upgrade to MIME-tools 5.521 or later.


OpenCVE Recommended Actions

  • Upgrade to MIME-tools 5.521 or later.
  • Configure email processing policy to use the name parameter as a fallback when recommended_filename is empty, or enforce attachment name checks independent of MIME recommendation.
  • If an upgrade is not immediately possible, review and block any attachments whose filename* includes a hyphenated language tag or whose recommended filename is empty, and flag them for manual review.

Generated by OpenCVE AI on October 30, 2026 at 13:40 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 turn an RFC 2231 filename with a hyphenated language tag into an empty recommended filename. A parameter such as filename*=utf-8'en-US'payload.exe is converted to an encoded word with the language tag appended to the charset. The decoder strips the language suffix only when it is a single word, so it cannot resolve the charset UTF-8*EN-US and returns an empty string. The recommended_filename() method returns that empty string rather than falling back to the name parameter. Other mail readers return payload.exe. A remote sender can get an attachment past a policy that checks file extensions on the recommended filename.
Title MIME::Field::ParamVal versions before 5.521 for Perl turn an RFC 2231 filename with a hyphenated language tag into an empty recommended filename
Weaknesses CWE-436
References
Weaknesses

Sources

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