Description (CNA)
libjxl before 0.12 contains an integer underflow vulnerability in the container box parser that allows remote attackers to inject arbitrary metadata by exploiting 64-bit box size truncation to size_t on 32-bit platforms. Attackers can supply a crafted JPEG XL file causing the decoder to parse attacker-controlled codestream bytes as phantom box headers, enabling injection of arbitrary metadata (Exif, XMP, IPTC, JUMBF) and potential out-of-bounds reads.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| libjxl / libjxl | affected 0 before 0.12.0 |
CWE
CWE-681
References
- https://github.com/libjxl/libjxl/releases/tag/v0.12.0
- https://github.com/libjxl/libjxl/pull/4885
- https://github.com/libjxl/libjxl/commit/22ad80af1454f0444ea34115e49ed40517147d68
- https://www.vulncheck.com/advisories/libjxl-container-box-parser-integer-underflow-via-32-bit-size-truncation
ADP enrichment
No English description supplied.
No references supplied.