CVE-2013-6629: Infoleak

Published Nov 12, 2013
·
Updated

It was reported [1],[2] that libjpeg and libjpeg-turbo would use uninitialized memory when decoding images with missing SOS data for the luminance component (Y) in the presence of valid chroma data (Cr, Cb). An example proof of concept that can be viewed in a browser is also available [3].

This was reported and fixed initially in Google Chrome/Chromium; it does not appear to be fixed in upstream libjpeg or libjpeg-turbo yet. Patches to the third party source in Chromium for libjpeg [4] and libjpeg-turbo [5] however are available.

[1] http://googlechromereleases.blogspot.de/2013/11/stable-channel-update.html [2] http://packetstormsecurity.com/files/123989/IJG-jpeg6b-libjpeg-turbo-Uninitialized-Memory.html [3] http://lcamtuf.coredump.cx/jpegleak/ [4] http://src.chromium.org/viewvc/chrome/trunk/src/thirdparty/libjpeg/jdmarker.c?r1=228354&r2=228353&pathrev=228354 [5] http://src.chromium.org/viewvc/chrome/trunk/deps/thirdparty/libjpegturbo/jdmarker.c?r1=228381&r2=228380&pathrev=228381

Other sources

The getsos function in jdmarker.c in (1) libjpeg 6b and (2) libjpeg-turbo through 1.3.0, as used in Google Chrome before 31.0.1650.48, Ghostscript, and other products, does not check for certain duplications of component data during the reading of segments that follow Start Of Scan (SOS) JPEG markers, which allows remote attackers to obtain sensitive information from uninitialized memory locations via a crafted JPEG image.

Affected Software

35 affected componentsFixes available
redhat/java<1.7.0-oracle-1:1.7.0.55-1jpp.2.el5_10
1.7.0-oracle-1:1.7.0.55-1jpp.2.el5_10
redhat/java<1.6.0-sun-1:1.6.0.75-1jpp.3.el5_10
1.6.0-sun-1:1.6.0.75-1jpp.3.el5_10
redhat/java<1.7.0-oracle-1:1.7.0.55-1jpp.1.el6_5
1.7.0-oracle-1:1.7.0.55-1jpp.1.el6_5
redhat/java<1.6.0-sun-1:1.6.0.75-1jpp.1.el6_5
1.6.0-sun-1:1.6.0.75-1jpp.1.el6_5
redhat/libjpeg-turbo<0:1.2.1-3.el6_5
0:1.2.1-3.el6_5
redhat/java<1.6.0-ibm-1:1.6.0.16.0-1jpp.1.el5
1.6.0-ibm-1:1.6.0.16.0-1jpp.1.el5
redhat/java<1.7.0-ibm-1:1.7.0.7.0-1jpp.1.el5_10
1.7.0-ibm-1:1.7.0.7.0-1jpp.1.el5_10
redhat/java<1.6.0-ibm-1:1.6.0.16.0-1jpp.1.el5_10
1.6.0-ibm-1:1.6.0.16.0-1jpp.1.el5_10
redhat/java<1.5.0-ibm-1:1.5.0.16.6-1jpp.1.el5_10
1.5.0-ibm-1:1.5.0.16.6-1jpp.1.el5_10
redhat/java<1.7.0-ibm-1:1.7.0.7.0-1jpp.1.el6_5
1.7.0-ibm-1:1.7.0.7.0-1jpp.1.el6_5
redhat/java<1.6.0-ibm-1:1.6.0.16.0-1jpp.1.el6_5
1.6.0-ibm-1:1.6.0.16.0-1jpp.1.el6_5
redhat/java<1.5.0-ibm-1:1.5.0.16.6-1jpp.1.el6_5
1.5.0-ibm-1:1.5.0.16.6-1jpp.1.el6_5
redhat/java<1.7.1-ibm-1:1.7.1.1.0-1jpp.2.el7_0
1.7.1-ibm-1:1.7.1.1.0-1jpp.2.el7_0
Google Chrome<31.0.1650.48
Oracle Solaris=11.3
Artifex Gpl Ghostscript<9.03
Libjpeg-turbo Libjpeg-turbo<1.3.1
Fedoraproject Fedora=18
Fedoraproject Fedora=19
Fedoraproject Fedora=20
openSUSE openSUSE=12.2
openSUSE openSUSE=12.3
openSUSE openSUSE=13.1
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=12.10
Canonical Ubuntu Linux=13.04
Canonical Ubuntu Linux=13.10
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Mozilla Firefox<26.0
Mozilla Firefox ESR<24.2
Mozilla SeaMonkey<2.23
Mozilla Thunderbird<24.2.0
Mozilla Firefox<24.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 1.7.0-oracle-1:1.7.0.55-1jpp.2.el5_10
  2. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 1.6.0-sun-1:1.6.0.75-1jpp.3.el5_10
  3. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 1.7.0-oracle-1:1.7.0.55-1jpp.1.el6_5
  4. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 1.6.0-sun-1:1.6.0.75-1jpp.1.el6_5
  5. Upgrade

    Upgrade redhat/libjpeg-turbo to a version that resolves this vulnerability.

    Fixed in 0:1.2.1-3.el6_5
  6. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 1.6.0-ibm-1:1.6.0.16.0-1jpp.1.el5
  7. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 1.7.0-ibm-1:1.7.0.7.0-1jpp.1.el5_10
  8. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 1.6.0-ibm-1:1.6.0.16.0-1jpp.1.el5_10
  9. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 1.5.0-ibm-1:1.5.0.16.6-1jpp.1.el5_10
  10. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 1.7.0-ibm-1:1.7.0.7.0-1jpp.1.el6_5
  11. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 1.6.0-ibm-1:1.6.0.16.0-1jpp.1.el6_5
  12. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 1.5.0-ibm-1:1.5.0.16.6-1jpp.1.el6_5
  13. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 1.7.1-ibm-1:1.7.1.1.0-1jpp.2.el7_0

Event History

Nov 12, 2013
CVE Published
12:00 AM
Nov 15, 2013
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Nov 18, 2013
Data Sourced
via Red Hat·04:21 PM
DescriptionSeverityAffected Software
Nov 19, 2013
Data Sourced
via NVD·04:50 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2013-6629?

The severity of CVE-2013-6629 is rated as moderate, but it can lead to potential security issues due to uninitialized memory usage.

2

How do I fix CVE-2013-6629?

To fix CVE-2013-6629, update the affected software to the recommended versions such as libjpeg-turbo 1.2.1-3.el6_5 or the respective patched versions for Java.

3

What software is affected by CVE-2013-6629?

CVE-2013-6629 affects several packages, including libjpeg-turbo and various Java versions from Red Hat.

4

Can exploiting CVE-2013-6629 lead to information leakage?

Yes, exploiting CVE-2013-6629 could potentially lead to information leakage due to the way uninitialized memory is handled.

5

Are there known exploits for CVE-2013-6629?

While there is a proof of concept available, specific public exploits for CVE-2013-6629 have not been widely reported.

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