CVE-2023-4806: Glibc: potential use-after-free in getaddrinfo()
Noroxi assessment
Priority: Monitor (action score 23/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.6% (FIRST EPSS); higher than 75.8% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: compat-libpthread-nonshared (AlmaLinux:8) 2.28-225.el8_8.6; glibc (AlmaLinux:8) 2.28-225.el8_8.6; glibc-all-langpacks (AlmaLinux:8) 2.28-225.el8_8.6.
Low priority for now. Upgrade to compat-libpthread-nonshared (AlmaLinux:8) 2.28-225.el8_8.6; glibc (AlmaLinux:8) 2.28-225.el8_8.6; glibc-all-langpacks (AlmaLinux:8) 2.28-225.el8_8.6 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
A flaw has been identified in glibc. In an extremely rare situation, the getaddrinfo function may access memory that has been freed, resulting in an application crash. This issue is only exploitable when a NSS module implements only the _nss_*_gethostbyname2_r and _nss_*_getcanonname_r hooks without implementing the _nss_*_gethostbyname3_r hook. The resolved name should return a large number of IPv6 and IPv4, and the call to the getaddrinfo function should have the AF_INET6 address family with AI_CANONNAME, AI_ALL and AI_V4MAPPED as flags.
- Published
- Sep 18, 2023
- Updated
- Oct 14, 2026
- EPSS
- 1.6% · 75th percentile
- CWE
- CWE-416
Report tools
Action score
23
Monitor
Low priority for now.
- CVSS
- 23 / 40 · 5.9 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.6%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 5.9
- CNA · redhat
- 5.9
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| gnu | glibc | cpe:2.3:a:gnu:glibc |
| redhat | codeready linux builder eus | cpe:2.3:a:redhat:codeready_linux_builder_eus |
| redhat | codeready linux builder eus for power little endian | cpe:2.3:a:redhat:codeready_linux_builder_eus_for_power_little_endian |
| redhat | codeready linux builder eus for power little endian eus | cpe:2.3:a:redhat:codeready_linux_builder_eus_for_power_little_endian_eus |
| redhat | codeready linux builder for arm64 | cpe:2.3:a:redhat:codeready_linux_builder_for_arm64 |
| redhat | codeready linux builder for arm64 eus | cpe:2.3:a:redhat:codeready_linux_builder_for_arm64_eus |
| redhat | codeready linux builder for ibm z systems | cpe:2.3:a:redhat:codeready_linux_builder_for_ibm_z_systems |
| redhat | codeready linux builder for ibm z systems eus | cpe:2.3:a:redhat:codeready_linux_builder_for_ibm_z_systems_eus |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux eus | cpe:2.3:o:redhat:enterprise_linux_eus |
| redhat | enterprise linux for arm 64 | cpe:2.3:o:redhat:enterprise_linux_for_arm_64 |
| redhat | enterprise linux for arm 64 eus | cpe:2.3:o:redhat:enterprise_linux_for_arm_64_eus |
and 10 more
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- fedoraproject fedora37
- fedoraproject fedora38
- fedoraproject fedora39
- gnu glibc2.33
- redhat codeready linux builder eus9.2
- redhat codeready linux builder eus for power little endian9.0_ppc64le
- redhat codeready linux builder eus for power little endian eus9.2_ppc64le
- redhat codeready linux builder for arm649.0_aarch64
- redhat codeready linux builder for arm64 eus9.2_aarch64
- redhat codeready linux builder for ibm z systems9.0_s390x
- redhat codeready linux builder for ibm z systems eus9.2_s390x
- redhat enterprise linux7.0
- redhat enterprise linux8.0
- redhat enterprise linux9.0
- redhat enterprise linux eus8.8
- redhat enterprise linux eus9.2
- redhat enterprise linux for arm 649.0_aarch64
- redhat enterprise linux for arm 64 eus9.2_aarch64
- redhat enterprise linux for ibm z systems8.0_s390x
- redhat enterprise linux for ibm z systems eus8.8_s390x
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
Red Hat Red Hat Enterprise Linux 6
- all versionsunknown
- all versionsunknown
Red Hat Red Hat Enterprise Linux 7
- all versionsaffected
- all versionsaffected
Red Hat Red Hat Enterprise Linux 8
- 0:2.28-225.el8_8.6 and laternot affected · rpm
- 0:2.28-225.el8_8.6 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support
- 0:2.28-189.8.el8_6 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 9
- 0:2.34-60.el9_2.7 and laternot affected · rpm
- 0:2.34-60.el9_2.7 and laternot affected · rpm
Red Hat Red Hat Virtualization 4 for Red Hat Enterprise Linux 8
- 0:2.28-189.8.el8_6 and laternot affected · rpm
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | compat-libpthread-nonshared | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-all-langpacks | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-benchtests | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-common | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-devel | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-doc | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-gconv-extra | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-headers | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-langpack-aa | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-langpack-af | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-langpack-agr | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-langpack-ak | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-langpack-am | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-langpack-an | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-langpack-anp | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-langpack-ar | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-langpack-as | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-langpack-ast | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-langpack-ayc | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-langpack-az | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-langpack-be | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-langpack-bem | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
| AlmaLinux:8 | glibc-langpack-ber | before 2.28-225.el8_8.6 | 2.28-225.el8_8.6 |
+96
Same product
gnu: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-4911Glibc: buffer overflow in ld.so leading to privilege escalationKEV80Now
- CVE-2015-0235Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18, allows context-depen68This week
- CVE-2015-7547Multiple 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 60This week
Published before and after this one in the same product
- ← EarlierCVE-2023-4813Sep 12, 2023 · Glibc: potential use-after-free in gaih_inet()24Monitor
- ← EarlierCVE-2023-4527Sep 18, 2023 · Glibc: stack read overflow in getaddrinfo in no-aaaa mode27Monitor
- Later →CVE-2023-5156Sep 25, 2023 · Glibc: dos due to memory leak in getaddrinfo.c30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:glibc | 2.34-60.el9_2.7 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:glibc-all-langpacks | 2.34-60.el9_2.7 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:glibc-benchtests | 2.34-60.el9_2.7 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:glibc-common | 2.34-60.el9_2.7 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:glibc-devel | 2.34-60.el9_2.7 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:glibc-doc | 2.34-60.el9_2.7 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:glibc-gconv-extra | 2.34-60.el9_2.7 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:glibc-headers | 2.34-60.el9_2.7 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:glibc-langpack-aa | 2.34-60.el9_2.7 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:glibc-langpack-af | 2.34-60.el9_2.7 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:glibc-langpack-agr | 2.34-60.el9_2.7 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:glibc-langpack-ak | 2.34-60.el9_2.7 · AlmaLinux:9 | Package registry (OSV) |
| debian:glibc | 2.36-9+deb12u3 · Debian:12 | Package registry (OSV) |
| opensuse:glibc | 2.38-3.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:glibc-benchtests-debuginfo | 0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-common-debuginfo | 0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-debuginfo | 0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-debugsource | 0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-devel | 0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-doc | 0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-gconv-extra-debuginfo | 0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-headers | 0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-locale-source | 0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-utils | 0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-utils-debuginfo | 0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:libnsl-debuginfo | 0:2.34-60.el9_2.7 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| rocky linux:glibc | 0:2.28-225.el8_8.6 · Rocky Linux:8 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
lock(&dev->lock);
free(dev->buf);
dev->buf = NULL;
unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (15 more)Show less
- access.redhat.com/errata/RHSA-2023:5455
- access.redhat.com/errata/RHSA-2023:7409
- access.redhat.com/security/cve/CVE-2023-4806
- bugzilla.redhat.com/show_bug.cgi?id=2237782
- www.openwall.com/lists/oss-security/2023/10/03/4
- www.openwall.com/lists/oss-security/2023/10/03/5
- www.openwall.com/lists/oss-security/2023/10/03/6
- www.openwall.com/lists/oss-security/2023/10/03/8
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4DBUQRRPB47TC3NJOUIBVWUGFHBJAFDL/
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DFG4P76UHHZEWQ26FWBXG76N2QLKKPZA/
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NDAQWHTSVOCOZ5K6KPIWKRT3JX4RTZUR/
- security.gentoo.org/glsa/202310-03
- security.netapp.com/advisory/ntap-20240125-0008/
- cert-portal.siemens.com/productcert/html/ssa-082556.html
- cert-portal.siemens.com/productcert/html/ssa-831302.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.