Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The GNU C Library | glibc | 2.1.1-89 – ≤ 2.43 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | glibc | 2.42-17 | — |
| Debian 13 | glibc | 2.41-12+deb13u4 | — |
| Debian 12 | glibc | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | glibc | 2.43-2ubuntu2.3 | USN-8611-1 |
| Ubuntu 25.10 | glibc | No fix yet | — |
| Ubuntu 24.04 LTS | glibc | 2.39-0ubuntu8.8 | USN-8611-1 |
| Ubuntu 22.04 LTS | glibc | 2.35-0ubuntu3.14 | USN-8611-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | glibc | No fix yet | — |
| Ubuntu Pro 18.04 LTS | glibc | No fix yet | — |
| Ubuntu Pro 16.04 LTS | glibc | No fix yet | — |
| Ubuntu Pro 14.04 LTS | eglibc | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | glibc +220 | 2.39-128.el10_2 | RHSA-2026:42694 |
| RHEL 9 | nscd +214 | 2.34-274.el9_8 | RHSA-2026:42952 |
| RHEL 8 | nscd +213 | 2.28-251.el8_10.40 | RHSA-2026:42733 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | glibc +223 | 2.42-12.hum1 | RHSA-2026:12740 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | glibc +220 | 2.39-128.el10_2.alma.1 | ALSA-2026:42694 |
| AlmaLinux 9 | nscd +214 | 2.34-274.el9_8 | ALSA-2026:42952 |
| AlmaLinux 8 | nscd +213 | 2.28-251.el8_10.40 | ALSA-2026:42733 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | glibc | 2.39-128.el10_2 | RLSA-2026:42694 |
| Rocky Linux 9 | glibc | 2.34-274.el9_8 | RLSA-2026:42952 |
| Rocky Linux 8 | glibc | 2.28-251.el8_10.40 | RLSA-2026:42733 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | glibc | 2.31-150300.101.1 | SUSE-SU-2026:2333-1 |
| SLES 15 SP4 | glibc | 2.31-150300.101.1 | SUSE-SU-2026:2333-1 |
| SLES 12 SP5 | glibc | 2.22-114.46.1 | SUSE-SU-2026:2440-1 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP5 | glibc | 2.31-150300.101.1 | SUSE-SU-2026:2333-1 |
| SLES for SAP 15 SP4 | glibc | 2.31-150300.101.1 | SUSE-SU-2026:2333-1 |
| SLE Micro 6.2 | glibc | 2.40-160000.5.1 | SUSE-SU-2026:21780-1 |
| SLE Micro 5.5 | glibc | 2.31-150300.101.1 | SUSE-SU-2026:2333-1 |
| SLE Micro 5.4 | glibc | 2.31-150300.101.1 | SUSE-SU-2026:2333-1 |
| SLE Micro 5.3 | glibc | 2.31-150300.101.1 | SUSE-SU-2026:2333-1 |
| SLE HPC 15 SP5 | glibc | 2.31-150300.101.1 | SUSE-SU-2026:2333-1 |
| SLE HPC 15 SP4 | glibc | 2.31-150300.101.1 | SUSE-SU-2026:2333-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | glibc | 2.43-3.1 | openSUSE-SU-2026:10770-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | glibc | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | glibc +220 | 2.39-128.0.1.el10_2 | ELSA-2026-42694 |
| Oracle Linux 9 | nscd +214 | 2.34-274.0.1.el9_8 | ELSA-2026-42952 |
| Oracle Linux 8 | nscd +213 | 2.28-251.0.4.el8_10.40 | ELSA-2026-42733 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | sln +51 | 2.43-r7 | — |
Advisories 22
- WID-SEC-2026-4090 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2026
- ALSA-2026:42952 Moderate: glibc security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:42694 Moderate: glibc security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:42733 Moderate: glibc security update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2026-1190 GNU libc: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 18, 2026
- RHSA-2026:42952 Red Hat Security Advisory: glibc security update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2026:42733 Red Hat Security Advisory: glibc security update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2026:42694 Red Hat Security Advisory: glibc security update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2026:12740 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- SSA-082556 SSA-082556: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.5 Siemens ProductCERT · Oct 13, 2026
- WID-SEC-2026-3043 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 17, 2026
- ELSA-2026-42694 Moderate: glibc security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Sep 7, 2026
- USN-8611-1 glibc vulnerabilities Ubuntu Security Notices (USN) · Jul 27, 2026
- RLSA-2026:42952 Moderate: glibc security update Rocky Linux Security Advisories · Jul 23, 2026
- ELSA-2026-42733 Moderate: glibc security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 23, 2026
- RLSA-2026:42694 Moderate: glibc security update Rocky Linux Security Advisories · Jul 22, 2026
- RLSA-2026:42733 Moderate: glibc security update Rocky Linux Security Advisories · Jul 22, 2026
- ELSA-2026-42952 Moderate: glibc security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jul 22, 2026
- SUSE-SU-2026:21780-1 Security update for glibc SUSE / openSUSE Security Updates · Jul 9, 2026
- SUSE-SU-2026:2440-1 Security update for glibc SUSE / openSUSE Security Updates · Jun 19, 2026
- SUSE-SU-2026:2333-1 Security update for glibc SUSE / openSUSE Security Updates · Jun 11, 2026
- openSUSE-SU-2026:10770-1 glibc-2.43-3.1 on GA media SUSE / openSUSE Security Updates · May 14, 2026