Buffer overflow in GNU C Library (glibc) - CVE-2014-6040

 

Buffer overflow in GNU C Library (glibc) - CVE-2014-6040

Published: December 5, 2014 / Updated: August 9, 2020


Vulnerability identifier: #VU41035
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-6040
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 service disruption.

GNU C Library (aka glibc) before 2.20 allows context-dependent attackers to cause a denial of service (out-of-bounds read and crash) via a multibyte character value of "0xffff" to the iconv function when converting (1) IBM933, (2) IBM935, (3) IBM937, (4) IBM939, or (5) IBM1364 encoded data to UTF-8.


Affected software

GNU C Library (glibc)
Gentoo Linux
Slackware Linux
glibc
glibc-i18n
glibc-profile
glibc-solibs
sys-libs/glibc

How to mitigate CVE-2014-6040

Install update from vendor's website.

glibc - update to 2.17
glibc-i18n - update to 2.17
glibc-profile - update to 2.17
glibc-solibs - update to 2.17
sys-libs/glibc - update to 2.21-r2

External References

Related Security Bulletins