{"id":"CVE-2026-82522","summary":"libjxl \u003c 0.12.0 Container Box Parser Integer Underflow via 32-bit Size Truncation","details":"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.","modified":"2026-09-04T03:47:27.737469966Z","published":"2026-09-02T17:37:47.649Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82522.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-681"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82522.json"},{"type":"ADVISORY","url":"https://github.com/libjxl/libjxl/releases/tag/v0.12.0"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82522"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libjxl-container-box-parser-integer-underflow-via-32-bit-size-truncation"},{"type":"REPORT","url":"https://github.com/libjxl/libjxl/pull/4885"},{"type":"FIX","url":"https://github.com/libjxl/libjxl/commit/22ad80af1454f0444ea34115e49ed40517147d68"},{"type":"PACKAGE","url":"https://github.com/libjxl/libjxl"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libjxl/libjxl","events":[{"introduced":"0"},{"fixed":"a7a9c787341cf703dede03c2009fa460cae5e5df"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.12.0"}],"source":"AFFECTED_FIELD"}}],"versions":["v0.11-snapshot","v0.10-snapshot","v0.9-snapshot","v0.7rc","v0.7-base","v0.8-snapshot","v0.6-base","v0.5-base","v0.3.7","v0.3.6","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.3","v0.2.0","v0.2","v0.1.1","v0.1.0","v0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82522.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}]}