CVE-2023-27043
Published Apr 18, 2023 · Updated Oct 23, 2026 · Also known as BIT-python-2023-27043, BIT-python-min-2023-27043, PSF-2023-2
Original summary
Normalized public record · Updated Oct 23, 2026
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.
Publisher and source text is retained separately from QFinch interpretation.
QFinch assessment
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.
Evidence: public source recordsAffected products
| Affected package, product or range | Fix status |
|---|---|
| Consult the referenced vendor advisory for affected versions. | Consult source advisory |
Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.
Remediation
Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.
- Confirm the affected product and reachable code path exist in your environment.
- Apply the vendor-supported patch or mitigation from the primary advisory.
- Rescan the exact deployed revision and retain verification evidence.
Evidence coverage
- SSVC priority
- LOW
- Confidence
- Not available
- Aliases
- BIT-python-2023-27043, BIT-python-min-2023-27043, PSF-2023-2, BIT-libpython-2023-27043
Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.
Sources and record history
- GitHub advisory ↗
- python.org ↗
- python-security.readthedocs.io ↗
- security.netapp.com ↗
- FEDORA-2023-88fbb78cd3 ↗
- FEDORA-2023-555b4d49b1 ↗
- FEDORA-2023-2f86a608b2 ↗
- FEDORA-2023-1bb427c240 ↗
- FEDORA-2023-87771f4249 ↗
- FEDORA-2023-c61a7d5227 ↗
- FEDORA-2023-d577604e6a ↗
- FEDORA-2023-7d223ee343 ↗
Record history
Published Apr 18, 2023 · Last refreshed Oct 23, 2026