CVE-2015-7547
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…
Check your servers for CVE-2015-7547
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2015-7547 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 92.3%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.8% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2015-7547 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2015-7547RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2015-7547Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2015-7547
trivy image --scanners vuln IMAGE | grep CVE-2015-7547
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- HPSBGN03582 marc.info · vendor advisory
- SUSE-SU-2016:0471 lists.opensuse.org · vendor advisory
- RHSA-2016:0175 rhn.redhat.com · vendor advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05140858 h20566.www2.hpe.com
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05125672 h20566.www2.hpe.com
- https://blogs.sophos.com/2016/02/29/utm-up2date-9-319-released/ blogs.sophos.com
- https://sourceware.org/bugzilla/show_bug.cgi?id=18665 sourceware.org
- HPSBGN03551 marc.info · vendor advisory
- RHSA-2016:0225 rhn.redhat.com · vendor advisory
- FEDORA-2016-0f9e9a34ce lists.fedoraproject.org · vendor advisory
- https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA40161 kb.pulsesecure.net
- DSA-3481 debian.org · vendor advisory
46 more
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html oracle.com
- openSUSE-SU-2016:0510 lists.opensuse.org · vendor advisory
- USN-2900-1 ubuntu.com · vendor advisory
- http://www.fortiguard.com/advisory/glibc-getaddrinfo-stack-overflow fortiguard.com
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05376917 h20566.www2.hpe.com
- RHSA-2016:0277 rhn.redhat.com · vendor advisory
- openSUSE-SU-2016:0511 lists.opensuse.org · vendor advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html oracle.com
- https://security.netapp.com/advisory/ntap-20160217-0002/ security.netapp.com
- SUSE-SU-2016:0470 lists.opensuse.org · vendor advisory
- https://blogs.sophos.com/2016/02/24/utm-up2date-9-355-released/ blogs.sophos.com
- https://support.lenovo.com/us/en/product_security/len_5450 support.lenovo.com
- http://www.vmware.com/security/advisories/VMSA-2016-0002.html vmware.com
- HPSBGN03549 marc.info · vendor advisory
- http://fortiguard.com/advisory/glibc-getaddrinfo-stack-overflow fortiguard.com
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158380 h20566.www2.hpe.com
- GLSA-201602-02 security.gentoo.org · vendor advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05128937 h20566.www2.hpe.com
- HPSBGN03547 marc.info · vendor advisory
- SUSE-SU-2016:0472 lists.opensuse.org · vendor advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05098877 h20566.www2.hpe.com
- https://bto.bluecoat.com/security-advisory/sa114 bto.bluecoat.com
- SUSE-SU-2016:0473 lists.opensuse.org · vendor advisory
- https://help.ecostruxureit.com/display/public/UADCO8x/StruxureWare+Data+Center+Operation+Software+Vulnerability+Fixes help.ecostruxureit.com
- https://bugzilla.redhat.com/show_bug.cgi?id=1293532 bugzilla.redhat.com
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05008367 h20566.www2.hpe.com
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722 h20566.www2.hpe.com
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05176716 h20566.www2.hpe.com
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05053211 h20566.www2.hpe.com
- http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html oracle.com
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docId=emr_na-c05028479 h20566.www2.hpe.com
- https://support.f5.com/kb/en-us/solutions/public/k/47/sol47098834.html support.f5.com
- RHSA-2016:0176 rhn.redhat.com · vendor advisory
- FEDORA-2016-0480defc94 lists.fedoraproject.org · vendor advisory
- openSUSE-SU-2016:0512 lists.opensuse.org · vendor advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04989404 h20566.www2.hpe.com
- DSA-3480 debian.org · vendor advisory
- http://support.citrix.com/article/CTX206991 support.citrix.com
- http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20160304-01-glibc-en huawei.com
- VU#457759 kb.cert.org · third party advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05130958 h20566.www2.hpe.com
- https://access.redhat.com/articles/2161461 access.redhat.com
- https://kc.mcafee.com/corporate/index?page=content&id=SB10150 kc.mcafee.com
- HPSBGN03442 marc.info · vendor advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05212266 h20566.www2.hpe.com
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05073516 h20566.www2.hpe.com
Exploits and proof of concept
Other references
- 1035020 securitytracker.com · vdb entry
- https://googleonlinesecurity.blogspot.com/2016/02/cve-2015-7547-glibc-getaddrinfo-stack.html googleonlinesecurity.blogspot.com
- https://www.tenable.com/security/research/tra-2017-08 tenable.com
- 83265 securityfocus.com · vdb entry
- [libc-alpha] 20160216 [PATCH] CVE-2015-7547 --- glibc getaddrinfo() stack-based buffer overflow sourceware.org · mailing list
- http://packetstormsecurity.com/files/135802/glibc-getaddrinfo-Stack-Based-Buffer-Overflow.html packetstormsecurity.com
- https://ics-cert.us-cert.gov/advisories/ICSA-16-103-01 ics-cert.us-cert.gov
- 20190904 SEC Consult SA-20190904-0 :: Multiple vulnerabilities in Cisco router series RV34X, RV26X and RV16X seclists.org · mailing list
- 20190904 SEC Consult SA-20190904-0 :: Multiple vulnerabilities in Cisco router series RV34X, RV26X and RV16X seclists.org · mailing list
- http://packetstormsecurity.com/files/154361/Cisco-Device-Hardcoded-Credentials-GNU-glibc-BusyBox.html packetstormsecurity.com
- 20210901 SEC Consult SA-20210901-0 :: Multiple vulnerabilities in MOXA devices seclists.org · mailing list
- http://packetstormsecurity.com/files/164014/Moxa-Command-Injection-Cross-Site-Scripting-Vulnerable-Software.html packetstormsecurity.com
- https://www.arista.com/en/support/advisories-notices/security-advisories/1255-security-advisory-17 arista.com
- 20220617 SEC Consult SA-20220615-0 :: Hardcoded Backdoor User and Outdated Software Components in Nexans FTTO… seclists.org · mailing list
- http://packetstormsecurity.com/files/167552/Nexans-FTTO-GigaSwitch-Outdated-Components-Hardcoded-Backdoor.html packetstormsecurity.com
Source: the record CVE-2015-7547 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse