PatchSiren cyber security CVE debrief
CVE-2026-129295 SpamScope CVE debrief
CVE-2026-129295: The mail-parser library, used for parsing emails, is vulnerable to a polynomial ReDoS (Regular Expression Denial of Service) attack. This vulnerability affects versions 4.2.0 through 4.6.1. An attacker can exploit this by providing specially crafted email headers that cause the parsing functions to backtrack excessively, leading to a denial-of-service (DoS) condition. The affected functions are parse_from_string(), parse_from_bytes(), and parse_from_file(). This issue can cause mail gateway, ticketing, quarantine, or archival parsing workers to be busy for extended periods, potentially leading to resource exhaustion. Defenders should prioritize patching or mitig (
- Vendor
- SpamScope
- Product
- mail-parser
- CVSS
- HIGH 7.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-16
- Original CVE updated
- 2026-11-17
- Advisory published
- 2026-11-16
- Advisory updated
- 2026-11-17
Who should care
Mail gateway administrators, ticketing system administrators, quarantine system administrators, archival parsing system administrators, and developers using the mail-parser library should assess exposure and prioritize remediation.
Why it matters
CVE-2026-129295 is a high-severity vulnerability in the mail-parser library that can cause denial-of-service conditions via specially crafted email headers. Defenders should prioritize patching or mitigating this vulnerability, especially in mail gateway, ticketing, quarantine, or archival parsing systems. The vulnerability requires verification of affected versions and exposure in specific deployment contexts.
- Potential for extended parsing delays leading to resource exhaustion
- Possible impact on mail gateway, ticketing, quarantine, or archival parsing workers
- Requires verification of affected versions and exposure in specific deployment contexts
Technical summary
The mail-parser library is vulnerable to a polynomial ReDoS (Regular Expression Denial of Service) attack in email header parsing. This occurs in versions 4.2.0 through 4.6.1. An attacker can exploit this by providing specially crafted email headers that cause the parsing functions to backtrack excessively, leading to a denial-of-service (DoS) condition. The affected functions are parse_from_string(), parse_from_bytes(), and parse_from_file().
Defensive priority
Defenders should prioritize patching or mitigating this vulnerability, especially in mail gateway, ticketing, quarantine, or archival parsing systems.
Recommended defensive actions
- Patch mail-parser to version 4.6.1 or later
- Implement input validation and sanitization for email headers
- Monitor parsing workers for unusual activity
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The vulnerability is caused by polynomial regular-expression backtracking in the get_addresses() function and parse_received() function. This can lead to a denial-of-service (DoS) attack. The get_addresses() function invokes the _ADDR_FALLBACK_RE fallback when strict address parsing yields no usable address, and overlapping quantifiers rescan padded address headers quadratically or cubically. In parse_received(), _CLAUSE_SPLITTER is applied to uncollapsed whitespace in a Received header, causing quadratic backtracking when a
Sources and references
Verified primary and authoritative sources
-
CVE-2026-129295 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-129295
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-129295 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-129295
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
mail-parser is vulnerable to polynomial ReDoS in email header parsing
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/129xxx/CVE-2026-129295.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/SpamScope/mail-parser/security/advisories/GHSA-r7w7-vpq8-c5vv
Supplemental source - x_refsource_CONFIRM
-
Source reference
Unverified legacy reference
URL: https://github.com/SpamScope/mail-parser/pull/166
Supplemental source - x_refsource_MISC
-
Source reference
Unverified legacy reference
URL: https://github.com/SpamScope/mail-parser/commit/037293158cb291caa96635a54449243d32cd4d96
Supplemental source - x_refsource_MISC
-
Source reference
Unverified legacy reference
URL: https://github.com/SpamScope/mail-parser/commit/5aab122f0d763991604d2c2bcc807c6bf2489464
Supplemental source - x_refsource_MISC
-
Source reference
Unverified legacy reference
URL: https://github.com/SpamScope/mail-parser/commit/85e53f820d78ae7c955dafbbcd0e20989a735c2c
Supplemental source - x_refsource_MISC
-
Source reference
Unverified legacy reference
URL: https://github.com/SpamScope/mail-parser/releases/tag/4.6.1
Supplemental source - x_refsource_MISC
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.