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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"python:python": [
"<= 2.7.18",
">= 3.0, < 3.8.20",
">= 3.10.0, < 3.10.15",
">= 3.11.0, < 3.11.10",
">= 3.12.0, < 3.12.6",
">= 3.9.0, < 3.9.20"
]
},
"database_specific": {
"status": "Modified"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-27043",
"id": "CVE-2023-27043",
"imported": "2026-11-21T03:10:13.800Z",
"modified": "2026-06-17T05:44:13.020Z",
"published": "2023-04-19T00:15:07.973Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2023-27043"
}
]
}