Buffer overflow in GNU C Library (glibc) - CVE-2011-5320
Published: November 8, 2017 / Updated: June 3, 2025
Vulnerability identifier: #VU110095
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2011-5320
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.
scanf and related functions in glibc before 2.15 allow local users to cause a denial of service (segmentation fault) via a large string of 0s.
Affected software
GNU C Library (glibc)
How to mitigate CVE-2011-5320
Install update from vendor's website.
GNU C Library (glibc) - update to 2.15
External References
- http://www.openwall.com/lists/oss-security/2015/03/12/14
- https://bugzilla.redhat.com/show_bug.cgi?id=1196745
- https://marc.info/?l=gimp-developer&m=129567990905823&w=2
- https://sourceware.org/bugzilla/show_bug.cgi?id=13138#c4
- https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=20b38e0
- https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=3f8cc204fdd0