CVE-2026-129297
published high CVSS 3.1 · 7.5mail-parser: Sender IP address spoofing in `get_server_ipaddress()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SpamScope | — | mail-parser< 4.6.2 | Affected | Not stated | GitHub_M |
Description
mail-parser is a tool that parses emails by enhancing the Python standard library and extracting message details into a comprehensive object. Prior to 4.6.2, get_server_ipaddress() can select an attacker-controlled address from attacker-controlled Received headers. The minimum mechanism needed to distinguish this spoofing issue, derived from the advisory's remediation analysis and verified fix evidence, is appearance-based candidate selection that can treat bracketed IPv4 or IPv6 addresses or HELO markers in sender-written text as MTA-recorded addresses and can continue past a trusted hop that names no address. Applications that rely on the returned value can attribute a message to an attacker-selected sender IP address. This issue is fixed in version 4.6.2.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| SpamScope | mail-parser | < 4.6.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-345 CWE-345: Insufficient Verification of Data Authenticity
References
4Provider assertions
2GitHub_M · cna
mail-parser: Sender IP address spoofing in `get_server_ipaddress()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 220b1ed49fc7be602f134bc32e8a20c3039e8a18de6ce77c521da7be700226a2
- Ingested
- 16 Nov 2026, 18:02:38 UTC
- Source record
- Official CVE record