{"id":"CVE-2026-116566","published":"2026-10-29T17:45:47Z","modified":"2026-10-30T17:18:15Z","title":"socket.getaddrinfo() accepts embedded null bytes in host and port","vendor":"Python Software Foundation","product":"CPython","tier":"tail","description":{"text":"socket.getaddrinfo() previously accepted null bytes within *host* and *port* parameters which can cause the values to be silently truncated.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00258,"percentile":0.17644,"provenance":"source"},"cwes":[{"id":"CWE-158","name":"Improper Neutralization of Null Byte or NUL Character"}],"references":[{"url":"https://github.com/python/cpython/pull/160899","tags":["patch"]},{"url":"https://github.com/python/cpython/issues/160898","tags":["issue-tracking"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/HCHE62VYTPYI6WOPJQDWUBR4CINBPSM7/","tags":["vendor-advisory"]},{"url":"https://github.com/python/cpython/commit/131a3a66c5f400b588f9fd2732a5ed4e89623ee3","tags":["patch"]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/29/4","tags":[]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":3.53},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"python-software-foundation","affectedVersions":[{"vendor":"Python Software Foundation","product":"CPython","versions":["< 3.16.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-30T17:18:00.445284Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-113279","exploited":false,"provenance":"source"}}