CVE-2023-27043Improper Input Validation in Python

Severity
5.3MEDIUMNVD
EPSS
0.2%
top 61.14%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 19
Latest updateSep 29

Description

The email module of Python through 3.11.3 incorrectly parses e-mail addresses that contain a special character. The wrong portion of an RFC2822 header is identified as the value of the addr-spec. In some applications, an attacker can bypass a protection mechanism in which application access is granted only after verifying receipt of e-mail to a specific domain (e.g., only @company.example.com addresses may be used for signup). This occurs in email/_parseaddr.py in recent versions of Python.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NExploitability: 3.9 | Impact: 1.4

Affected Packages17 packages

NVDpython/python3.03.8.20+5
debiandebian/python2.7< pypy3 7.3.11+dfsg-2+deb12u3 (bookworm)
debiandebian/python3.9< pypy3 7.3.11+dfsg-2+deb12u3 (bookworm)
debiandebian/python3.11< pypy3 7.3.11+dfsg-2+deb12u3 (bookworm)

Also affects: Fedora 38, 39

🔴Vulnerability Details

8
OSV
python2.7 regression2025-09-29
OSV
python2.7 regresssions2024-11-22
OSV
python2.7 vulnerabilities2024-11-19
OSV
python2.7, python3.5 vulnerability2024-10-14
OSV
python2.7, python3.5 vulnerability2024-10-01

📋Vendor Advisories

11
Ubuntu
Python 2.7 regression2025-09-29
Apple
CVE-2023-27043: macOS Sequoia 15.42025-03-31
Ubuntu
Python regressions2024-11-22
Ubuntu
Python vulnerabilities2024-11-19
Palo Alto
PAN-SA-2024-0014 Informational Bulletin: Impact of OSS CVEs in Cortex XDR Agent2024-11-07
CVE-2023-27043 — Improper Input Validation in Python | cvebase