CVE-2013-4237: Buffer Overflow

Published Aug 11, 2013
·
Updated

An out-of buffer bounds write flaw was found in the way the readdirr function in glibc, the GNU C Library, handled a directory entry whose file name name contained more byte than the NAMEMAX characters constant indicated. An attacker could provide a specially-crafted (local) NTFS or (remote) CIFS file system that, when processed in an application using the readdirr() function, would cause that application to crash or, potentially, execute arbitrary code with the privileges of the user running the application.

Upstream bug report: [1] http://sourceware.org/bugzilla/showbug.cgi?id=14699

Latest patch proposal: [2] http://sourceware.org/ml/libc-alpha/2013-05/msg00445.html

Other sources

sysdeps/posix/readdirr.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.

MITRE

Affected Software

27 affected components
GNU glibc<=2.18
GNU glibc=2.0
GNU glibc=2.0.1
GNU glibc=2.0.2
GNU glibc=2.0.3
GNU glibc=2.0.4
GNU glibc=2.0.5
GNU glibc=2.0.6
GNU glibc=2.1
GNU glibc=2.1.1
GNU glibc=2.1.1.6
GNU glibc=2.1.2
GNU glibc=2.1.3
GNU glibc=2.1.9
GNU glibc=2.10.1
GNU glibc=2.11
GNU glibc=2.11.1
GNU glibc=2.11.2
GNU glibc=2.11.3
GNU glibc=2.12.1
GNU glibc=2.12.2
GNU glibc=2.13
GNU glibc=2.14
GNU glibc=2.14.1
GNU glibc=2.15
GNU glibc=2.16
GNU glibc=2.17

Event History

Aug 11, 2013
Data Sourced
12:46 PM
DescriptionSeverityAffected Software
Oct 9, 2013
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2013-4237?

CVE-2013-4237 is considered a high severity vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2013-4237?

To fix CVE-2013-4237, update the GNU C Library to version 2.19 or later.

3

What versions of GNU C Library are affected by CVE-2013-4237?

CVE-2013-4237 affects GNU C Library versions 2.0 through 2.18.

4

Can CVE-2013-4237 be exploited remotely?

Yes, CVE-2013-4237 can be exploited remotely if an attacker can manipulate directory entries.

5

What is the impact of CVE-2013-4237 on system security?

CVE-2013-4237 can lead to unexpected behavior, including potential crashes or arbitrary code execution, undermining system security.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203