Description
socket.getaddrinfo() previously accepted null bytes within *host* and *port* parameters which can cause the values to be silently truncated.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Python Software Foundation | CPython | < 3.16.0 | 3.16.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python3.14 +1 | No fix yet | — |
| Debian 13 | python3.13 | No fix yet | — |
| Debian 12 | python3.11 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | python3.14 +1 | No fix yet | — |
| Ubuntu 26.04 LTS | python3.14 | No fix yet | — |
| Ubuntu 24.04 LTS | python3.12 | No fix yet | — |
| Ubuntu 22.04 LTS | python3.10 | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | python2.7 +1 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | python2.7 +2 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | python2.7 +3 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | python2.7 +1 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | python2.7 +2 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | python3 +7 | 3.6.8-80.el8_10 | RHSA-2026:99691 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | python3 +15 | 3.14.10-1.2.hum1 | RHSA-2026:93609 |
| Red Hat Hardened Images 1 | python3.11 +6 | 3.11.18-1.2.hum1 | RHSA-2026:94903 |
| Red Hat Hardened Images 1 | python3.12 +6 | 3.12.16-1.2.hum1 | RHSA-2026:93615 |
| Red Hat Hardened Images 1 | python3.13 +8 | 3.13.18-1.2.hum1 | RHSA-2026:93613 |
| Red Hat Hardened Images 1 | python3.15 +13 | 3.15.2-1.2.hum1 | RHSA-2026:93607 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | python3-idle +6 | 3.6.8-80.el8_10.rocky.0 | RLSA-2026:99691 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | python3 +1 | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | python3-idle +6 | 3.6.8-80.0.1.el8_10 | ELSA-2026-99691 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | python-3.10 +3 | No fix yet | — |
| Wolfi rolling | python-3.14 | 3.14.10_git20261111-r0 | — |
| Wolfi rolling | python-3.15 | 3.15.2_git20261113-r0 | — |
Advisories 8
- RLSA-2026:99691 Moderate: python3 security update Rocky Linux Security Advisories · Nov 14, 2026
- RHSA-2026:99691 Red Hat Security Advisory: python3 security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:94903 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:93615 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:93613 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:93609 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:93607 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- ELSA-2026-99691 Moderate: python3 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 13, 2026
References
- https://github.com/python/cpython/pull/160899 patch
- https://github.com/python/cpython/issues/160898 issue-tracking
- https://mail.python.org/archives/list/security-announce@python.org/thread/HCHE62VYTPYI6WOPJQDWUBR4CINBPSM7/ vendor-advisory
- https://github.com/python/cpython/commit/131a3a66c5f400b588f9fd2732a5ed4e89623ee3 patch