6.9medium
Resource exhaustion via Stack overflow in libjxl
- Severity
- 6.9medium CVSS:4.0 by Google
- Exploit likelihood
- 0.60% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
Description
There exists a stack buffer overflow in libjxl. A specifically-crafted file can cause the JPEG XL decoder to use large amounts of stack space (up to 256mb is possible, maybe 512mb), potentially exhausting the stack. An attacker can craft a file that will cause excessive memory usage. We recommend upgrading past commit 65fbec56bc578b6b6ee02a527be70787bbd053b0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| libjxl libjxl | from 0.11.0 before 65fbec56bc578b6b6ee02a527be70787bbd053b0, from 0.10.0-2 before 65fbec56bc578b6b6ee02a527be70787bbd053b0, from 0.9.0-3 before 65fbec56bc578b6b6ee02a527be70787bbd053b0, from 0.8.0-3 before 65fbec56bc578b6b6ee02a527be70787bbd053b0, from 0.7.0-1 before 65fbec56bc578b6b6ee02a527be70787bbd053b0 | CVE List |
| libjxl_project libjxl | before 0.8.4 | NVD |
All scores
| 6.9medium CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H | |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
There exists a stack buffer overflow in libjxl. A specifically-crafted file can cause the JPEG XL decoder to use large amounts of stack space (up to 256mb is possible, maybe 512mb), potentially exhausting the stack. An attacker can craft a file that will cause excessive memory usage. We recommend upgrading past commit 65fbec56bc578b6b6ee02a527be70787bbd053b0.
NVD (es)
Existe un desbordamiento del búfer de pila en libjxl. Un archivo creado específicamente puede hacer que el decodificador JPEG XL utilice grandes cantidades de espacio de pila (hasta 256 MB es posible, tal vez 512 MB), lo que podría agotar la pila. Un atacante puede crear un archivo que cause un uso excesivo de la memoria. Recomendamos actualizar a partir de el commit 65fbec56bc578b6b6ee02a527be70787bbd053b0.
References
| https://github.com/libjxl/libjxl/pull/3943 | issue-tracking, patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-11498 changed 2024-11-25 | CVE Terms of Use |
| NVD | CVE-2024-11498 changed 2026-06-17 | Public domain |