---
id: CVE-2023-5156
title: A flaw was found in the GNU C Library
summary: >-
  A flaw was found in the GNU C Library. A recent fix for CVE-2023-4806
  introduced the potential for a memory leak, which may result in an application
  crash.
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-401
vendor: gnu
product: glibc
affected:
  - 'glibc >= 2.34, < 2.39'
  - enterprise_linux = 8.0
  - enterprise_linux = 9.0
patched:
  - glibc 2.39
published: '2023-09-25'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T22:17:18.940'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-5156'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2023-5156'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2240541'
    label: secalert@redhat.com
  - url: 'https://sourceware.org/bugzilla/show_bug.cgi?id=30884'
    label: secalert@redhat.com
  - url: >-
      https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=ec6b95c3303c700eb89eebeda2d7264cc184a796
    label: secalert@redhat.com
  - url: 'http://www.openwall.com/lists/oss-security/2023/10/03/4'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.openwall.com/lists/oss-security/2023/10/03/5'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.openwall.com/lists/oss-security/2023/10/03/6'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.openwall.com/lists/oss-security/2023/10/03/8'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/security/cve/CVE-2023-5156'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2240541'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/202402-01'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://sourceware.org/bugzilla/show_bug.cgi?id=30884'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=ec6b95c3303c700eb89eebeda2d7264cc184a796
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-831302.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.01583
epssPercentile: 0.75059
ingestedAt: '2026-10-14T23:00:02.005Z'
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2025-10-15T20:03:45.500372Z'
---

## Overview

A flaw was found in the GNU C Library. A recent fix for CVE-2023-4806 introduced the potential for a memory leak, which may result in an application crash.

## Affected

- `glibc >= 2.34, < 2.39`
- `enterprise_linux = 8.0`
- `enterprise_linux = 9.0`

## Remediation

Upgrade past the affected range:

- `glibc 2.39`
