CVE-2026-116566 MEDIUM

CVE-2026-116566: socket.getaddrinfo() accepts embedded null bytes in host and port

Vendor Python Software Foundation
Product CPython
Weakness CWE-158
Published October 29, 2026
Last update October 29, 2026

CVSS base score

5.3/10
Attack vector Adjacent
Attack complexity Low
Privileges required High
User interaction —
Confidentiality —
Integrity —

CVSS vector

CVSS:4.0/AV:A/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

What the vulnerability does

01Description

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

Key dates

02Disclosure timeline

October 29, 2026 CVE published
October 29, 2026 Record updated