Medium
5.3
socket.getaddrinfo() accepts embedded null bytes in host and port
CVE-2026-116566
First seen on SecPulse
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Python Software FoundationCPython |
< 3.16.0→ 3.16.0 |
3.16.0 |
| Bitnamilibpython |
< 3.16.0→ 3.16.0 |
3.16.0 |
| Bitnamipython-min |
< 3.16.0→ 3.16.0 |
3.16.0 |
| Bitnamipython |
< 3.16.0→ 3.16.0 |
3.16.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-116566 python3.15, python3.14, python3.13 +1 more No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-116566 python3.15, python3.14, python3.12 +9 more No fixed version in this record
Original description The description as published by the source.
socket.getaddrinfo() previously accepted null bytes within host and port parameters which can cause the values to be silently truncated.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory mail.python.org
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- report github.com
- web mail.python.org
- web github.com
- web openwall.com