medium5.3
CVE-2026-116566
socket.getaddrinfo() previously accepted null bytes within *host* and *port* parameters which can cause the values to be silently truncated.
Impact
socket.getaddrinfo() previously accepted null bytes within *host* and *port* parameters which can cause the values to be silently truncated.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Python Software Foundation | CPython | before 3.16.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/python/cpython/commit/131a3a66c5f400b588f9fd2732a5ed4e89623ee3
- https://github.com/python/cpython/issues/160898
- https://github.com/python/cpython/pull/160899
- https://mail.python.org/archives/list/security-announce@python.org/thread/HCHE62VYTPYI6WOPJQDWUBR4CINBPSM7/
- http://www.openwall.com/lists/oss-security/2026/10/29/4