CVE-2024-11403: Out of Bounds Memory Read/Write in libjxl

Published Nov 25, 2024
·
Updated

There exists an out of bounds read/write in LibJXL versions prior to commit 9cc451b91b74ba470fd72bd48c121e9f33d24c99. The JPEG decoder used by the JPEG XL encoder when doing JPEG recompression (i.e. if using JxlEncoderAddJPEGFrame on untrusted input) does not properly check bounds in the presence of incomplete codes. This could lead to an out-of-bounds write. In jpegli which is released as part of the same project, the same vulnerability is present. However, the relevant buffer is part of a bigger structure, and the code makes no assumptions on the values that could be overwritten. The issue could however cause jpegli to read uninitialised memory, or addresses of functions.

Affected Software

10 affected componentsFixes available
Google libjxl<9cc451b91b74ba470fd72bd48c121e9f33d24c99
Google jpegli<9cc451b91b74ba470fd72bd48c121e9f33d24c99
Libjxl Project Libjxl<0.8.4
debian/jpeg-xl<0.7.0-10+deb12u1
0.7.0-10+deb12u1
debian/jpeg-xl<0.10.4-2
0.10.4-2
debian/jpeg-xl<0.10.4-2
0.10.4-2
debian/jpeg-xl
0.7.0-10+deb12u10.11.2-0.1~deb13u20.11.2-0.1~deb13u30.11.2-5.1
alpine/libjxl<0.10.4-r0
0.10.4-r0
alpine/libjxl<0.11.1-r0
0.11.1-r0
alpine/libjxl<0.11.1-r0
0.11.1-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/jpeg-xl to a version that resolves this vulnerability.

    Fixed in 0.7.0-10+deb12u1
  2. Upgrade

    Upgrade debian/jpeg-xl to a version that resolves this vulnerability.

    Fixed in 0.10.4-2
  3. Upgrade

    Upgrade debian/jpeg-xl to a version that resolves this vulnerability.

    Fixed in 0.7.0-10+deb12u1Fixed in 0.11.2-0.1~deb13u2Fixed in 0.11.2-0.1~deb13u3Fixed in 0.11.2-5.1
  4. Upgrade

    Upgrade alpine/libjxl to a version that resolves this vulnerability.

    Fixed in 0.10.4-r0
  5. Upgrade

    Upgrade alpine/libjxl to a version that resolves this vulnerability.

    Fixed in 0.11.1-r0
  6. Upgrade

    Upgrade libjxl/jpegli to a version that resolves this vulnerability.

    Patch 9cc451b91b74ba470fd72bd48c121e9f33d24c99

Event History

Nov 25, 2024
CVE Published
via MITRE·01:08 PM
Data Sourced
via MITRE·01:08 PM
DescriptionWeakness
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·02:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2024-11403?

CVE-2024-11403 is considered a high-severity vulnerability due to the potential for out of bounds read/write exploits in affected software.

2

How do I fix CVE-2024-11403?

To fix CVE-2024-11403, upgrade to LibJXL versions post commit 9cc451b91b74ba470fd72bd48c121e9f33d24c99.

3

Which versions are affected by CVE-2024-11403?

CVE-2024-11403 affects LibJXL versions prior to commit 9cc451b91b74ba470fd72bd48c121e9f33d24c99.

4

What type of vulnerability is CVE-2024-11403?

CVE-2024-11403 is an out of bounds read/write vulnerability related to the JPEG decoder in LibJXL.

5

What software products are impacted by CVE-2024-11403?

CVE-2024-11403 impacts Google libjxl and jpegli products prior to commit 9cc451b91b74ba470fd72bd48c121e9f33d24c99.

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