Skip to main content
VulnerabilityPublished

CVE-2026-129295: Mail-parser Is Vulnerable to Polynomial ReDoS

Affects mail-parserSource GCVE Database

0
Compare
Authoritative record:CVE-2026-129295· High 7.5

Not known to be exploited · CVSS 7.5 High : upgrade to 4.6.1 soon.

Data as of 16 Nov 2026, 23:12 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.5
Patch
Available – fixed in 4.6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.

What to do

Upgrade mail-parser to 4.6.1.

Affected software

ProductAffectedFixed in
PyPImail-parserAffected
  • >=4.2.0 <4.6.1
Fixed in
  • 4.6.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade mail-parser to version 4.6.1 or later, where the vulnerable regexes have been replaced with linear-time parsing logic and whitespace normalization. There are no workarounds within the library. Users unable to upgrade immediately should limit total header size before parsing and enforce wall-clock timeouts around parsing operations.

Description

mail-parser versions 4.2.0 through 4.6.0 are vulnerable to polynomial Regular Expression Denial of Service (ReDoS) attacks during email header parsing. Two specific regex patterns used in parsing address headers and Received headers cause excessive CPU consumption on crafted inputs with large whitespace padding, leading to denial of service. The vulnerability affects all six address headers and Received headers, allowing small emails to exhaust parsing resources. The issue is fixed in version 4.6.1.

References

Community reviews

Loading reviews…