CVE-2026-129295
Last modified
CVE-2026-129295 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. mail-parser is a tool that parses emails by enhancing the Python standard library and extracting message details into a comprehensive object. From 4.2.0 until 4.6.1, attacker-controlled email headers can cause polynomial regular-expression backtracking during ordinary parse_from_string(), parse_from_bytes(), or parse_from_file() calls.
Description
mail-parser is a tool that parses emails by enhancing the Python standard library and extracting message details into a comprehensive object. From 4.2.0 until 4.6.1, attacker-controlled email headers can cause polynomial regular-expression backtracking during ordinary parse_from_string(), parse_from_bytes(), or parse_from_file() calls. In src/mailparser/utils.py, get_addresses() 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 src/mailparser/const.py, parse_received() applies _CLAUSE_SPLITTER to uncollapsed whitespace in a Received header, causing quadratic backtracking when a whitespace run is not followed by a clause keyword. A small, well-formed message can keep mail gateway, ticketing, quarantine, or archival parsing workers busy for extended periods. This issue is fixed in version 4.6.1.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| SpamScope | mail-parser | >= 4.2.0, < 4.6.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-129295?
How severe is CVE-2026-129295?
How do I fix CVE-2026-129295?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-129260A security vulnerability has been detected in Mereithhh VanB…6.6
- CVE-2026-129261A vulnerability was found in Kingston FURY CTRL RGB Control …8.2
- CVE-2026-129262A weakness has been identified in Wuxi Wubang Security Softw…7.3
- CVE-2026-129264A security vulnerability has been detected in sox_ng up to 1…5.5
- CVE-2026-129267A vulnerability was found in sergix44 XBackBone up to 3.8.2.…3.5
- CVE-2026-12927CWE-787 Out-of-bounds write vulnerability exists that could …8.4
- CVE-2026-129296mail-parser is a tool that parses emails by enhancing the Py…6.5
- CVE-2026-129297mail-parser is a tool that parses emails by enhancing the Py…7.5
- CVE-2026-129299mail-parser is a tool that parses emails by enhancing the Py…6.5
- CVE-2026-1293The Yoast SEO – Advanced SEO with real-time guidance and bui…6.4
- CVE-2026-129300mail-parser is a tool that parses emails by enhancing the Py…5.3
- CVE-2026-129301mail-parser is a tool that parses emails by enhancing the Py…6.5
Are you affected by CVE-2026-129295?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
