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-2026-5435

CVE-2026-5435: GNU C Library Buffer Overflow Vulnerability

CVE-2026-5435 is a buffer overflow flaw in GNU C Library's deprecated DNS functions that can cause out-of-bounds writes when printing TSIG records. This article covers the technical details, affected versions, and mitigation.

Published: April 30, 2026

CVE-2026-5435 Overview

CVE-2026-5435 is an out-of-bounds write vulnerability affecting the GNU C Library (glibc) version 2.2 and newer. The deprecated functions ns_printrrf, ns_printrr, and fp_nquery fail to properly enforce caller-supplied buffer length constraints, which can result in memory corruption when processing TSIG (Transaction Signature) DNS records.

Critical Impact

Applications using deprecated glibc DNS resolver functions are susceptible to out-of-bounds write conditions when handling maliciously crafted TSIG records, potentially leading to arbitrary code execution or denial of service.

Affected Products

  • GNU C Library (glibc) version 2.2 and newer
  • Linux distributions using affected glibc versions
  • Applications utilizing ns_printrrf, ns_printrr, or fp_nquery functions

Discovery Timeline

  • 2026-04-28 - CVE-2026-5435 published to NVD
  • 2026-04-28 - Last updated in NVD database

Technical Details for CVE-2026-5435

Vulnerability Analysis

This vulnerability is classified as CWE-787 (Out-of-Bounds Write), a memory safety issue that occurs when the deprecated DNS resolver printing functions in glibc do not properly validate that output data fits within the caller-provided buffer boundaries. When these functions process TSIG records—a type of DNS resource record used for transaction authentication—they can write beyond the allocated buffer space.

The functions ns_printrrf, ns_printrr, and fp_nquery are part of the legacy resolver library interface and have been deprecated for some time. However, legacy applications may still depend on these functions for DNS record formatting and display operations. The failure to enforce buffer length constraints means that specially crafted DNS responses containing TSIG records can trigger memory corruption.

The vulnerability can be triggered remotely via network-based attack vectors, as malicious DNS responses can be delivered to applications performing DNS queries. The attack requires no authentication or user interaction, making it particularly dangerous for network-facing services that process DNS data using these deprecated functions.

Root Cause

The root cause of CVE-2026-5435 lies in insufficient bounds checking within the buffer writing logic of the deprecated resolver printing functions. When formatting TSIG record data for output, these functions fail to verify that the destination buffer has adequate capacity before performing write operations. This oversight allows data to overflow the intended buffer boundaries when processing records with unexpectedly large or malformed content.

Attack Vector

An attacker can exploit this vulnerability by delivering malicious DNS responses to a target application. The attack scenario involves:

  1. The target application makes a DNS query using glibc's resolver functions
  2. An attacker positioned as a man-in-the-middle or controlling a malicious DNS server responds with crafted TSIG records
  3. When the application processes this response using ns_printrrf, ns_printrr, or fp_nquery, the oversized TSIG data overflows the provided buffer
  4. The out-of-bounds write corrupts adjacent memory, potentially allowing code execution or causing application crashes

The vulnerability mechanism centers on TSIG record processing within the deprecated resolver functions. When these functions encounter TSIG records during DNS response formatting, they write the formatted output to a caller-supplied buffer without adequately checking that the buffer has sufficient space. Technical details are available in the Sourceware Bug Report #34033.

Detection Methods for CVE-2026-5435

Indicators of Compromise

  • Unexpected application crashes or segmentation faults in processes performing DNS operations
  • Anomalous DNS traffic patterns, particularly responses containing unusually large or malformed TSIG records
  • Memory corruption artifacts in crash dumps from applications using glibc resolver functions
  • Increased DNS query failures or timeouts in affected systems

Detection Strategies

  • Monitor for use of deprecated glibc resolver functions (ns_printrrf, ns_printrr, fp_nquery) in application binaries through static analysis
  • Deploy network intrusion detection rules to identify anomalous DNS TSIG record sizes in responses
  • Implement runtime memory protection tools (AddressSanitizer, Valgrind) to detect out-of-bounds write attempts
  • Review application logs for resolver-related errors or unexpected crashes

Monitoring Recommendations

  • Enable memory fault logging and configure core dumps for forensic analysis of potential exploitation attempts
  • Monitor DNS traffic for responses with TSIG records exceeding typical size thresholds
  • Track glibc version deployments across infrastructure to identify systems requiring updates
  • Implement alerting for application restarts or crashes in DNS-dependent services

How to Mitigate CVE-2026-5435

Immediate Actions Required

  • Audit applications to identify usage of deprecated functions ns_printrrf, ns_printrr, and fp_nquery
  • Update glibc to the latest patched version when available from your distribution
  • Migrate applications to use modern resolver interfaces instead of deprecated functions
  • Apply defense-in-depth measures including ASLR, stack canaries, and non-executable memory protections

Patch Information

Security updates addressing CVE-2026-5435 are being coordinated through the glibc project. Users should monitor the Sourceware libc Announcement for official patch releases. Linux distribution maintainers will provide updated glibc packages through their respective security update channels.

Workarounds

  • Refactor applications to replace deprecated resolver printing functions with modern alternatives
  • Implement application-level input validation for DNS responses before processing
  • Deploy network filtering to sanitize DNS responses from untrusted sources
  • Consider using alternative DNS resolver libraries that do not have this vulnerability
bash
# Configuration example
# Identify applications using deprecated glibc resolver functions
nm -D /path/to/application | grep -E "ns_printrrf|ns_printrr|fp_nquery"

# Check installed glibc version
ldd --version

# Enable memory protection features in the kernel
echo 2 > /proc/sys/kernel/randomize_va_space

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechGnu C Library

  • SeverityHIGH

  • CVSS Score7.3

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-787
  • Technical References
  • Sourceware libc Announcement

  • Sourceware Bug Report #34033
  • Related CVEs
  • CVE-2026-0861: GNU C Library Buffer Overflow Vulnerability

  • CVE-2025-0395: GNU C Library Buffer Overflow Vulnerability

  • CVE-2024-2961: GNU C Library Buffer Overflow Vulnerability

  • CVE-2026-6238: GNU C Library DNS Processing DoS Flaw
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