CVE-2026-116566
JSON

5.3medium

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

Severity
5.3medium CVSS:4.0 by PSF
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PSF
Also known as
PSF-2026-48BIT-LIBPYTHON-2026-116566BIT-PYTHON-2026-116566BIT-PYTHON-MIN-2026-116566

Description

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

Affected

Product or packageVersionsReported by
Python Software Foundation CPythonbefore 3.16.0CVE List
https://github.com/python/cpythonbefore 131a3a66c5f400b588f9fd2732a5ed4e89623ee3Python Software Foundation
libpython (Bitnami)before 3.16.0Bitnami Vulnerability Database
python (Bitnami)before 3.16.0Bitnami Vulnerability Database
python-min (Bitnami)before 3.16.0Bitnami Vulnerability Database

All scores

PSF5.3medium CVSS:4.0CVSS:4.0/AV:A/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-158

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-116566 changed 2026-10-30CVE Terms of Use
Python Software FoundationPSF-2026-48 changed 2026-11-17CC-BY-4.0
NVDCVE-2026-116566 changed 2026-10-30Public domain
Bitnami Vulnerability DatabaseBIT-LIBPYTHON-2026-116566 changed 2026-11-17Apache-2.0
Bitnami Vulnerability DatabaseBIT-PYTHON-2026-116566 changed 2026-11-17Apache-2.0
Bitnami Vulnerability DatabaseBIT-PYTHON-MIN-2026-116566 changed 2026-11-17Apache-2.0