Description
Buffer overflow in the getaddrinfo function in Python 2.2 before 2.2.2, when IPv6 support is disabled, allows remote attackers to execute arbitrary code via an IPv6 address that is obtained using DNS.
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 3.0 | python2.2 | 2.2.1-4.6 | DSA-458-3 |
Advisories 1
- DSA-458-3 python2.2 - buffer overflow Debian Security (DSA / DLA) · Mar 9, 2026
References
- 9836 vdb-entry
- MDKSA-2004:019 vendor-advisory
- 4172 vdb-entry
- GLSA-200409-03 vendor-advisory
- DSA-458 vendor-advisory
- python-getaddrinfo-bo(15409) vdb-entry