# CVE-2023-4527: GNU glibc stack read overflow in getaddrinfo

Source: https://junglewise.ai/threats/cve-2023-4527-gnu-glibc-stack-read-overflow-in-getaddrinfo  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-09-18. Updated: 2026-05-12  
License: CC BY 4.0 with a link back

CVE-2023-4527 · Severity: medium · CVSS 6.5 · Published 2023-09-18

A security vulnerability has been identified in glibc, a fundamental software library used by almost all Linux-based systems to perform basic operations like looking up website addresses. Under specific configurations, an attacker could send a specially crafted network response that causes a program to crash or potentially leak sensitive internal memory information. This could lead to service outages or provide attackers with data that helps them bypass other security protections.

Technologies: [Gnu Glibc](https://junglewise.ai/threats/technologies/glibc), [Red Hat Enterprise Linux 8](https://junglewise.ai/threats/technologies/enterprise-linux-8), [Red Hat Enterprise Linux 9](https://junglewise.ai/threats/technologies/enterprise-linux-9). Vendors: [Gnu](https://junglewise.ai/threats/vendors/gnu), [Red Hat](https://junglewise.ai/threats/vendors/red-hat).

## Quick answers

**Is CVE-2023-4527 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-4527 being exploited in the wild.

**How severe is CVE-2023-4527?** Medium severity, with a CVSS score of 6.5, published 18 September 2023.

**Which products and versions are affected?** Gnu Glibc up to (excluding) 2.39, 2.36 up to (excluding) 2.36.113, 2.37 up to (excluding) 2.37.38, 2.38 up to (excluding) 2.38.19; Red Hat Enterprise Linux 8 2.28-225.el8_8.6; Red Hat Enterprise Linux 9 9.2, 9.4, 9.6.

**Is there a fix for CVE-2023-4527?** A patch was published on 2023-10-05: Red Hat released security updates for RHEL 8 and 9 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2023-4527 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2023-4527?** Check whether you run Gnu Glibc, Red Hat Enterprise Linux 8 or Red Hat Enterprise Linux 9 at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A flaw was found in the glibc getaddrinfo function when called with the AF_UNSPEC address family on systems configured with 'no-aaaa' mode in /etc/resolv.conf. When these conditions are met, a DNS response received via TCP that exceeds 2048 bytes can trigger an out-of-bounds read on the stack. An attacker capable of providing large DNS responses can exploit this to disclose stack contents through the returned address data or cause the application to crash (Denial of Service). The vulnerability is classified as a stack-based buffer overflow/read overflow. Patches have been released by GNU and various Linux distributions including Red Hat and Fedora.

## Affected products

- GNU glibc up to (excluding) 2.39, 2.36 up to (excluding) 2.36.113, 2.37 up to (excluding) 2.37.38, 2.38 up to (excluding) 2.38.19
- Red Hat Enterprise Linux 8 2.28-225.el8_8.6
- Red Hat Enterprise Linux 9 9.2, 9.4, 9.6

## Timeline

- 2023-09-18: advisory: Initial NVD publication
- 2023-10-05: patched: Red Hat released security updates for RHEL 8 and 9

## References

- [https://access.redhat.com/errata/RHSA-2023:5453](https://access.redhat.com/errata/RHSA-2023:5453)
- [https://access.redhat.com/errata/RHSA-2023:5455](https://access.redhat.com/errata/RHSA-2023:5455)
- [https://access.redhat.com/security/cve/CVE-2023-4527](https://access.redhat.com/security/cve/CVE-2023-4527)
- [https://bugzilla.redhat.com/show_bug.cgi?id=2234712](https://bugzilla.redhat.com/show_bug.cgi?id=2234712)
- [http://www.openwall.com/lists/oss-security/2023/09/25/1](http://www.openwall.com/lists/oss-security/2023/09/25/1)
- [https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4DBUQRRPB47TC3NJOUIBVWUGFHBJAFDL/](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4DBUQRRPB47TC3NJOUIBVWUGFHBJAFDL/)
- [https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DFG4P76UHHZEWQ26FWBXG76N2QLKKPZA/](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DFG4P76UHHZEWQ26FWBXG76N2QLKKPZA/)

## Related threats

- [Samba AD DC LDAP filter injection and ACL bypass in Compare requests](https://junglewise.ai/threats/cve-2026-58222-samba-ad-dc-ldap-filter-injection-and-acl-bypass-in-compare)
- [Samba KDC out-of-bounds read in kpasswd service](https://junglewise.ai/threats/cve-2026-58216-samba-kdc-out-of-bounds-read-in-kpasswd-service)
- [Samba internal DNS server denial of service via TKEY cache exhaustion](https://junglewise.ai/threats/cve-2026-58218-samba-internal-dns-server-denial-of-service-via-tkey-cache)
- [Red Hat PCP auth bypass in pmproxy /store endpoint](https://junglewise.ai/threats/cve-2026-16527-red-hat-pcp-auth-bypass-in-pmproxy-store-endpoint)
- [Red Hat PCP privilege escalation in linux_sockets PMDA](https://junglewise.ai/threats/cve-2026-16526-red-hat-pcp-privilege-escalation-in-linux-sockets-pmda)
