CVE-2026-5928: CWE-127 Buffer under-read in The GNU C Library glibc
CVE-2026-5928 is a high-severity buffer under-read vulnerability in the GNU C Library (glibc) versions 2. 43 and earlier. It occurs when the ungetwc function is called on a FILE stream containing wide characters encoded in a character set with overlapping single-byte and multi-byte encodings. This flaw can cause the function to read memory before the allocated buffer, potentially leading to program crashes or unintended disclosure of adjacent heap data. The vulnerability arises from a bug in the wide character pushback implementation, where ungetwc operates on the wrong buffer pointer. This issue requires a specific character encoding scenario and does not affect standard Unicode character sets. No official patch or remediation has been confirmed yet.
AI Analysis
Technical Summary
The vulnerability in glibc's ungetwc function involves a buffer under-read triggered by calling ungetwc on a FILE stream with wide characters encoded in overlapping single-byte and multi-byte character sets. Due to a bug in the _IO_wdefault_pbackfail function, ungetwc incorrectly operates on the regular character buffer pointer (fp->_IO_read_ptr) instead of the wide-stream read pointer (fp->_wide_data->_IO_read_ptr). This can cause reads before the allocated buffer, potentially disclosing neighboring heap data or causing a program crash if the pointer is NULL. The vulnerability affects glibc versions 2.43 and earlier and requires a special encoding scenario not present in standard Unicode sets.
Potential Impact
The vulnerability can lead to a program crash (denial of service) or unintentional disclosure of adjacent heap memory contents. There is no indication of confidentiality or integrity impact beyond potential data disclosure from neighboring heap memory. The CVSS score of 7.5 reflects a high severity with network attack vector, low attack complexity, no privileges required, and no user interaction needed. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch links are provided and the remediation level is unspecified, users should monitor the GNU C Library project for updates. Avoid using ungetwc with character encodings that have overlapping single-byte and multi-byte representations if possible until a fix is available.
CVE-2026-5928: CWE-127 Buffer under-read in The GNU C Library glibc
Description
CVE-2026-5928 is a high-severity buffer under-read vulnerability in the GNU C Library (glibc) versions 2. 43 and earlier. It occurs when the ungetwc function is called on a FILE stream containing wide characters encoded in a character set with overlapping single-byte and multi-byte encodings. This flaw can cause the function to read memory before the allocated buffer, potentially leading to program crashes or unintended disclosure of adjacent heap data. The vulnerability arises from a bug in the wide character pushback implementation, where ungetwc operates on the wrong buffer pointer. This issue requires a specific character encoding scenario and does not affect standard Unicode character sets. No official patch or remediation has been confirmed yet.
CVSS v3.1
Score 7.5high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in glibc's ungetwc function involves a buffer under-read triggered by calling ungetwc on a FILE stream with wide characters encoded in overlapping single-byte and multi-byte character sets. Due to a bug in the _IO_wdefault_pbackfail function, ungetwc incorrectly operates on the regular character buffer pointer (fp->_IO_read_ptr) instead of the wide-stream read pointer (fp->_wide_data->_IO_read_ptr). This can cause reads before the allocated buffer, potentially disclosing neighboring heap data or causing a program crash if the pointer is NULL. The vulnerability affects glibc versions 2.43 and earlier and requires a special encoding scenario not present in standard Unicode sets.
Potential Impact
The vulnerability can lead to a program crash (denial of service) or unintentional disclosure of adjacent heap memory contents. There is no indication of confidentiality or integrity impact beyond potential data disclosure from neighboring heap memory. The CVSS score of 7.5 reflects a high severity with network attack vector, low attack complexity, no privileges required, and no user interaction needed. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch links are provided and the remediation level is unspecified, users should monitor the GNU C Library project for updates. Avoid using ungetwc with character encodings that have overlapping single-byte and multi-byte representations if possible until a fix is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- glibc
- Date Reserved
- 2026-04-08T22:47:29.814Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e6942119fe3cd2cd32c4c8
Added to database: 4/20/2026, 9:01:21 PM
Last enriched: 6/3/2026, 9:21:10 PM
Last updated: 6/4/2026, 9:17:23 PM
Views: 306
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.