Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-5928

CVE-2026-5928: GNU Glibc Buffer Overflow Vulnerability

CVE-2026-5928 is a buffer overflow vulnerability in GNU Glibc's ungetwc function that may cause data disclosure or crashes. This article covers the technical details, affected versions, impact, and mitigation.

Published: April 23, 2026

CVE-2026-5928 Overview

A buffer under-read vulnerability exists in the GNU C Library (glibc) version 2.43 and earlier affecting the wide character pushback implementation. When the ungetwc function is called on a FILE stream with wide characters encoded in a character set that has overlaps between single byte and multi-byte character encodings, the vulnerability may result in an attempt to read bytes before an allocated buffer. This can lead to unintentional disclosure of neighboring heap data or cause a program crash.

Critical Impact

This vulnerability can cause denial of service through program crashes or potentially expose sensitive heap memory contents to attackers in applications processing specially crafted input streams.

Affected Products

  • GNU glibc version 2.43 and earlier
  • Applications using wide character stream processing with ungetwc()
  • Systems using non-Unicode character sets with single/multi-byte encoding overlaps

Discovery Timeline

  • 2026-04-20 - CVE CVE-2026-5928 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2026-5928

Vulnerability Analysis

The vulnerability is classified as CWE-127 (Buffer Under-read), affecting the wide character pushback mechanism in glibc. The issue resides in the _IO_wdefault_pbackfail function located in libio/wgenops.c. The core problem stems from a pointer confusion bug where the implementation incorrectly operates on the regular character buffer instead of the wide-stream read pointer.

The attack can be conducted over the network against applications that process user-supplied character streams. While no authentication is required to trigger the vulnerability, exploitation depends on specific conditions being met related to character encoding configurations.

Root Cause

The bug in _IO_wdefault_pbackfail causes the ungetwc() function to operate on fp->_IO_read_ptr (the regular character buffer pointer) instead of fp->_wide_data->_IO_read_ptr (the actual wide-stream read pointer). This pointer mismatch leads to incorrect memory access operations.

When fp->_IO_read_ptr is not initialized and points to NULL, calling ungetwc() will cause the program to crash. In cases where the pointer contains a valid address but points to the wrong memory region, the function may attempt to read memory before the allocated buffer boundaries.

Attack Vector

The buffer under-read condition requires a specific scenario where the input character encoding has overlaps between single byte representations and multibyte representations. This overlap causes spurious matches during character processing, leading to incorrect buffer positioning.

It is important to note that the spurious match condition that enables the buffer under-read is not possible when using standard Unicode character sets (such as UTF-8). Exploitation therefore requires applications to be configured with non-standard character encodings that exhibit single/multi-byte encoding overlaps.

The vulnerability can manifest in two ways:

  1. Program Crash: When fp->_IO_read_ptr is uninitialized (NULL), the application will crash upon calling ungetwc().
  2. Heap Information Disclosure: When fp->_IO_read_ptr points to valid but incorrect memory, adjacent heap data may be exposed through the buffer under-read.

Technical details and the original bug report can be found at Sourceware Bug Report #33998.

Detection Methods for CVE-2026-5928

Indicators of Compromise

  • Unexpected crashes in applications using wide character stream functions, particularly ungetwc()
  • Segmentation faults originating from _IO_wdefault_pbackfail in glibc
  • Anomalous memory access patterns in applications processing character-encoded input streams
  • Core dumps showing NULL pointer dereference in libio/wgenops.c functions

Detection Strategies

  • Monitor for segmentation faults and crashes in applications linked against glibc that process wide character streams
  • Implement application-level logging to track ungetwc() calls on streams with non-Unicode character encodings
  • Use memory sanitizers (AddressSanitizer, MemorySanitizer) during application testing to detect buffer under-reads
  • Audit applications that use character sets with potential single/multi-byte encoding overlaps

Monitoring Recommendations

  • Deploy crash monitoring and reporting for applications using glibc wide character functions
  • Implement heap integrity monitoring in security-critical applications
  • Review system logs for recurring crashes in applications processing internationalized text streams
  • Consider runtime memory protection tools that can detect out-of-bounds read operations

How to Mitigate CVE-2026-5928

Immediate Actions Required

  • Inventory all systems running GNU glibc version 2.43 or earlier
  • Identify applications that use ungetwc() with non-Unicode character encodings
  • Where possible, migrate applications to use Unicode (UTF-8) character encoding which is not affected by the spurious match condition
  • Apply vendor patches when available from your Linux distribution

Patch Information

Refer to Sourceware Bug Report #33998 for the latest patch status and technical discussion. Monitor your Linux distribution's security advisories for glibc updates that address this vulnerability. The fix requires correcting the pointer usage in _IO_wdefault_pbackfail to properly reference fp->_wide_data->_IO_read_ptr instead of fp->_IO_read_ptr.

Workarounds

  • Configure applications to use Unicode (UTF-8) character encoding where possible, as this encoding does not trigger the spurious match condition
  • Avoid using non-standard character encodings that have overlaps between single byte and multi-byte representations
  • Implement input validation to ensure streams are properly initialized before calling ungetwc()
  • Consider using alternative wide character handling methods that do not rely on ungetwc() until patches are applied
bash
# Check glibc version on your system
ldd --version

# Identify processes using glibc
lsof | grep libc.so

# Monitor for crashes related to this vulnerability
dmesg | grep -i "segfault"

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 Glibc

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-127
  • Technical References
  • Sourceware Bug Report #33998
  • Related CVEs
  • CVE-2026-5450: GNU Glibc Buffer Overflow Vulnerability

  • CVE-2021-3999: Gnu Glibc Buffer Overflow Vulnerability

  • CVE-2024-33599: GNU Glibc Buffer Overflow Vulnerability

  • CVE-2024-33602: GNU Glibc Buffer Overflow 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