Description
sysdeps/posix/readdir_r.c in the GNU C Library (aka glibc or libc6) 2.18 and earlier allows context-dependent attackers to cause a denial of service (out-of-bounds write and crash) or possibly execute arbitrary code via a crafted (1) NTFS or (2) CIFS image.
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.17-94 | — |
| Debian 13 | glibc | 2.17-94 | — |
| Debian 12 | glibc | 2.17-94 | — |
| Debian 6.0 | eglibc | 2.11.3-4+deb6u5 | DLA-165-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | nscd +7 | 2.12-1.149.el6 | RHSA-2014:1391 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | glibc | 2.24-2.3 | openSUSE-SU-2024:10154-1 |
Advisories 3
- RHSA-2014:1391 Red Hat Security Advisory: glibc security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- DLA-165-1 eglibc - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10154-1 glibc-2.24-2.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 55113 third-party-advisory
- [oss-security] 20130812 Re: CVE Request -- glibc: Buffer overwrite when using readdir_r on file systems returning file names longer than NAME_MAX characters mailing-list
- USN-1991-1 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=995839
- GLSA-201503-04 vendor-advisory
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Ba=commitdiff%3Bh=91ce40854d0b7f865cf5024ef95a8026b76096f3
- 61729 vdb-entry
- https://sourceware.org/bugzilla/show_bug.cgi?id=14699
- MDVSA-2013:283 vendor-advisory