# CVE-2026-5928: Potential buffer under-read in ungetwc

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-04-20 · Modified: 2026-10-15
- Aliases: UBUNTU-CVE-2026-5928, DEBIAN-CVE-2026-5928, CGA-2gxw-5ffj-x2ph, CGA-2wqp-8jqv-26fr, CGA-33c9-h922-87v5, CGA-38rv-ch5c-g6v9, CGA-3x5f-3x73-w49c, CGA-458q-hhv7-xvx2, CGA-482r-2xq8-f4x9, CGA-49f2-xvmh-434g, CGA-4f67-4fhw-g5wv, CGA-4jv5-2vww-38g9, CGA-4wwv-53v4-gv42, CGA-4x73-jf7q-qwm7, CGA-52fm-fh87-3chx, CGA-55wg-ghhv-j597, CGA-5vh5-27rv-rvj6, CGA-5vpp-mrv2-hrxj, CGA-66ch-8xx6-wh7w, CGA-6837-xr7x-29vm, CGA-6gj9-8g3m-fwm8, CGA-6gp7-8h98-p4x8, CGA-6gw4-cqwp-vxhf, CGA-6j7v-cwmc-fq3f, CGA-6m74-297x-r6h8, CGA-6m7f-rh6c-g2q8, CGA-6wwv-87jr-4fh7, CGA-7qvq-p7p2-qvc3, CGA-7r8r-jj58-m8fv, CGA-7rhh-qh9f-p756, CGA-7wgp-6r8q-w4vh, CGA-7x3x-m2vp-4x62, CGA-8525-cc68-fh2g, CGA-87vf-w2c4-jf67, CGA-8cjc-vhxh-jh4h, CGA-8q82-f5j8-fh3w, CGA-98j5-f7wx-vc35, CGA-9gh2-rvr6-v23p, CGA-9hcj-jrpm-g27x, CGA-9j32-6wr9-6x4p, CGA-9r37-m6fg-p3h4, CGA-9vcm-7f44-4cqq, CGA-c27g-q47r-w768, CGA-ccjp-8873-cf56, CGA-cfx7-gq94-mc8x, CGA-cmj8-fq6v-96mq, CGA-cpgq-gfpv-w3m4, CGA-cr8c-r5h5-5gc4, CGA-cw72-9q4h-fppq, CGA-f3q2-xf6p-xpp7, CGA-f6rr-mg9w-rvvq, CGA-f997-6crq-w5g7, CGA-fff5-8hgj-x44r, CGA-fm2c-64fc-4fjx, CGA-fwmr-xqf9-976q, CGA-g475-h6f9-v9xh, CGA-g6mh-cchj-5j3f, CGA-g755-hx7w-3qh6, CGA-gfhm-qr9v-hv78, CGA-gmhv-r2fh-rfh6, CGA-gq2f-85f6-h97c, CGA-h2jh-77m8-gp7m, CGA-h5cj-gg54-88jp, CGA-h6w5-gmvw-7p3j, CGA-h886-hr67-jmwv, CGA-h8hx-28hx-583g, CGA-h95f-54w3-cm89, CGA-hx24-hj6q-fr3v, CGA-j476-xpj4-mw2q, CGA-j54w-v7cm-9rmx, CGA-j84g-gp62-p46p, CGA-jrgf-h4vm-fcc8, CGA-m5rh-v3c9-cg2p, CGA-mff9-49w3-8vxq, CGA-mpq4-m4g8-h55r, CGA-mr65-phx4-cg25, CGA-p5gf-85qh-h9gc, CGA-pfh9-36m8-r749, CGA-pjv2-vxj3-j4m5, CGA-pqv2-7m58-hg4h, CGA-pvx5-vwfx-34hm, CGA-q7c7-qfq7-vf35, CGA-q7qv-g3vp-3642, CGA-q7rf-9pqj-g4hq, CGA-qj7w-w4w2-x3x6, CGA-qwx3-wj6m-h66p, CGA-r476-6g37-2v9w, CGA-r5hr-x9fj-gfww, CGA-r66h-p398-39p7, CGA-r695-9vmf-jc2m, CGA-r747-wj6f-v7p4, CGA-r74w-7625-86p8, CGA-rhhx-4qq8-jwh8, CGA-v666-q57q-859j, CGA-vc5x-5463-49p6, CGA-vrh7-vv5q-5295, CGA-vrq8-fm9p-4qgg, CGA-vxr6-7x8r-6533, CGA-w58r-2fmx-c9w7, CGA-wf35-w3h4-q44x, CGA-wq75-m635-55f5, CGA-wxgj-qrhx-qxhc, CGA-wxh3-3r3r-49wr, CGA-x59w-jprx-v3cj, CGA-x688-wmjw-qhpm, CGA-xqv8-j654-32r2, CGA-xvc6-2489-v97c, CGA-xvxh-7g5w-v4h7
- Record: https://cvemate.com/vulnerability/CVE-2026-5928 · JSON: https://cvemate.com/vulnerability/CVE-2026-5928/json

