Skip to content
OpenAdvisories
Medium · 6.9 CVE-2024-11403 EUVD-2024-33796GHSA-5pp5-4vfv-784q

Out of Bounds Memory Read/Write in libjxl

Published Nov 25, 2024 · Updated Nov 25, 2024 · Assigned by Google

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS jpeg-xl 0.7.0-10.2ubuntu6.1 USN-7637-1
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Amazon Linux 2 thunderbird 128.8.1-1.amzn2.0.4 ALAS2-2025-2830

Advisories 10

References