CVE-2024-11403
Out of Bounds Memory Read/Write in libjxl
Reported by google · Published November 25, 2024
libjxl is fixed in 9cc451b91b74ba470fd72bd48c121e9f33d24c99 (GitHub Packages)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libjxl | GitHub Packages | 9cc451b91b74ba470fd72bd48c121e9f33d24c99 |
| libjxl | Alpine | 0.11.1-r0, 0.10.4-r0 |
| thunderbird | Amazon Linux | 128.8.1-1.amzn2.0.4 |
| libjxl | libjxl_project | 0.8.4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| libjxl | libjxl | 0.11.0, 0.10.0-2, 0.9.0-3 |
| libjxl | libjxl | 0.11.0, 0.10.0-2, 0.9.0-3 |
Timeline
- Nov 25, 2024 CVE Published
- Nov 25, 2024 PoC Published
- Nov 25, 2024 CVE Updated
- Nov 26, 2024 EPSS Score (30 in total, the first dated here)
- Feb 10, 2025 Coalition ESS Score (24 in total, the first dated here)
- Jun 2, 2026 Security Advisory (5 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-11403
vulnetix vdb fixes CVE-2024-11403
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-11403/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart