CVE-2024-11403
libjxl: Out of Bounds Memory Read/Write in libjxl
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Amazon (medium), Ubuntu (medium).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.21 | libjxl | 0.10.4-r0 |
| alpine 3.23 | libjxl | 0.11.1-r0 |
| alpine 3.24 | libjxl | 0.11.1-r0 |
| alpine edge | libjxl | 0.11.1-r0 |
| amazon linux 2 | thunderbird, thunderbird-debuginfo | 128.8.1-1.amzn2.0.4 |
| debian 12 | jpeg-xl | 0.7.0-10+deb12u1 |
| debian 13 | jpeg-xl | 0.10.4-2 |
| debian 14 | jpeg-xl | 0.10.4-2 |
| echo | jpeg-xl | 0.7.0-10+deb12u1 |
| rapidfort alma 8 | firefox, thunderbird | no fix listed |
| rapidfort alma 9 | firefox, firefox-x11, thunderbird | no fix listed |
| rapidfort alpine 3.20 | libjxl | 0.10.4-r0 |
Show all 36 entries from 24 sources
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.21 | libjxl | 0.10.4-r0 |
| alpine 3.23 | libjxl | 0.11.1-r0 |
| alpine 3.24 | libjxl | 0.11.1-r0 |
| alpine edge | libjxl | 0.11.1-r0 |
| amazon linux 2 | thunderbird | 128.8.1-1.amzn2.0.4 |
| amazon linux 2 | thunderbird-debuginfo | 128.8.1-1.amzn2.0.4 |
| debian 12 | jpeg-xl | 0.7.0-10+deb12u1 |
| debian 13 | jpeg-xl | 0.10.4-2 |
| debian 14 | jpeg-xl | 0.10.4-2 |
| echo | jpeg-xl | 0.7.0-10+deb12u1 |
| rapidfort alma 8 | firefox | no fix listed |
| rapidfort alma 8 | thunderbird | no fix listed |
| rapidfort alma 9 | firefox | no fix listed |
| rapidfort alma 9 | firefox-x11 | no fix listed |
| rapidfort alma 9 | thunderbird | no fix listed |
| rapidfort alpine 3.20 | libjxl | 0.10.4-r0 |
| rapidfort alpine 3.21 | libjxl | 0.10.4-r0 |
| rapidfort alpine 3.22 | libjxl | 0.10.4-r0 |
| rapidfort alpine 3.23 | libjxl | 0.10.4-r0 |
| rapidfort alpine 3.24 | libjxl | 0.10.4-r0 |
| rapidfort debian 12 | jpeg-xl | 0:0.10.4-2 |
| rapidfort debian 13 | jpeg-xl | 0:0.10.4-2 |
| rapidfort Oracle Linux 9 | firefox | no fix listed |
| rapidfort Oracle Linux 9 | firefox-x11 | no fix listed |
| rapidfort Oracle Linux 9 | thunderbird | no fix listed |
| rapidfort rocky 8 | firefox | no fix listed |
| rapidfort rocky 8 | thunderbird | no fix listed |
| rapidfort rocky 9 | firefox | no fix listed |
| rapidfort rocky 9 | firefox-x11 | no fix listed |
| rapidfort rocky 9 | thunderbird | no fix listed |
| Red Hat | firefox | no fix listed |
| Red Hat | firefox-x11 | no fix listed |
| Red Hat | thunderbird | no fix listed |
| root.io debian 12 | jpeg-xl | 0.7.0-10+deb12u1 |
| root.io debian 12 | rootio-jpeg-xl | 0.7.0-10+deb12u1 |
| ubuntu 24.04 | jpeg-xl | 0.7.0-10.2ubuntu6.1 |