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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| libjxl | libjxl | 0.11.0 – < 9cc451b91b74ba470fd72bd48c121e9f33d24c99, 0.10.0-2 – < 9cc451b91b74ba470fd72bd48c121e9f33d24c99, 0.9.0-3 – < 9cc451b91b74ba470fd72bd48c121e9f33d24c99, 0.8.0-3 – < 9cc451b91b74ba470fd72bd48c121e9f33d24c99, 0.7.0-1 – < 9cc451b91b74ba470fd72bd48c121e9f33d24c99 | 9cc451b91b74ba470fd72bd48c121e9f33d24c99 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | jpeg-xl | 0.10.4-2 | — |
| Debian 13 | jpeg-xl | 0.10.4-2 | — |
| Debian 12 | jpeg-xl | 0.7.0-10+deb12u1 | DSA-5958-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | jpeg-xl | 0.7.0-10.2ubuntu6.1 | USN-7637-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | libjxl | 0.10.3-150700.4.3.1 | SUSE-SU-2025:01883-1 |
| SLES 15 SP6 | mozjs115 | 115.4.0-150600.3.6.1 | SUSE-SU-2024:4411-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP6 | libjxl +1 | 0.8.4-bp156.3.3.4 | openSUSE-SU-2025:0139-1 |
| SUSE Package Hub 15 SP5 | qt6-webengine +1 | 6.4.2-bp155.2.6.1 | openSUSE-SU-2024:0402-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libjxl | 0.11.1-1.1 | openSUSE-SU-2024:14531-1 |
| openSUSE Tumbleweed | mozjs115 | 115.15.0-4.1 | openSUSE-SU-2024:14594-1 |
| openSUSE Tumbleweed | mozjs128 | 128.5.1-3.1 | openSUSE-SU-2024:14600-1 |
| openSUSE Leap 15.6 | libjxl +1 | 0.8.4-bp156.3.3.4 | openSUSE-SU-2025:0139-1 |
| openSUSE Leap 15.6 | mozjs115 | 115.4.0-150600.3.6.1 | SUSE-SU-2024:4411-1 |
| openSUSE Leap 15.5 | qt6-webengine +1 | 6.4.2-bp155.2.6.1 | openSUSE-SU-2024:0402-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libjxl | 0.11.1-r0 | — |
| Alpine v3.23 | libjxl | 0.11.1-r0 | — |
| Alpine v3.21 | libjxl | 0.10.4-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | thunderbird | 128.8.1-1.amzn2.0.4 | ALAS2-2025-2830 |
Advisories 10
- USN-7637-1 jpeg-xl vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-5958-1 jpeg-xl - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2025:0139-1 Security update for libjxl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:4411-1 Security update for mozjs115 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14594-1 libmozjs-115-0-115.15.0-4.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:0402-1 Security update for qt6-webengine SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14600-1 libmozjs-128-0-128.5.1-3.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14531-1 libjxl-devel-0.11.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:01883-1 Security update for libjxl SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2025-2830 Moderate: thunderbird security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Apr 16, 2025