Description
Multiple stack-based buffer overflows in the (1) send_dg and (2) send_vc functions in the libresolv library in the GNU C Library (aka glibc or libc6) before 2.23 allow remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted DNS response that triggers a call to the getaddrinfo function with the AF_UNSPEC or AF_INET6 address family, related to performing "dual A/AAAA DNS queries" and the libnss_dns.so.2 NSS module.
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.21-8 | — |
| Debian 13 | glibc | 2.21-8 | — |
| Debian 12 | glibc | 2.21-8 | — |
| Debian 8 | glibc | 2.19-18+deb8u3 | DSA-3481-1 |
| Debian 7 | eglibc | 2.13-38+deb7u10 | DSA-3480-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 6.0 | eglibc | 2.11.3-4+deb6u11 | DLA-416-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | eglibc | 2.19-0ubuntu6.7 | USN-2900-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | nscd +7 | 2.17-106.el7_2.4 | RHSA-2016:0176 |
| RHEL 7 | rhev-hypervisor7 | 7.2-20160105.2.el7ev | RHSA-2016:0277 |
| RHEL 6 | nscd +7 | 2.12-1.166.el6_7.7 | RHSA-2016:0175 |
| RHEL 6 | rhev-hypervisor6 | 6.7-20160104.2.el6ev | RHSA-2016:0277 |
| RHEL 6 | rhev-hypervisor7 | 7.2-20160105.2.el6ev | RHSA-2016:0277 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhel Mission Critical 6 | nscd +7 | 2.12-1.47.el6_2.17 | RHSA-2016:0225 |
| RHEL 7.1 EUS | nscd +7 | 2.17-79.ael7b_1.4 | RHSA-2016:0225 |
| RHEL 6.6 EUS | nscd +7 | 2.12-1.149.el6_6.11 | RHSA-2016:0225 |
| RHEL 6.5 AUS | nscd +7 | 2.12-1.132.el6_5.7 | RHSA-2016:0225 |
| RHEL 6.4 AUS | nscd +7 | 2.12-1.107.el6_4.9 | RHSA-2016:0225 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | glibc | 2.19-35.1 | SUSE-SU-2016:0471-1 |
| SLES 12 | certification-sles-eal4 | 12.0-0.16.1 | SUSE-RU-2016:0496-1 |
| SLES 12 | glibc | 2.19-22.13.1 | SUSE-SU-2016:0473-1 |
| SLES 11 SP4 | glibc | 2.11.3-17.95.2 | SUSE-SU-2016:0472-1 |
| SLES 11 SP3 | glibc | 2.11.3-17.95.2 | SUSE-SU-2016:0472-1 |
| SLES 11 SP2 | glibc | 2.11.3-17.45.66.1 | SUSE-SU-2016:0470-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP1 | glibc | 2.19-35.1 | SUSE-SU-2016:0471-1 |
| SLES for SAP 12 | certification-sles-eal4 | 12.0-0.16.1 | SUSE-RU-2016:0496-1 |
| SLES for SAP 12 | glibc | 2.19-22.13.1 | SUSE-SU-2016:0473-1 |
| SLES for SAP 11 SP4 | glibc | 2.11.3-17.95.2 | SUSE-SU-2016:0472-1 |
| SLES for SAP 11 SP3 | glibc | 2.11.3-17.95.2 | SUSE-SU-2016:0472-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | glibc | 2.24-2.3 | openSUSE-SU-2024:10154-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | nscd +6 | 2.17-106.0.1.el7_2.4 | ELSA-2016-0176 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 2
- glibc - 'getaddrinfo' Remote Stack Buffer Overflow EDB-40339 · remote · Sep 6, 2016
- glibc - 'getaddrinfo' Stack Buffer Overflow (PoC) EDB-39454 · dos · Feb 16, 2016 · verified
GitHub 12 repositories · most starred shown
-
fjserna/CVE-2015-7547 ★ 543 · Feb 10, 2016
Proof of concept for CVE-2015-7547
-
eSentire/cve-2015-7547-public ★ 10 · Apr 5, 2016
PoC attack server for CVE-2015-7547 buffer overflow vulnerability in glibc DNS stub resolver (public version)
-
jgajek/cve-2015-7547 ★ 8 · Mar 10, 2016
PoC exploit server for CVE-2015-7547
-
cakuzo/CVE-2015-7547 ★ 5 · Feb 17, 2016
test script for CVE-2015-7547
-
t0r0t0r0/CVE-2015-7547 ★ 1 · Feb 17, 2016
-
Stick-U235/CVE-2015-7547-Research ★ 0 · Oct 24, 2019
CVE-2015-7547 initial research.
-
miracle03/CVE-2015-7547-master ★ 0 · Jun 4, 2019
loudong
-
bluebluelan/CVE-2015-7547-proj-master ★ 0 · Nov 10, 2016
-
babykillerblack/CVE-2015-7547 ★ 0 · Feb 21, 2016
glibc getaddrinfo stack-based buffer overflow
-
rexifiles/rex-sec-glibc ★ 0 · Feb 18, 2016
glibc check and update in light of CVE-2015-7547
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 17
- RHSA-2016:0277 Red Hat Security Advisory: rhev-hypervisor security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2016:0225 Red Hat Security Advisory: glibc security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2016:0176 Red Hat Security Advisory: glibc security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2016:0175 Red Hat Security Advisory: glibc security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-2900-1 eglibc, glibc vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-416-1 eglibc - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3480-1 eglibc - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3481-1 glibc - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2016:0472-1 Security update for glibc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0473-1 Security update for glibc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0471-1 Security update for glibc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0470-1 Security update for glibc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-RU-2016:0496-1 Recommended update for certification-sles-eal4 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
- ICSA-16-103-01C Siemens Industrial Products glibc Library Vulnerability (Update C) CISA ICS & IT advisories · Jun 5, 2025
- WID-SEC-2023-0973 GNU libc: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 16, 2023
- ELSA-2016-0176 Critical: glibc security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Feb 16, 2016
References
- 1035020 vdb-entry
- HPSBGN03582 vendor-advisory
- SUSE-SU-2016:0471 vendor-advisory
- RHSA-2016:0175 vendor-advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05140858
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05125672
- https://blogs.sophos.com/2016/02/29/utm-up2date-9-319-released/
- https://sourceware.org/bugzilla/show_bug.cgi?id=18665
- HPSBGN03551 vendor-advisory
- RHSA-2016:0225 vendor-advisory
- FEDORA-2016-0f9e9a34ce vendor-advisory
- https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA40161
- DSA-3481 vendor-advisory
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- openSUSE-SU-2016:0510 vendor-advisory
- USN-2900-1 vendor-advisory
- http://www.fortiguard.com/advisory/glibc-getaddrinfo-stack-overflow
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05376917
- RHSA-2016:0277 vendor-advisory
- openSUSE-SU-2016:0511 vendor-advisory
- https://googleonlinesecurity.blogspot.com/2016/02/cve-2015-7547-glibc-getaddrinfo-stack.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- https://security.netapp.com/advisory/ntap-20160217-0002/
- SUSE-SU-2016:0470 vendor-advisory
- https://blogs.sophos.com/2016/02/24/utm-up2date-9-355-released/
- https://support.lenovo.com/us/en/product_security/len_5450
- https://www.tenable.com/security/research/tra-2017-08
- http://www.vmware.com/security/advisories/VMSA-2016-0002.html
- HPSBGN03549 vendor-advisory
- 83265 vdb-entry
- http://fortiguard.com/advisory/glibc-getaddrinfo-stack-overflow
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158380
- GLSA-201602-02 vendor-advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05128937
- HPSBGN03547 vendor-advisory
- SUSE-SU-2016:0472 vendor-advisory
- 40339 exploit
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05098877
- https://bto.bluecoat.com/security-advisory/sa114
- [libc-alpha] 20160216 [PATCH] CVE-2015-7547 --- glibc getaddrinfo() stack-based buffer overflow mailing-list
- SUSE-SU-2016:0473 vendor-advisory
- https://help.ecostruxureit.com/display/public/UADCO8x/StruxureWare+Data+Center+Operation+Software+Vulnerability+Fixes
- http://packetstormsecurity.com/files/135802/glibc-getaddrinfo-Stack-Based-Buffer-Overflow.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1293532
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05008367
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05176716
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05053211
- http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docId=emr_na-c05028479
- https://support.f5.com/kb/en-us/solutions/public/k/47/sol47098834.html
- RHSA-2016:0176 vendor-advisory
- FEDORA-2016-0480defc94 vendor-advisory
- openSUSE-SU-2016:0512 vendor-advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04989404
- DSA-3480 vendor-advisory
- https://ics-cert.us-cert.gov/advisories/ICSA-16-103-01
- 39454 exploit
- http://support.citrix.com/article/CTX206991
- http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20160304-01-glibc-en