Skip to content

CVE-2026-129297 mail-parser: Sender IP address spoofing in `get_server_ipaddress()

HighCVSS 7.5 EPSS 0.20%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Debian

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi mail-parser(PyPI) < 4.6.2; <= 4.6.1; = 0.5.0; = 1.0.0 +67 more 4.6.2 Fixed
SpamScope mail-parser = < 4.6.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
SpamScope mail-parser = < 4.6.2 No fix listed
pypi mail-parser(PyPI) <= 4.6.1 No fix listed
pypi mail-parser(PyPI) < 4.6.2 4.6.2
pypi mail-parser(PyPI) = 0.5.0 No fix listed
pypi mail-parser(PyPI) = 1.0.0 No fix listed
pypi mail-parser(PyPI) = 1.0.0rc1 No fix listed
pypi mail-parser(PyPI) = 1.1.0 No fix listed
pypi mail-parser(PyPI) = 1.1.1 No fix listed
pypi mail-parser(PyPI) = 1.1.10 No fix listed
pypi mail-parser(PyPI) = 1.1.2 No fix listed
pypi mail-parser(PyPI) = 1.1.3 No fix listed
pypi mail-parser(PyPI) = 1.1.4 No fix listed
pypi mail-parser(PyPI) = 1.1.5 No fix listed
pypi mail-parser(PyPI) = 1.1.6 No fix listed
pypi mail-parser(PyPI) = 1.1.7 No fix listed
pypi mail-parser(PyPI) = 1.1.8 No fix listed
pypi mail-parser(PyPI) = 1.1.9 No fix listed
pypi mail-parser(PyPI) = 1.2.0 No fix listed
pypi mail-parser(PyPI) = 1.2.1 No fix listed
pypi mail-parser(PyPI) = 1.2.2 No fix listed
pypi mail-parser(PyPI) = 1.2.4 No fix listed
pypi mail-parser(PyPI) = 1.2.5 No fix listed
pypi mail-parser(PyPI) = 1.2.6 No fix listed
pypi mail-parser(PyPI) = 2.0.0 No fix listed
pypi mail-parser(PyPI) = 2.0.1 No fix listed
Show 47 more
ProductAffected versionsFixed in
pypi mail-parser(PyPI) = 2.1.0 No fix listed
pypi mail-parser(PyPI) = 3.0.0 No fix listed
pypi mail-parser(PyPI) = 3.1.0 No fix listed
pypi mail-parser(PyPI) = 3.10.0 No fix listed
pypi mail-parser(PyPI) = 3.11.0 No fix listed
pypi mail-parser(PyPI) = 3.12.0 No fix listed
pypi mail-parser(PyPI) = 3.13.0 No fix listed
pypi mail-parser(PyPI) = 3.14.0 No fix listed
pypi mail-parser(PyPI) = 3.15.0 No fix listed
pypi mail-parser(PyPI) = 3.2.0 No fix listed
pypi mail-parser(PyPI) = 3.2.1 No fix listed
pypi mail-parser(PyPI) = 3.2.2 No fix listed
pypi mail-parser(PyPI) = 3.2.3 No fix listed
pypi mail-parser(PyPI) = 3.2.4 No fix listed
pypi mail-parser(PyPI) = 3.2.5 No fix listed
pypi mail-parser(PyPI) = 3.2.6 No fix listed
pypi mail-parser(PyPI) = 3.2.7 No fix listed
pypi mail-parser(PyPI) = 3.3.0 No fix listed
pypi mail-parser(PyPI) = 3.3.1 No fix listed
pypi mail-parser(PyPI) = 3.3.2 No fix listed
pypi mail-parser(PyPI) = 3.3.3 No fix listed
pypi mail-parser(PyPI) = 3.4.0 No fix listed
pypi mail-parser(PyPI) = 3.4.1 No fix listed
pypi mail-parser(PyPI) = 3.5.0 No fix listed
pypi mail-parser(PyPI) = 3.5.1 No fix listed
pypi mail-parser(PyPI) = 3.6.0 No fix listed
pypi mail-parser(PyPI) = 3.6.1 No fix listed
pypi mail-parser(PyPI) = 3.7.0 No fix listed
pypi mail-parser(PyPI) = 3.7.1 No fix listed
pypi mail-parser(PyPI) = 3.8.0 No fix listed
pypi mail-parser(PyPI) = 3.8.1 No fix listed
pypi mail-parser(PyPI) = 3.9.0 No fix listed
pypi mail-parser(PyPI) = 3.9.1 No fix listed
pypi mail-parser(PyPI) = 3.9.2 No fix listed
pypi mail-parser(PyPI) = 3.9.3 No fix listed
pypi mail-parser(PyPI) = 4.0.0 No fix listed
pypi mail-parser(PyPI) = 4.1.0 No fix listed
pypi mail-parser(PyPI) = 4.1.2 No fix listed
pypi mail-parser(PyPI) = 4.1.3 No fix listed
pypi mail-parser(PyPI) = 4.1.4 No fix listed
pypi mail-parser(PyPI) = 4.2.0 No fix listed
pypi mail-parser(PyPI) = 4.2.1 No fix listed
pypi mail-parser(PyPI) = 4.3.0 No fix listed
pypi mail-parser(PyPI) = 4.4.0 No fix listed
pypi mail-parser(PyPI) = 4.5.0 No fix listed
pypi mail-parser(PyPI) = 4.6.0 No fix listed
pypi mail-parser(PyPI) = 4.6.1 No fix listed

References