CVE-2026-116566

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

State
Published
Severity
5.3 Medium
Published
Oct 29, 2026
Updated
Oct 29, 2026
Reserved
Oct 26, 2026

Read the record on cve.org

Description

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

Scores

CVSSScoreVectorSource
4.05.3 MediumCVSS:4.0/AV:A/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NPSF

Weaknesses

Affected Products

ProductVersions
CPythonPython Software Foundation
  • before 3.16.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.