{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-129295","published":"2026-11-16T18:17:30.183000Z","last_modified":"2026-11-17T23:17:51.243000Z","status":"Received","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-1333"],"cpes":[],"cpes_truncated":false,"vendors":["spamscope"],"products":["spamscope/mail-parser"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-r7w7-vpq8-c5vv","ecosystem":"PyPI","name":"mail-parser","purl":"pkg:pypi/mail-parser","ranges":[{"introduced":"4.2.0","fixed":"4.6.1"}],"versions":["4.2.0","4.2.1","4.3.0","4.4.0","4.5.0","4.6.0"],"versions_truncated":false}],"severity":"high","priority_score":64,"links":{"html_es":"/es/cve/CVE-2026-129295/","html_en":"/en/cve/CVE-2026-129295/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-129295","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-129295"},"untrusted":{"vendor_name":"SpamScope","product_name":"mail-parser","desc_en":"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.","affected":[{"untrusted_vendor":"SpamScope","untrusted_product":"mail-parser"}],"references":[{"url":"https://github.com/SpamScope/mail-parser/commit/037293158cb291caa96635a54449243d32cd4d96","tags":[]},{"url":"https://github.com/SpamScope/mail-parser/commit/5aab122f0d763991604d2c2bcc807c6bf2489464","tags":[]},{"url":"https://github.com/SpamScope/mail-parser/commit/85e53f820d78ae7c955dafbbcd0e20989a735c2c","tags":[]},{"url":"https://github.com/SpamScope/mail-parser/pull/166","tags":[]},{"url":"https://github.com/SpamScope/mail-parser/releases/tag/4.6.1","tags":[]},{"url":"https://github.com/SpamScope/mail-parser/security/advisories/GHSA-r7w7-vpq8-c5vv","tags":[]}]}}