Description
Integer overflow in posix/fnmatch.c in the GNU C Library (aka glibc or libc6) 2.13 and earlier allows context-dependent attackers to cause a denial of service (application crash) via a long UTF8 string that is used in an fnmatch call with a crafted pattern argument, a different vulnerability than CVE-2011-1071.
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.13-8 | — |
| Debian 13 | glibc | 2.13-8 | — |
| Debian 12 | glibc | 2.13-8 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | nscd +6 | 2.12-1.7.el6_0.5 | RHSA-2011:0413 |
| RHEL 5 | nscd +6 | 2.5-58.el5_6.2 | RHSA-2011:0412 |
| RHEL 4 | nscd +8 | 2.3.4-2.57 | RHSA-2012:0125 |
Advisories 3
- RHSA-2012:0125 Red Hat Security Advisory: glibc security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2011:0413 Red Hat Security Advisory: glibc security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2011:0412 Red Hat Security Advisory: glibc security update Red Hat Security Advisories (RHSA) · Jan 29, 2026
References
- https://bugzilla.redhat.com/show_bug.cgi?id=681054
- 20111013 VMSA-2011-0012 VMware ESXi and ESX updates to third party libraries and ESX Service Console mailing-list
- 46397 third-party-advisory
- 44353 third-party-advisory
- 1025450 vdb-entry
- gnuclibrary-fnmatch-dos(66819) vdb-entry
- MDVSA-2011:178 vendor-advisory
- http://scarybeastsecurity.blogspot.com/2011/02/i-got-accidental-code-execution-via.html
- http://www.vmware.com/security/advisories/VMSA-2011-0012.html
- http://code.google.com/p/chromium/issues/detail?id=48733
- MDVSA-2011:179 vendor-advisory
- http://sourceware.org/bugzilla/show_bug.cgi?id=12583
- http://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=8126d90480fa3e0c5c5cd0d02cb1c93174b45485