Description
Stack-based buffer overflow in the getaddrinfo function in sysdeps/posix/getaddrinfo.c in GNU C Library (aka glibc or libc6) 2.18 and earlier allows remote attackers to cause a denial of service (crash) via a (1) hostname or (2) IP address that triggers a large number of AF_INET6 address results. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-1914.
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.18-1 | — |
| Debian 13 | glibc | 2.18-1 | — |
| Debian 12 | glibc | 2.18-1 | — |
| Debian 6.0 | eglibc | 2.11.3-4+deb6u5 | DLA-165-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | eglibc | 2.19-0ubuntu6.1 | USN-2306-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | nscd +7 | 2.12-1.149.el6 | RHSA-2014:1391 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP2 | glibc | 2.11.3-17.45.66.1 | SUSE-SU-2016:0470-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | glibc | 2.24-2.3 | openSUSE-SU-2024:10154-1 |
Advisories 5
- RHSA-2014:1391 Red Hat Security Advisory: glibc security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- USN-2306-1 eglibc vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-165-1 eglibc - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2016:0470-1 Security update for glibc SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10154-1 glibc-2.24-2.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- [libc-alpha] 20131022 [PATCH][BZ #16072] Fix stack overflow due to large AF_INET6 requests mailing-list
- SUSE-SU-2016:0470 vendor-advisory
- MDVSA-2013:284 vendor-advisory
- GLSA-201503-04 vendor-advisory
- MDVSA-2013:283 vendor-advisory
- https://sourceware.org/bugzilla/show_bug.cgi?id=16072