# CVE-2023-4813: Glibc: potential use-after-free in gaih_inet()

- Severity: Medium 5.9 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.98%, higher than 81% of CVEs (2026-12-01)
- Published: 2023-09-12T21:54:33.387Z
- Modified: 2026-11-07T12:17:38.783Z
- Weaknesses: CWE-416
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- glibc: no versions given (not affected: from 0:2.28-225.el8_8.6 before *; from 0:2.28-189.8.el8_6 before *; from 0:2.34-60.el9_2.7 before *)
- compat-glibc: no versions given
- gnu glibc: before 2.36
- redhat enterprise_linux: 8.0; 9.0
- redhat enterprise_linux_eus: 8.8; 9.2
- redhat enterprise_linux_for_ibm_z_systems_eus_s390x: 9.2
- redhat enterprise_linux_for_ibm_z_systems_s390x: 9.2
- redhat enterprise_linux_for_power_little_endian: 9.2_ppc64le
- redhat enterprise_linux_for_power_little_endian_eus: 9.2_ppc64le
- redhat enterprise_linux_server_aus: 9.2
- redhat enterprise_linux_server_tus: 8.8
- fedoraproject fedora: 38
- netapp active_iq_unified_manager: no versions given
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h410c_firmware: no versions given

## Every score

- redhat: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2023:5453> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:5455> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7409> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-4813> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2237798> (issue-tracking, patch, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2023/10/03/8>
- <https://security.netapp.com/advisory/ntap-20231110-0003/>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2023-4813](https://www.cve.org/CVERecord?id=CVE-2023-4813), CVE Terms of Use, modified 2026-11-07
- NVD: [CVE-2023-4813](https://nvd.nist.gov/vuln/detail/CVE-2023-4813), Public domain, modified 2026-11-07

---

Page: https://cve.day/CVE-2023-4813 · Whole record: https://cve.day/CVE-2023-4813.json · Rebuilt by cve.day 2026-11-25T22:58:27.875Z
