CVE-2026-116566

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

Medium published · updated

5.3
CVSS score out of 10 · NVD (python.org)

Description

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

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
cpython python software foundation 0 → <3.16.03.16.0 CVE.org

References