CVE-2026-129295: fallo de gravedad alta en SpamScope mail-parser
mail-parser is vulnerable to polynomial ReDoS in email header parsing
Publicada el · Actualizada el
Aviso por correo cuando entre en el KEV, tenga PoC pública o suba de nota.
21Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackcvss 7.5epss 0.5%
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Productos afectados
SpamScope · mail-parserCVEs relacionadas — SpamScope mail-parser
En el mismo producto, de las más peligrosas a las menos.
CVE-2026-129296MEDIUMmail-parser: Path Traversal vulnerability in attachment extractionEPSS 0.6%CVE-2026-129300MEDIUMmail-parser: Uncaught `OverflowError` / `OSError` on an out-of-range `Received` dateEPSS 0.4%CVE-2026-129299MEDIUMmail-parser: Uncaught exceptions and silent header loss in mail-parser on attacker-controlled inputEPSS 0.4%CVE-2026-129301MEDIUMmail-parser: One hostile attachment aborts `write_attachments()` and silently drops the rest of the batchEPSS 0.3%CVE-2026-129297HIGHmail-parser: Sender IP address spoofing in `get_server_ipaddress()EPSS 0.2%
Referencias
https://github.com/SpamScope/mail-parser/commit/037293158cb291caa96635a54449243d32cd4d96https://github.com/SpamScope/mail-parser/commit/5aab122f0d763991604d2c2bcc807c6bf2489464https://github.com/SpamScope/mail-parser/commit/85e53f820d78ae7c955dafbbcd0e20989a735c2chttps://github.com/SpamScope/mail-parser/pull/166https://github.com/SpamScope/mail-parser/releases/tag/4.6.1https://github.com/SpamScope/mail-parser/security/advisories/GHSA-r7w7-vpq8-c5vv