Skip to content
Heist/ feed
Back to feed
Unrated

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

Type: advisorySources: Official CVE List

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-116268
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 20:24 UTC · Revision 1

Source evidence

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

core-cve · Original source

Published 28 Oct 2026, 17:33 UTC

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.

cve:CVE-2026-116268
Complete source record
{
  "id": "a34851c0a209b079a33a122bc35e9f45460a842e9beb221f97980faf0817b89c",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-116268",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "MIME::Field::ParamVal versions before 5.521 for Perl allow CPU exhaustion via unclosed comments in header parameters",
    "summary": "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.",
    "evidence": "cve:CVE-2026-116268",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-116268",
      "aliases": [
        "CVE-2026-116268"
      ],
      "metrics": [],
      "affected": [
        {
          "repo": "https://salsa.debian.org/dskoll/mime-tools",
          "modules": [
            "MIME::Field::ParamVal"
          ],
          "versions": [
            {
              "status": "affected",
              "version": "0",
              "lessThan": "5.521",
              "versionType": "custom"
            }
          ],
          "packageURL": "pkg:cpan/MIME-tools",
          "packageName": "MIME-tools",
          "programFiles": [
            "lib/MIME/Field/ParamVal.pm"
          ],
          "collectionURL": "https://cpan.org/modules",
          "defaultStatus": "unaffected",
          "programRoutines": [
            {
              "name": "MIME::Field::ParamVal::parse_params"
            }
          ]
        }
      ],
      "modified": "2026-10-28T17:33:04.336Z",
      "provider": "cve",
      "references": [
        "https://metacpan.org/release/DSKOLL/MIME-tools-5.521/changes"
      ],
      "provider_metadata": {
        "cna": {
          "orgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
          "shortName": "CPANSec",
          "dateUpdated": "2026-10-28T17:33:04.336Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-116268",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-cve",
  "document_id": 466444,
  "published_at": "2026-10-28T17:33:04.336+00:00"
}