Resource exhaustion via Stack overflow in libjxl
libjxl
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| libjxl libjxl |
| No fix yet |
libjxl
| Product | Affected | Fixed in |
|---|---|---|
| libjxl libjxl |
| No fix yet |
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.
From the CVE record · Google
A stack buffer overflow in libjxl’s JPEG XL decoder can cause excessive stack usage when it decodes a specially crafted file, potentially exhausting the stack. An attacker can craft such a file; the input does not specify whether authentication or user interaction is required.
Engineers who run libjxl should check their builds; affected versions are not specified.