CVE-2023-4813: Glibc: potential use-after-free in gaih_inet()
Noroxi assessment
Priority: Monitor (action score 24/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.2% (FIRST EPSS); higher than 82.5% 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 uncommon situation, the gaih_inet function may use memory that has been freed, resulting in an application crash. This issue is only exploitable when the getaddrinfo function is called and the hosts database in /etc/nsswitch.conf is configured with SUCCESS=continue or SUCCESS=merge.
- Published
- Sep 12, 2023
- Updated
- Oct 14, 2026
- EPSS
- 2.2% · 82th percentile
- CWE
- CWE-416
Report tools
Action score
24
Monitor
Low priority for now.
- CVSS
- 23 / 40 · 5.9 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.2%
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
- Proof of concept exists, no weaponized module
- 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 | 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 ibm z systems eus s390x | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus_s390x |
| redhat | enterprise linux for ibm z systems s390x | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_s390x |
| redhat | enterprise linux for power little endian | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian |
| redhat | enterprise linux for power little endian eus | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
| redhat | enterprise linux server tus | cpe:2.3:o:redhat:enterprise_linux_server_tus |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| netapp | active iq unified manager | cpe:2.3:a:netapp:active_iq_unified_manager |
| netapp | h300s firmware | cpe:2.3:o:netapp:h300s_firmware |
and 9 more
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- fedoraproject fedora38
- gnu glibcbefore 2.36
- netapp active iq unified managerall versions
- netapp h300s firmwareall versions
- netapp h410c firmwareall versions
- netapp h410s firmwareall versions
- netapp h500s firmwareall versions
- netapp h700s firmwareall versions
- redhat enterprise linux8.0
- redhat enterprise linux9.0
- redhat enterprise linux eus8.8
- redhat enterprise linux eus9.2
- redhat enterprise linux for ibm z systems eus s390x9.2
- redhat enterprise linux for ibm z systems s390x9.2
- redhat enterprise linux for power little endian9.2_ppc64le
- redhat enterprise linux for power little endian eus9.2_ppc64le
- redhat enterprise linux server aus9.2
- redhat enterprise linux server tus8.8
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-100.el9 and laternot affected · rpm
- 0:2.34-60.el9_2.7 and laternot affected · rpm
- 0:2.34-100.el9 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 59Plan
Published before and after this one in the same product
- ← EarlierCVE-2023-0687Feb 6, 2023 · A vulnerability was found in GNU C Library 2.38.39Monitor
- ← EarlierCVE-2015-20109Jun 25, 2023 · end_pattern (called from internal_fnmatch) in the GNU C Library (aka glibc or libc6) before 2.22 might allow context-dependent attackers to 22Monitor
- Later →CVE-2023-4527Sep 18, 2023 · Glibc: stack read overflow in getaddrinfo in no-aaaa mode27Monitor
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-3 · Debian:12 | Package registry (OSV) |
| opensuse:glibc | 2.38-6.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:glibc-benchtests-debuginfo | 0:2.34-100.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-common-debuginfo | 0:2.34-100.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-debuginfo | 0:2.34-100.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-debugsource | 0:2.34-100.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-devel | 0:2.34-100.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-doc | 0:2.34-100.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-gconv-extra-debuginfo | 0:2.34-100.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-headers | 0:2.34-100.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-locale-source | 0:2.34-100.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-utils | 0:2.34-100.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:glibc-utils-debuginfo | 0:2.34-100.el9 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:libnsl-debuginfo | 0:2.34-100.el9 · 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) |
| suse:glibc | 2.22-114.31.1 · SUSE:Linux Enterprise Software Development Kit 12 SP5 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:2 | 2024-06-06 |
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.
- Published
- First PoC+267 d
- TodayOct 28, 2026+1141 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
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.
No credits in the CNA record.
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 (8 more)Show less
- access.redhat.com/errata/RHBA-2024:2413
- access.redhat.com/errata/RHSA-2023:5455
- access.redhat.com/errata/RHSA-2023:7409
- access.redhat.com/security/cve/CVE-2023-4813
- bugzilla.redhat.com/show_bug.cgi?id=2237798
- www.openwall.com/lists/oss-security/2023/10/03/8
- security.netapp.com/advisory/ntap-20231110-0003/
- cert-portal.siemens.com/productcert/html/ssa-398330.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.