CVE-2023-4806
NixOS vulnerability analysis and mitigation

Overview

A flaw was found in glibc (CVE-2023-4806) that was discovered in September 2023. In an extremely rare situation, the getaddrinfo function may access memory that has been freed, resulting in an application crash. This vulnerability affects glibc versions prior to 2.37-r7 (Gentoo Advisory, NVD).

Technical details

The vulnerability occurs when an NSS module implements specific conditions: 1) Implements nss_gethostbyname2_r hook, 2) implements nss_getcanonname_r hook, and 3) does NOT implement nss*_gethostbyname3_r hook. The issue manifests when the resolved name returns a large number of IPv6 and IPv4 addresses, and the getaddrinfo function is called with AF_INET6 address family using AI_CANONNAME, AI_ALL and AI_V4MAPPED flags (Red Hat Bugzilla, OSS Security).

Impact

When successfully exploited, this vulnerability could result in a use-after-free condition, potentially causing an application crash or allowing read/write access to arbitrary memory. The vulnerability has been assigned a CVSS base score of 5.9 (Medium) with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in glibc version 2.37-r7 and later. Various Linux distributions have released security updates to address this issue: Red Hat Enterprise Linux via RHSA-2023:5453 and RHSA-2023:5455, Fedora via updates to versions 37, 38, and 39, and Gentoo Linux in glibc versions >= 2.37-r7 (Red Hat Advisory, Gentoo Advisory).

Community reactions

The vulnerability was initially discovered and reported through the glibc project. Siddhesh Poyarekar, a key contributor, provided clarification on the specific conditions required for exploitation and confirmed that common NSS modules like the samba wins module are not vulnerable due to their implementation patterns (OSS Security).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management