CVE-2026-116566

published 29 Oct 2026 · updated 31 Oct 2026

socket.getaddrinfo() accepts embedded null bytes in host and port

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.16.0.

socket.getaddrinfo() previously accepted null bytes within *host* and *port* parameters which can cause the values to be silently truncated.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Python Software Foundation<3.16.03.16.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-116566 severity on Zeptric[![CVE-2026-116566](https://zeptric.io/badge/cve/CVE-2026-116566.svg)](https://zeptric.io/cve/CVE-2026-116566)