CVE-2024-11403Out of Bounds Memory Read/Write in libjxl
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | jpeg-xl | Fixed | 0.7.0-10.2ubuntu6.1 | UBUNTU-CVE-2024-11403 |
| Debian 14 | jpeg-xl | Fixed | 0.10.4-2 | DEBIAN-CVE-2024-11403 |
| Debian 13 | jpeg-xl | Fixed | 0.10.4-2 | DEBIAN-CVE-2024-11403 |
| Debian 12 | jpeg-xl | Fixed | 0.7.0-10+deb12u1 | DEBIAN-CVE-2024-11403 |
| Red Hat Enterprise Linux 9 | firefox | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | firefox-x11 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | thunderbird | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | firefox | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | thunderbird | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | firefox | Will not fix Out of support scope | ||
| Alpine Linux 3.24 | libjxl | Fixed | 0.11.1-r0 | ALPINE-CVE-2024-11403 |
| Alpine Linux 3.23 | libjxl | Fixed | 0.11.1-r0 | ALPINE-CVE-2024-11403 |
| Alpine Linux 3.21 | libjxl | Fixed | 0.10.4-r0 | ALPINE-CVE-2024-11403 |
What the vendor says
As published in the CVE record by Google, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- libjxl: affected: 0.11.0 to before 9cc451b91b74ba470fd72bd48c121e9f33d24c99, 0.10.0-2 to before 9cc451b91b74ba470fd72bd48c121e9f33d24c99, 0.9.0-3 to before 9cc451b91b74ba470fd72bd48c121e9f33d24c99, 0.8.0-3 to before 9cc451b91b74ba470fd72bd48c121e9f33d24c99, 0.7.0-1 to before 9cc451b91b74ba470fd72bd48c121e9f33d24c99; fixed in
9cc451b91b74ba470fd72bd48c121e9f33d24c99
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.