CVE-2026-116566EUVD-2026-113279GHSA-Q27H-3599-9X7JPSF-2026-48
socket.getaddrinfo() accepts embedded null bytes in host and port
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 3.16.0
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
The Python standard library's socket module, specifically its socket.getaddrinfo() function, is affected. Because it accepts host and port values containing embedded null bytes, those values can be silently truncated, which may cause name resolution to connect to a different host or port than the one the caller intended.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
socket.getaddrinfo() previously accepted null bytes within host and port parameters which can cause the values to be silently truncated.
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Python Software Foundation CPython
fixed in 3.16.0