Skip to content
Fencer Intel
medium 6.8

CVE-2013-4237 json

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 o…

published 2013-10-09 13 y ago modified 2026-06-16 4 mo ago also EUVD-2013-4141

cvss
6.8
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.8%
EPSS 3.8% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

Summary

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.

Patch / fix

  • glibc Debian 14, Debian 13, Debian 12 2.17-94

debian advisories DEBIAN-CVE-2013-4237

  • glibc RHEL 6 2.12-1.149.el6
  • nscd RHEL 6 2.12-1.149.el6
  • glibc-utils RHEL 6 2.12-1.149.el6
  • glibc-common RHEL 6 2.12-1.149.el6
  • glibc-debuginfo-common RHEL 6 2.12-1.149.el6

red hat advisories RHSA-2014:1391

  • glibc openSUSE Tumbleweed 2.24-2.3

opensuse advisories openSUSE-SU-2024:10154-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2013-4237 updated cvss 6.8

glibc: Buffer overwrite when using readdir_r on file systems returning file names longer than NAME_MAX characters

  • Red Hat Enterprise Linux 5 glibc
    affected: workaround, no fix planned “Do not open untrusted filesystem image files on production systems.”
  • Red Hat Enterprise Linux Desktop (v. 6) nscd 2.12-1.149.el6, glibc 2.12-1.149.el6, glibc-utils 2.12-1.149.el6, glibc-common 2.12-1.149.el6, glibc-debuginfo-common 2.12-1.149.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) glibc-debuginfo-common 2.12-1.149.el6 Red Hat Enterprise Linux HPC Node (v. 6) nscd 2.12-1.149.el6, glibc 2.12-1.149.el6, glibc-utils 2.12-1.149.el6, glibc-common 2.12-1.149.el6, glibc-debuginfo-common 2.12-1.149.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) glibc-debuginfo-common 2.12-1.149.el6 Red Hat Enterprise Linux Server (v. 6) nscd 2.12-1.149.el6, glibc 2.12-1.149.el6, glibc-utils 2.12-1.149.el6, glibc-common 2.12-1.149.el6, glibc-debuginfo-common 2.12-1.149.el6 Red Hat Enterprise Linux Server Optional (v. 6) glibc-debuginfo-common 2.12-1.149.el6
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 6) nscd 2.12-1.149.el6, glibc 2.12-1.149.el6, glibc-utils 2.12-1.149.el6, glibc-common 2.12-1.149.el6, glibc-debuginfo-common 2.12-1.149.el6 Red Hat Enterprise Linux Workstation Optional (v. 6) glibc-debuginfo-common 2.12-1.149.el6
    fixed: vendor fix “Do not open untrusted filesystem image files on production systems.” RHSA-2014:1391
  • Red Hat Enterprise Linux 7 nscd, glibc, glibc-utils, glibc-common
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.83% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.