CVE-2023-27043
The email module of Python through 3.11.3 incorrectly parses e-mail addresses that contain a special character. The wrong portion of an…
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. CISA's SSVC rates its exploitation: a proof of concept is public.
Timeline
ID reserved
By mitre
- 50 days later
· 50 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVDNVD · Modified | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
- EPSS (exploitation in 30 days)
- 2.5% · top 15% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Weakness
Affected products
n/a
- affected n/a
References (46)
- https://github.com/python/cpython/issues/102988 (opens in a new tab)x_transferred
- http://python.org (opens in a new tab)x_transferred
- https://python-security.readthedocs.io/vuln/email-parseaddr-realname.html (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20230601-0003/ (opens in a new tab)x_transferred
- FEDORA-2023-88fbb78cd3 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-555b4d49b1 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-2f86a608b2 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-1bb427c240 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-87771f4249 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-c61a7d5227 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-d577604e6a (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-7d223ee343 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-c0bf8c0c4e (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-f96ff39b59 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-8085628fff (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-d01f8a69b4 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-b245e992ea (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-0583eedde7 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2024-06ff0a6def (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2024-3ab90a5b01 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-0583eedde7 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2024-8df4ac93d7 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2024-94e0390e4e (opens in a new tab)vendor-advisoryx_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4ZAEFSFZDNBNJPNOUTLG5COISGQDLMGV/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/75DTHSTNOFFNAWHXKMDXS7EJWC6W2FUC/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PHVGRKQAGANCSGFI3QMYOCIMS4IFOZA5/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PU6Y2S5CBN5BWCBDAJFTGIBZLK3S2G3J/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/QDRDDPDN3VFIYXJIYEABY6USX5EU66AG/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/RDDC2VOX7OQC6OHMYTVD4HLFZIV6PYBC/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/SINP4OVYNB2AGDYI2GS37EMW3H3F7XPZ/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/VZXC32CJ7TWDPJO6GY2XIQRO7JZX5FLP/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XWMBD4LNHWEXRI6YVFWJMTJQUL5WOFTS/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/YQVY5C5REXWJIORJIL2FIL3ALOEJEF72/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ARI7VDSNTQVXRQFM6IK5GSSLEIYV4VZH/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BQAKLUJMHFGVBRDPEY57BJGNCE5UUPHW/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/HXYVPEZUA3465AEFX5JVFVP7KIFZMF3N/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/N6M5I6OQHJABNEYY555HUMMKX3Y4P25Z/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/NEUNZSZ3CVSM2QWVYH3N2XGOCDWNYUA3/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ORLXS5YTKN65E2Q2NWKXMFS5FWQHRNZW/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/P2MAICLFDDO3QVNHTZ2OCERZQ34R2PIC/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/P2W2BZQIHMCKRI5FNBJERFYMS5PK6TAH/ (opens in a new tab)
- http://seclists.org/fulldisclosure/2025/Apr/8 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2024/11/msg00024.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-202008.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-577017.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-27043)Record last updated .