The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-4806

CVE-2023-4806: GNU Glibc Use-After-Free Vulnerability

CVE-2023-4806 is a use-after-free vulnerability in GNU Glibc's getaddrinfo function that can cause application crashes under rare conditions. This article covers the technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2023-4806 Overview

A Use-After-Free vulnerability has been identified in the GNU C Library (glibc), specifically within the getaddrinfo function. In an extremely rare situation, the getaddrinfo function may access memory that has been freed, resulting in an application crash and potential denial of service. This memory safety flaw occurs under very specific conditions involving NSS (Name Service Switch) module configurations.

Critical Impact

Applications relying on glibc's getaddrinfo function for hostname resolution may crash unexpectedly when specific NSS module configurations and query parameters align, potentially causing service disruptions across Linux-based infrastructure.

Affected Products

  • GNU glibc 2.33
  • Red Hat Enterprise Linux 7.0, 8.0, 9.0 (and EUS variants)
  • Red Hat CodeReady Linux Builder (multiple architectures)
  • Fedora 37, 38, 39

Discovery Timeline

  • 2023-09-18 - CVE-2023-4806 published to NVD
  • 2025-09-26 - Last updated in NVD database

Technical Details for CVE-2023-4806

Vulnerability Analysis

This vulnerability is a Use-After-Free (CWE-416) memory corruption issue in the glibc library's DNS resolution functionality. The flaw resides in the getaddrinfo function, which is a core system call used by virtually all networked applications on Linux systems to resolve hostnames to IP addresses.

The vulnerability is exploitable only under a highly specific set of conditions. First, a custom NSS module must be in use that implements only the _nss_*_gethostbyname2_r and _nss_*_getcanonname_r hooks without implementing the _nss_*_gethostbyname3_r hook. Second, the DNS query must return a large number of both IPv6 and IPv4 addresses for the resolved name. Third, the application must call getaddrinfo with the AF_INET6 address family specified along with the AI_CANONNAME, AI_ALL, and AI_V4MAPPED flags set simultaneously.

When these conditions are met, a race condition or memory management error causes the function to access previously freed memory, leading to undefined behavior—most commonly resulting in an application crash.

Root Cause

The root cause stems from improper memory lifecycle management within the getaddrinfo implementation when handling dual-stack (IPv4/IPv6) address resolution with canonical name lookup. When the NSS module lacks the _nss_*_gethostbyname3_r hook, the code path that handles address family mapping and canonical name resolution does not properly maintain references to allocated memory buffers. This results in a dangling pointer that may be dereferenced after the memory has been freed, triggering the Use-After-Free condition.

Attack Vector

The attack vector for this vulnerability is network-based but requires significant preconditions to be met. An attacker would need to either control or influence the DNS responses returned to a vulnerable application, ensuring that a large number of IPv4 and IPv6 addresses are returned. Additionally, the target system must have a specific NSS module configuration that omits the _nss_*_gethostbyname3_r hook implementation. The application must also make getaddrinfo calls with the precise combination of flags (AF_INET6, AI_CANONNAME, AI_ALL, AI_V4MAPPED).

Due to these stringent requirements, exploitation in real-world scenarios is considered extremely rare. However, in environments where these conditions exist, an attacker could potentially cause denial of service by triggering application crashes repeatedly.

Detection Methods for CVE-2023-4806

Indicators of Compromise

  • Unexpected application crashes with segmentation faults during DNS resolution operations
  • Core dumps showing stack traces involving getaddrinfo or related NSS functions
  • Increased frequency of service restarts for applications performing hostname lookups

Detection Strategies

  • Monitor system logs for SIGSEGV signals originating from processes performing network operations
  • Implement application-level crash monitoring for services that heavily utilize DNS resolution
  • Review NSS configuration files (/etc/nsswitch.conf) to identify custom module usage patterns
  • Use memory sanitizers (AddressSanitizer) during development and testing to detect Use-After-Free conditions

Monitoring Recommendations

  • Enable core dump collection and analysis for critical services using glibc DNS resolution
  • Deploy SentinelOne Singularity Platform to monitor for anomalous application termination patterns
  • Implement centralized logging to correlate crash events across multiple systems
  • Configure alerting for services that restart frequently without apparent cause

How to Mitigate CVE-2023-4806

Immediate Actions Required

  • Update glibc to the latest patched version available for your distribution
  • Review and audit custom NSS modules to ensure complete hook implementation
  • Consider implementing the _nss_*_gethostbyname3_r hook in any custom NSS modules
  • Apply vendor-specific patches from Red Hat, Fedora, or Gentoo as applicable

Patch Information

Multiple vendors have released patches addressing this vulnerability:

  • Red Hat: Red Hat Security Advisory RHSA-2023:5453, RHSA-2023:5455, and RHSA-2023:7409 provide patches for affected RHEL versions
  • Fedora: Package updates available through the standard update channels for Fedora 37, 38, and 39
  • Gentoo: GLSA 202310-03 addresses this vulnerability
  • NetApp: NetApp Security Advisory NTAP-20240125-0008 provides guidance for affected NetApp products

For detailed technical information, refer to Red Hat Bugzilla Report #2237782.

Workarounds

  • Avoid using custom NSS modules that do not implement the _nss_*_gethostbyname3_r hook
  • Modify application code to avoid using the specific flag combination (AI_CANONNAME, AI_ALL, AI_V4MAPPED with AF_INET6) when possible
  • Implement application-level retry logic to handle potential crashes gracefully
  • Consider using alternative DNS resolution mechanisms for critical applications until patches can be applied
bash
# Check current glibc version
ldd --version

# For RHEL/CentOS systems, update glibc
sudo yum update glibc

# For Fedora systems
sudo dnf update glibc

# Verify NSS module configuration
cat /etc/nsswitch.conf | grep hosts

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechGnu Glibc

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability1.90%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Technical References
  • Red Hat Bug Fix Advisory RHBA-2024:2413

  • Red Hat Security Advisory RHSA-2023:5453

  • Red Hat Security Advisory RHSA-2023:5455

  • Red Hat Security Advisory RHSA-2023:7409

  • Red Hat CVE Details CVE-2023-4806

  • Red Hat Bugzilla Report #2237782

  • OpenWall OSS-Security Update

  • OpenWall OSS-Security Update

  • OpenWall OSS-Security Update

  • OpenWall OSS-Security Update

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Gentoo GLSA 202310-03

  • NetApp Security Advisory NTAP-20240125-0008
  • Related CVEs
  • CVE-2023-4813: GNU Glibc Use-After-Free Vulnerability

  • CVE-2021-38604: GNU Glibc Use-After-Free Vulnerability

  • CVE-2021-33574: GNU Glibc Use-After-Free Vulnerability

  • CVE-2020-1752: GNU Glibc Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English