CVE-2026-116566: Python2.7 · socket.getaddrinfo() previously accepted null bytes within host and port parameters which
Affects python2.7Source GCVE Database
Not known to be exploited · CVSS 5.3 Medium.
Data as of 5 Nov 2026, 12:35 UTC
Thin evidence
One scorer or none| CNA (PSF) | CVSS 4.0 | 5.3 |
|---|
CVSS:4.0/AV:A/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 29 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10python3.14pkg:deb/ubuntu/python3.14?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10python3.15pkg:deb/ubuntu/python3.15?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSpython3.14pkg:deb/ubuntu/python3.14?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSpython3.12pkg:deb/ubuntu/python3.12?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSpython3.10pkg:deb/ubuntu/python3.10?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSpython2.7pkg:deb/ubuntu/python2.7?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
socket.getaddrinfo() previously accepted null bytes within *host* and *port* parameters which can cause the values to be silently truncated.
References
- ubuntu.com/security/CVE-2026-116566 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-116566 (opens in a new tab)
- github.com/python/cpython/issues/160898 (opens in a new tab)
- github.com/python/cpython/pull/160899 (opens in a new tab)
- github.com/python/cpython/commit/131a3a66c5f400b588f9fd2732a5ed4e89623ee3 (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/HCHE62VYTPYI6WOPJQDWUBR4CINBPSM7/ (opens in a new tab)
- openwall.com/lists/oss-security/2026/10/29/4 (opens in a new tab)