CVE-2026-116268

MIME::Field::ParamVal versions before 5.521 for Perl allow CPU exhaustion via unclosed comments in header parameters

Published Oct 28, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
MIME::Field::ParamVal versions before 5.521 for Perl allow CPU exhaustion via unclosed comments in header parameters.

The comment pattern used to parse Content-Type and Content-Disposition parameters scans from each "(" to the next ")". In a field with no ")", every "(" scans to the end of the header and fails, so parsing takes time quadratic in the header length. The field is parsed again on each attribute lookup, several times per MIME entity.

A 40 KB header takes about 7 seconds to parse once.

Analysis

AI-generated

Technical impact

This vulnerability targets the MIME::Field::ParamVal component of the MIME-tools package for Perl versions earlier than 5.521. Unescaped opening parentheses in header parameters cause the parser to scan from the left parenthesis to the end of the header when a matching right parenthesis is missing, leading to a quadratic time growth with header length. The resulting CPU consumption can become significant; a 40 KB header can take about seven seconds to parse, and the parsing step is repeated on each attribute lookup on a MIME entity, aggravating the impact. The high CPU usage can degrade or deny service for the application handling the MIME content.

Affected Systems

The affected product is the Perl MIME-tools library, specifically MIME::Field::ParamVal versions prior to 5.521. Systems that process MIME headers—such as email servers, web servers, or any service that parses Content-Type or Content-Disposition parameters—running those older library versions are at risk, based on inferred usage patterns. No other vendors or products are listed.

Risk and Exploitability

Exploit requires network delivery of a malformed MIME header containing an unmatched opening parenthesis. The likely attack vector is via protocols that accept MIME headers, such as HTTP or SMTP, based on inference from the parsing context. The vulnerability is a denial‑of‑service risk with a CVSS score of 7.5, indicating high severity. The EPSS score is < 1%, showing a low probability of exploitation, and the issue is not listed in the CISA KEV catalog. The potential for service disruption is high because the parser repeatedly scans large header fields without mitigating mechanisms.

Remediation

Vendor Solution

Upgrade to MIME-tools 5.521 or later.


OpenCVE Recommended Actions

  • Upgrade MIME-tools to version 5.521 or later.
  • If upgrading is not immediately possible, validate that all MIME header parameters contain matching parentheses before processing.
  • Deploy application‑level controls to reject or limit headers that exceed a safe size or contain malformed parentheses.

Generated by OpenCVE AI on November 5, 2026 at 22:27 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
Metrics cvssV3_1

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

cvssV3_1

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

Type Values Removed Values Added
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:N/A:L'}

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 CPU exhaustion via unclosed comments in header parameters. The comment pattern used to parse Content-Type and Content-Disposition parameters scans from each "(" to the next ")". In a field with no ")", every "(" scans to the end of the header and fails, so parsing takes time quadratic in the header length. The field is parsed again on each attribute lookup, several times per MIME entity. A 40 KB header takes about 7 seconds to parse once.
Title MIME::Field::ParamVal versions before 5.521 for Perl allow CPU exhaustion via unclosed comments in header parameters
Weaknesses CWE-1333
References
Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity

Sources

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