Skip to content

CVE-2024-11403 Out of Bounds Memory Read/Write in libjxl

MediumCVSS 6.9 EPSS 0.63%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

9 packages: 9 fixed.

PackageAffectedFixed inStatus
alpine/libjxl(Alpine v3.21) < 0.10.4-r0 0.10.4-r0 Fixed
alpine/libjxl(Alpine v3.23) < 0.11.1-r0 0.11.1-r0 Fixed
alpine/libjxl(Alpine v3.24) < 0.11.1-r0 0.11.1-r0 Fixed
debian/jpeg-xl(Debian 12) < 0.7.0-10+deb12u1; = 0.7.0-10 0.7.0-10+deb12u1 Fixed
debian/jpeg-xl(Debian 13) < 0.10.4-2 0.10.4-2 Fixed
debian/jpeg-xl(Debian 14) < 0.10.4-2 0.10.4-2 Fixed
libjxl project libjxl < 0.8.4 0.8.4 Fixed
libjxl/libjxl >= 0.7.0-1, < 9cc451b91b74ba470fd72bd48c121e9f33d24c99; >= 0.8.0-3, < 9cc451b91b74ba470fd72bd48c121e9f33d24c99; >= 0.9.0-3, < 9cc451b91b74ba470fd72bd48c121e9f33d24c99; >= 0.10.0-2, < 9cc451b91b74ba470fd72bd48c121e9f33d24c99 +1 more 9cc451b91b74ba470fd72bd48c121e9f33d24c99 Fixed
ubuntu/jpeg-xl(Ubuntu 24.04) < 0.7.0-10.2ubuntu6.1; = 0.7.0-10.2ubuntu1; = 0.7.0-10.2ubuntu4; = 0.7.0-10.2ubuntu5 +2 more 0.7.0-10.2ubuntu6.1 Fixed

Affected products

ProductAffected versionsFixed in
debian/jpeg-xl(Debian:12) < 0.7.0-10+deb12u1 0.7.0-10+deb12u1
debian/jpeg-xl(Debian:12) = 0.7.0-10 No fix listed
debian/jpeg-xl(Debian:13) < 0.10.4-2 0.10.4-2
debian/jpeg-xl(Debian:14) < 0.10.4-2 0.10.4-2
libjxl/libjxl >= 0.11.0, < 9cc451b91b74ba470fd72bd48c121e9f33d24c99 9cc451b91b74ba470fd72bd48c121e9f33d24c99
libjxl/libjxl >= 0.10.0-2, < 9cc451b91b74ba470fd72bd48c121e9f33d24c99 9cc451b91b74ba470fd72bd48c121e9f33d24c99
libjxl/libjxl >= 0.9.0-3, < 9cc451b91b74ba470fd72bd48c121e9f33d24c99 9cc451b91b74ba470fd72bd48c121e9f33d24c99
libjxl/libjxl >= 0.8.0-3, < 9cc451b91b74ba470fd72bd48c121e9f33d24c99 9cc451b91b74ba470fd72bd48c121e9f33d24c99
libjxl/libjxl >= 0.7.0-1, < 9cc451b91b74ba470fd72bd48c121e9f33d24c99 9cc451b91b74ba470fd72bd48c121e9f33d24c99
alpine/libjxl(Alpine:v3.21) < 0.10.4-r0 0.10.4-r0
alpine/libjxl(Alpine:v3.23) < 0.11.1-r0 0.11.1-r0
alpine/libjxl(Alpine:v3.24) < 0.11.1-r0 0.11.1-r0
ubuntu/jpeg-xl(Ubuntu:24.04) < 0.7.0-10.2ubuntu6.1 0.7.0-10.2ubuntu6.1
libjxl project libjxl < 0.8.4 0.8.4
ubuntu/jpeg-xl(Ubuntu:24.04) = 0.7.0-10ubuntu2 No fix listed
ubuntu/jpeg-xl(Ubuntu:24.04) = 0.7.0-10.2ubuntu1 No fix listed
ubuntu/jpeg-xl(Ubuntu:24.04) = 0.7.0-10.2ubuntu4 No fix listed
ubuntu/jpeg-xl(Ubuntu:24.04) = 0.7.0-10.2ubuntu5 No fix listed
ubuntu/jpeg-xl(Ubuntu:24.04) = 0.7.0-10.2ubuntu6 No fix listed

References