CVE-2014-6040: Buffer Overflow

Published Sep 1, 2014
·
Updated

Crashes were reported in the IBM code page decoding functions (IBM933, IBM935, IBM937, IBM939, IBM1364):

https://sourceware.org/bugzilla/showbug.cgi?id=17325 https://sourceware.org/ml/libc-alpha/2014-08/msg00473.html

Florian Weimer noted:

"These crashers are out-of-bounds reads at a fixed offset relative to the data segment of a DSO, and in all cases I've seen, they were right in the middle of an unmapped segment of the same DSO. This means that these bugs are just crashers, but they can still result in denial-of-service conditions."

Reference:

http://seclists.org/oss-sec/2014/q3/466

Other sources

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.

— MITRE

Affected Software

31 affected componentsFixes available
GNU glibc<=2.19
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
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
GNU glibc=2.18
debian/glibc
2.19-12
debian/eglibc
2.11.3-4+deb6u22.13-38+deb7u7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/glibc to a version that resolves this vulnerability.

    Fixed in 2.19-12
  2. Upgrade

    Upgrade debian/eglibc to a version that resolves this vulnerability.

    Fixed in 2.11.3-4+deb6u2Fixed in 2.13-38+deb7u7
  3. Upgrade

    Upgrade glibc to a version that resolves this vulnerability.

    Fixed in 2.20

Event History

Sep 1, 2014
Data Sourced
via Red Hat·02:28 AM
DescriptionSeverityAffected Software
Dec 5, 2014
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Data Sourced
04:59 PM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2014-6040?

CVE-2014-6040 has been classified as a denial of service vulnerability that can cause application crashes.

2

How do I fix CVE-2014-6040?

To fix CVE-2014-6040, update the GNU C Library to version 2.20 or later.

3

What systems are affected by CVE-2014-6040?

CVE-2014-6040 affects versions of the GNU C Library prior to 2.20, including multiple legacy versions.

4

What kind of attack does CVE-2014-6040 facilitate?

CVE-2014-6040 allows context-dependent attackers to exploit an out-of-bounds read resulting in a denial of service.

5

Is CVE-2014-6040 commonly exploited?

While CVE-2014-6040 represents a serious risk, it requires specific conditions to be effectively exploited.

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