← Vulnerability feed

Vulnerability record · CVE-2015-7547 · published 18 February 2016

CVE-2015-7547: glibc libresolv getaddrinfo stack buffer overflow

Debian · Debian Linux

Multiple stack-based buffer overflows exist in the send_dg and send_vc functions of the libresolv library in GNU C Library (glibc) before 2.23. A crafted DNS response can trigger the overflow when getaddrinfo is called with the AF_UNSPEC or AF_INET6 address family, related to dual A/AAAA DNS queries and the libnss_dns.so.2 NSS module. This is a widely deployed core library, so any application performing DNS resolution through getaddrinfo is potentially exposed.

8.1 CVSS 3.0 High EPSS 91% · top 0.2% CWE-119 · Memory buffer overflow
8.1CVSS 3.0 base score, v2 6.8
91%EPSS exploitation probability, 30 days
NoNot in CISA KEV
30Affected product versions listed by NVD
150References
17 Jun 2026Last modified by NVD

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.

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityAlthough not in CISA KEV, the flaw is remotely reachable without authentication in a ubiquitous library and EPSS shows a very high exploitation probability.

What it is

Multiple stack-based buffer overflows exist in the send_dg and send_vc functions of the libresolv library in GNU C Library (glibc) before 2.23. A crafted DNS response can trigger the overflow when getaddrinfo is called with the AF_UNSPEC or AF_INET6 address family, related to dual A/AAAA DNS queries and the libnss_dns.so.2 NSS module. This is a widely deployed core library, so any application performing DNS resolution through getaddrinfo is potentially exposed.

Impact

A remote attacker can cause a denial of service (crash) or possibly execute arbitrary code in the context of the vulnerable process. Because glibc is used by a broad range of applications and services, successful exploitation could lead to full compromise of the affected host or service.

Attack surface

The flaw is reached over the network via a crafted DNS response processed by a vulnerable application calling getaddrinfo with AF_UNSPEC or AF_INET6. No authentication or user interaction is required per the CVSS vector (AV:N/AC:H/PR:N/UI:N).

Exploitation

CVE-2015-7547 is not listed in CISA KEV, but EPSS indicates a very high probability of exploitation activity (0.90987, 99.8th percentile). Reference tags are mostly Third Party Advisory with no explicit exploit tag, so public exploit availability is not confirmed by the record.

What to do

  • Patch glibc to version 2.23 or later, or apply the vendor-supplied security update for your distribution (Red Hat, Debian, Ubuntu, SUSE, Oracle, etc.).
  • If immediate patching is not possible, restrict or monitor outbound DNS traffic and avoid untrusted DNS resolvers where feasible.
  • Apply vendor mitigations such as disabling or limiting the use of getaddrinfo with AF_UNSPEC/AF_INET6 in affected applications where practical.
  • Inventory systems and containers using glibc before 2.23, including appliances and embedded products from listed vendors, and prioritize internet-facing and multi-tenant systems.
  • Reboot or restart affected services after patching to ensure the updated library is loaded.

Detection

  • Monitor for crashes or abnormal terminations of processes that perform DNS resolution, especially those using getaddrinfo.
  • Inspect DNS response traffic for unusually large or malformed responses that could trigger the overflow in libresolv.
  • Track glibc versions across hosts and containers to identify systems still running versions before 2.23.
  • Review vendor advisories and errata for CVE-2015-7547 to confirm patch status on affected products.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

30 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://fortiguard.com/advisory/glibc-getaddrinfo-stack-overflow
http://lists.fedoraproject.org/pipermail/package-announce/2016-February/177404.html
http://lists.fedoraproject.org/pipermail/package-announce/2016-February/177412.html
http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00036.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00037.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00038.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00039.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00042.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00043.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00044.html Third Party Advisory
http://marc.info/?l=bugtraq&m=145596041017029&w=2
http://marc.info/?l=bugtraq&m=145672440608228&w=2
http://marc.info/?l=bugtraq&m=145690841819314&w=2
http://marc.info/?l=bugtraq&m=145857691004892&w=2
http://marc.info/?l=bugtraq&m=146161017210491&w=2
http://packetstormsecurity.com/files/135802/glibc-getaddrinfo-Stack-Based-Buffer-Overflow.html
http://packetstormsecurity.com/files/154361/Cisco-Device-Hardcoded-Credentials-GNU-glibc-BusyBox.html
http://packetstormsecurity.com/files/164014/Moxa-Command-Injection-Cross-Site-Scripting-Vulnerable-Software.html
http://packetstormsecurity.com/files/167552/Nexans-FTTO-GigaSwitch-Outdated-Components-Hardcoded-Backdoor.html
http://rhn.redhat.com/errata/RHSA-2016-0175.html
http://rhn.redhat.com/errata/RHSA-2016-0176.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-0225.html
http://rhn.redhat.com/errata/RHSA-2016-0277.html
http://seclists.org/fulldisclosure/2019/Sep/7
http://seclists.org/fulldisclosure/2021/Sep/0
http://seclists.org/fulldisclosure/2022/Jun/36
http://support.citrix.com/article/CTX206991
http://ubuntu.com/usn/usn-2900-1 Third Party Advisory
http://www.debian.org/security/2016/dsa-3480
http://www.debian.org/security/2016/dsa-3481 Third Party Advisory
http://www.fortiguard.com/advisory/glibc-getaddrinfo-stack-overflow
http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20160304-01-glibc-en
http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html PatchThird Party Advisory
http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
http://www.securityfocus.com/bid/83265
http://www.securitytracker.com/id/1035020
http://www.vmware.com/security/advisories/VMSA-2016-0002.html
https://access.redhat.com/articles/2161461 Third Party Advisory
https://blogs.sophos.com/2016/02/24/utm-up2date-9-355-released/ Third Party Advisory

Track CVE-2015-7547 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2015-7547), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.