CVE-2024-11403

Out of Bounds Memory Read/Write in libjxl

State
Published
Severity
6.9 Medium
Published
Nov 25, 2024
Updated
Nov 25, 2024
Reserved
Nov 19, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:NGoogle

Weaknesses

Affected Products

ProductVersions
libjxllibjxl
  • 0.11.0 to before 9cc451b91b74ba470fd72bd48c121e9f33d24c99Affected
  • 0.10.0-2 to before 9cc451b91b74ba470fd72bd48c121e9f33d24c99Affected
  • 0.9.0-3 to before 9cc451b91b74ba470fd72bd48c121e9f33d24c99Affected
  • 0.8.0-3 to before 9cc451b91b74ba470fd72bd48c121e9f33d24c99Affected
  • 0.7.0-1 to before 9cc451b91b74ba470fd72bd48c121e9f33d24c99Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.