Description
The fnmatch function in the GNU C Library (aka glibc or libc6) before 2.22 might allow context-dependent attackers to cause a denial of service (application crash) via a malformed pattern, which triggers an out-of-bounds read.
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 |
Advisories 3
- 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
- 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
- 72789 vdb-entry
- [oss-security] 20150226 CVE request: glibc: potential application crash due to overread in fnmatch mailing-list
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=4a28f4d55a6cc33474c0792fe93b5942d81bf185
- [libc-alpha] 20150814 The GNU C Library version 2.22 is now available mailing-list
- https://sourceware.org/bugzilla/show_bug.cgi?id=18032