Description
In the GNU C Library (aka glibc or libc6) through 2.28, attempting to resolve a crafted hostname via getaddrinfo() leads to the allocation of a socket descriptor that is not closed. This is related to the if_nametoindex() function.
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 | glibc | 2.28-1 | — |
| Debian 13 | glibc | 2.28-1 | — |
| Debian 12 | glibc | 2.28-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | glibc | 2.27-3ubuntu1.2 | USN-4416-1 |
| Ubuntu 16.04 LTS | glibc | 2.23-0ubuntu11.2 | USN-4416-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | glibc | 2.34-1.2 | openSUSE-SU-2024:10792-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | nscd +199 | 2.26-32.amzn2.0.1 | ALAS2-2019-1140 |
Advisories 5
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- USN-4416-1 glibc vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- openSUSE-SU-2024:10792-1 glibc-2.34-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- ALAS2-2019-1140 Moderate: glibc security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jan 9, 2019
References
- https://sourceware.org/git/?p=glibc.git%3Ba=blob_plain%3Bf=NEWS%3Bhb=HEAD
- FEDORA-2018-f6b7df660d vendor-advisory
- 106037 vdb-entry
- https://sourceware.org/bugzilla/show_bug.cgi?id=23927
- FEDORA-2018-060302dc83 vendor-advisory
- GLSA-201903-09 vendor-advisory
- 1042174 vdb-entry
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Ba=commitdiff%3Bh=d527c860f5a3f0ed687bd03f0cb464612dc23408
- https://security.netapp.com/advisory/ntap-20190321-0003/
- GLSA-201908-06 vendor-advisory
- USN-4416-1 vendor-advisory