---
id: CVE-2023-4813
title: A flaw has been identified in glibc
summary: >-
  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 h…
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-416
vendor: gnu
product: glibc
affected:
  - glibc < 2.36
  - enterprise_linux = 8.0
  - enterprise_linux = 9.0
  - enterprise_linux_eus = 8.8
  - enterprise_linux_eus = 9.2
  - enterprise_linux_for_ibm_z_systems_eus_s390x = 9.2
  - enterprise_linux_for_ibm_z_systems_s390x = 9.2
  - enterprise_linux_for_power_little_endian = 9.2_ppc64le
  - enterprise_linux_for_power_little_endian_eus = 9.2_ppc64le
  - enterprise_linux_server_aus = 9.2
  - enterprise_linux_server_tus = 8.8
  - fedora = 38
  - active_iq_unified_manager
  - h300s_firmware
  - h500s_firmware
  - h700s_firmware
  - h410s_firmware
  - h410c_firmware
patched:
  - glibc 2.36
published: '2023-09-12'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T22:17:18.143'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-4813'
references:
  - url: 'https://access.redhat.com/errata/RHBA-2024:2413'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2023:5453'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2023:5455'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2023:7409'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2023-4813'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2237798'
    label: secalert@redhat.com
  - url: 'http://www.openwall.com/lists/oss-security/2023/10/03/8'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2023:5453'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2023:5455'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2023:7409'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/security/cve/CVE-2023-4813'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2237798'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20231110-0003/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - exploit-available
  - cve.org
epss: 0.01926
epssPercentile: 0.79542
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/tnishiox/cve-2023-4813'
  checkedAt: '2026-10-14T23:00:36.688Z'
exploitAvailable: true
ingestedAt: '2026-10-14T23:00:02.004Z'
---

## Overview

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.

## Affected

- `glibc < 2.36`
- `enterprise_linux = 8.0`
- `enterprise_linux = 9.0`
- `enterprise_linux_eus = 8.8`
- `enterprise_linux_eus = 9.2`
- `enterprise_linux_for_ibm_z_systems_eus_s390x = 9.2`
- `enterprise_linux_for_ibm_z_systems_s390x = 9.2`
- `enterprise_linux_for_power_little_endian = 9.2_ppc64le`
- `enterprise_linux_for_power_little_endian_eus = 9.2_ppc64le`
- `enterprise_linux_server_aus = 9.2`
- `enterprise_linux_server_tus = 8.8`
- `fedora = 38`
- `active_iq_unified_manager`
- `h300s_firmware`
- `h500s_firmware`
- `h700s_firmware`
- `h410s_firmware`
- `h410c_firmware`

## Remediation

Upgrade past the affected range:

- `glibc 2.36`
