Description
Integer overflow in the _IO_wstr_overflow function in libio/wstrops.c in the GNU C Library (aka glibc or libc6) before 2.22 allows context-dependent attackers to cause a denial of service (application crash) or possibly execute arbitrary code via vectors related to computing a size in bytes, which triggers a heap-based buffer overflow.
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.21-1 | — |
| Debian 13 | glibc | 2.21-1 | — |
| Debian 12 | glibc | 2.21-1 | — |
| Debian 6.0 | eglibc | 2.11.3-4+deb6u7 | DLA-316-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | glibc | 2.23-0ubuntu6 | USN-3239-1 |
| Ubuntu 14.04 LTS | eglibc | 2.19-0ubuntu6.10 | USN-3239-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP4 | glibc | 2.11.3-17.110.40.1 | SUSE-SU-2022:14923-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Linux Enterprise Point of Sale 11 SP3 | glibc | 2.11.3-17.110.40.1 | SUSE-SU-2022:14923-1 |
Advisories 4
- USN-3239-1 eglibc, glibc vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-316-1 eglibc - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2022:14923-1 Security update for glibc SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-2008 GNU libc: mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 17, 2025
References
- [oss-security] 20170214 Re: Pending CVE requests for glibc mailing-list
- https://sourceware.org/bugzilla/show_bug.cgi?id=17269
- [libc-alpha] 20150814 The GNU C Library version 2.22 is now available mailing-list
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=bdf1ff052a8e23d637f2c838fa5642d78fcedc33
- 72740 vdb-entry