{"id":"CVE-2026-116566","state":"PUBLISHED","title":"socket.getaddrinfo() accepts embedded null bytes in host and port","description":"socket.getaddrinfo() previously accepted null bytes within *host* and *port* parameters which can cause the values to be silently truncated.","publishedAt":"2026-10-29T17:45:47.583Z","updatedAt":"2026-10-30T17:18:15.574Z","severity":{"score":5.3,"label":"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","source":"PSF"},"assigner":"PSF","products":["Python Software Foundation CPython"],"affected":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.16.0","versionType":"python"}],"modules":["socket"],"repo":"https://github.com/python/cpython"}],"references":["https://github.com/python/cpython/pull/160899","https://github.com/python/cpython/issues/160898","https://mail.python.org/archives/list/security-announce@python.org/thread/HCHE62VYTPYI6WOPJQDWUBR4CINBPSM7/","https://github.com/python/cpython/commit/131a3a66c5f400b588f9fd2732a5ed4e89623ee3","http://www.openwall.com/lists/oss-security/2026/10/29/4"],"weaknesses":["CWE-158"],"ingestedAt":"2026-10-30T17:24:06.930Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/116xxx/CVE-2026-116566.json","commit":"e8328137ecf4069b095dab9de0403e0e5a96b5ec","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-116566","state":"PUBLISHED","datePublished":"2026-10-29T17:45:47.583Z","dateUpdated":"2026-10-30T17:18:15.574Z","assignerShortName":"PSF","assignerOrgId":"28c92f92-d60d-412d-b760-e73465c3df22","dateReserved":"2026-10-26T15:00:04.249Z"},"containers":{"cna":{"title":"socket.getaddrinfo() accepts embedded null bytes in host and port","descriptions":[{"lang":"en","value":"socket.getaddrinfo() previously accepted null bytes within *host* and *port* parameters which can cause the values to be silently truncated."}],"affected":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.16.0","versionType":"python"}],"modules":["socket"],"repo":"https://github.com/python/cpython"}],"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"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"ADJACENT","baseScore":5.3,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"HIGH","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-158","description":"CWE-158","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"PSF","orgId":"28c92f92-d60d-412d-b760-e73465c3df22","dateUpdated":"2026-10-30T00:31:35.068Z"},"credits":[{"lang":"en","type":"reporter","value":"Venukamatchi (https://github.com/Venukamatchi)"},{"lang":"en","type":"coordinator","value":"Seth Larson (https://github.com/sethmlarson)"},{"lang":"en","type":"remediation reviewer","value":"Gregory P. Smith (https://github.com/gpshead)"},{"lang":"en","type":"remediation reviewer","value":"Stan Ulbrych (https://github.com/StanFromIreland)"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/10/29/4"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-10-29T20:06:19.347Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-30T17:18:00.445284Z","id":"CVE-2026-116566","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-30T17:18:15.574Z"}}]}}}