## Description

```text
Calling the ungetwc function on a FILE stream with wide characters encoded in a character set that has overlaps between its single byte and multi-byte character encodings, in the GNU C Library version 2.43 or earlier, may result in an attempt to read bytes before an allocated buffer, potentially resulting in unintentional disclosure of neighboring data in the heap, or a program crash.

A bug in the wide character pushback implementation (_IO_wdefault_pbackfail in libio/wgenops.c) causes ungetwc() to operate on the regular character buffer (fp->_IO_read_ptr) instead of the actual wide-stream read pointer (fp->_wide_data->_IO_read_ptr). The program crash may happen in cases where fp->_IO_read_ptr is not initialized and hence points to NULL. The buffer under-read requires a special situation where the input character encoding is such that there are overlaps between single byte representations and multibyte representations in that encoding, resulting in spurious matches. The spurious match case is not possible in the standard Unicode character sets.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.376%, percentile 33.618%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected (first 20 of 111)

- chainguard glibc (Chainguard): \< 2.43-r7
- chainguard glibc-2.43 (Chainguard): \< 2.43-r7
- chainguard glibc-2.43-abi-report (Chainguard): All versions (No fix recorded)
- chainguard glibc-2.43-dev (Chainguard): \< 2.43-r7
- chainguard glibc-2.43-iconv (Chainguard): \< 2.43-r7
- chainguard glibc-2.43-locale-ca (Chainguard): \< 2.43-r7
- chainguard glibc-2.43-locale-de (Chainguard): \< 2.43-r7
- chainguard glibc-2.43-locale-en (Chainguard): \< 2.43-r7
- chainguard glibc-2.43-locale-es (Chainguard): \< 2.43-r7
- chainguard glibc-2.43-locale-extra (Chainguard): \< 2.43-r7
- chainguard glibc-2.43-locale-fr (Chainguard): \< 2.43-r7
- chainguard glibc-2.43-locale-posix (Chainguard): \< 2.43-r7
- chainguard glibc-2.43-locales (Chainguard): \< 2.43-r7
- chainguard glibc-2.43-testresults (Chainguard): \< 2.43-r7
- chainguard glibc-2.43-tracing (Chainguard): \< 2.43-r7
- chainguard glibc-dev (Chainguard): \< 2.43-r7
- chainguard glibc-iconv (Chainguard): \< 2.43-r7
- chainguard glibc-locale-ca (Chainguard): \< 2.43-r7
- chainguard glibc-locale-de (Chainguard): \< 2.43-r7
- chainguard glibc-locale-en (Chainguard): \< 2.43-r7

## References

- <https://sourceware.org/bugzilla/show_bug.cgi?id=33998>
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- <https://ubuntu.com/security/CVE-2026-5928>
- <https://www.cve.org/CVERecord?id=CVE-2026-5928>
- <https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0010>
- <https://ubuntu.com/security/notices/USN-8611-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-5928>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5928.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-5928>

---

Data as of 2026-12-05T13:05:53.781Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
