glibc: Buffer overwrite when using readdir_r on file systems returning file names longer than NAME_MAX characters
Published Oct 9, 2013
6.8
MEDIUMCVSS 2.0
EPSS 3.83%
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.
Affected products
No data.
- ≤ 2.18
- 2.0
- 2.0.1
- 2.0.2
- 2.0.3
- 2.0.4
- 2.0.5
- 2.0.6
- 2.1
- 2.1.1
- 2.1.1.6
- 2.1.2
- 2.1.3
- 2.1.9
- 2.10.1
- 2.11
- 2.11.1
- 2.11.2
- 2.11.3
- 2.12.1
- 2.12.2
- 2.13
- 2.14
- 2.14.1
- 2.15
- 2.16
- 2.17
No data.
Red Hat Enterprise Linux 6
glibc-0:2.12-1.149.el6
Fixed · RHSA-2014:1391
Red Hat Enterprise Linux 5
glibc
Will not fix
Red Hat Enterprise Linux 7
glibc
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | glibc-0:2.12-1.149.el6 | Fixed | RHSA-2014:1391 |
| Red Hat Enterprise Linux 5 | glibc | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | glibc | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the versions of glibc as shipped with Red Hat Enterprise Linux 5. This issue is not planned to be fixed in Red Hat Enterprise Linux 5 as it is now in Production 3 Phase of the support and maintenance life cycle, https://access.redhat.com/support/policy/updates/errata/
Red Hat mitigation
Do not open untrusted filesystem image files on production systems.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.83% (0.03832) | 89.76th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.85% (0.03847) | 88.73th | v5 (v2026.06.15) |
| Mar 30, 2025 | 1.42% (0.01422) | 78.81th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.68% (0.02678) | 76.33th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.42% (0.01422) | 79.26th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.28% (0.00279) | 69.21th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.28% (0.00279) | 67.44th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.28% (0.00279) | 63.36th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.65% (0.02646) | 82.22th | v2 (v2022.01.01) |
| Feb 13, 2023 | 2.65% (0.02646) | 81.74th | v2 (v2022.01.01) |
| Feb 3, 2023 | 9.92% (0.09915) | 94.31th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.65% (0.02646) | 80.46th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.65% (0.02646) | 61.82th | v2 (v2022.01.01) |
References (12)
- http://secunia.com/advisories/55113 third-party-advisoryx_refsource_SECUNIA
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:283 vendor-advisoryx_refsource_MANDRIVA
- http://www.openwall.com/lists/oss-security/2013/08/12/8 mailing-listx_refsource_MLISTPatch
- http://www.securityfocus.com/bid/61729 vdb-entryx_refsource_BID
- http://www.ubuntu.com/usn/USN-1991-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2013-4237 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=995839 x_refsource_CONFIRMPatchIssue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2013-4237
- https://security.gentoo.org/glsa/201503-04 vendor-advisoryx_refsource_GENTOO
- https://sourceware.org/bugzilla/show_bug.cgi?id=14699 x_refsource_CONFIRMPatch
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Ba=commitdiff%3Bh=91ce40854d0b7f865cf5024ef95a8026b76096f3 x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2013-4237
| Link | Providers | Tags |
|---|---|---|
| http://secunia.com/advisories/55113 | third-party-advisoryx_refsource_SECUNIA | |
| http://www.mandriva.com/security/advisories?name=MDVSA-2013:283 | vendor-advisoryx_refsource_MANDRIVA | |
| http://www.openwall.com/lists/oss-security/2013/08/12/8 | mailing-listx_refsource_MLISTPatch | |
| http://www.securityfocus.com/bid/61729 | vdb-entryx_refsource_BID | |
| http://www.ubuntu.com/usn/USN-1991-1 | vendor-advisoryx_refsource_UBUNTU | |
| https://access.redhat.com/security/cve/CVE-2013-4237 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=995839 | x_refsource_CONFIRMPatchIssue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2013-4237 | ||
| https://security.gentoo.org/glsa/201503-04 | vendor-advisoryx_refsource_GENTOO | |
| https://sourceware.org/bugzilla/show_bug.cgi?id=14699 | x_refsource_CONFIRMPatch | |
| https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Ba=commitdiff%3Bh=91ce40854d0b7f865cf5024ef95a8026b76096f3 | x_refsource_CONFIRM | |
| https://www.cve.org/CVERecord?id=CVE-2013-4237 |
Change history (0)
No recorded changes yet.