CVE-2023-4806CWE-416

Glibc: potential use-after-free in getaddrinfo()

Medium · published September 18, 2023

CVSS v3.1
5.9
EPSS
2%
Percentile
75.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.9 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.01606 · 75.7th percentile
Weakness
CWE-416 · Use After Free
Published
2023-09-18T16:33Z
EPSS history
Timeline
  • 18 SEP 16:33Z
    Glibc: potential use-after-free in getaddrinfo()
    cvelistv5