{"id":"UBUNTU-CVE-2026-82522","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-16T11:43:09Z","published":"2026-09-02T18:21:00Z","upstream":["CVE-2026-82522"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-82522"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-82522"},{"type":"REPORT","url":"https://github.com/libjxl/libjxl/pull/4885"},{"type":"REPORT","url":"https://github.com/libjxl/libjxl/commit/22ad80af1454f0444ea34115e49ed40517147d68"},{"type":"REPORT","url":"https://github.com/libjxl/libjxl/commit/22ad80af1454f0444ea34115e49ed40517147d68"},{"type":"REPORT","url":"https://github.com/libjxl/libjxl/releases/tag/v0.12.0"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/libjxl-container-box-parser-integer-underflow-via-32-bit-size-truncation"}],"affected":[{"package":{"name":"jpeg-xl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/jpeg-xl?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.0-10ubuntu2","0.7.0-10.2ubuntu1","0.7.0-10.2ubuntu4","0.7.0-10.2ubuntu5","0.7.0-10.2ubuntu6","0.7.0-10.2ubuntu6.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjpegxl-java","binary_version":"0.7.0-10.2ubuntu6.1"},{"binary_name":"libjxl-devtools","binary_version":"0.7.0-10.2ubuntu6.1"},{"binary_name":"libjxl-tools","binary_version":"0.7.0-10.2ubuntu6.1"},{"binary_version":"0.7.0-10.2ubuntu6.1","binary_name":"libjxl0.7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82522.json"}},{"package":{"name":"jpeg-xl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/jpeg-xl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.1-4","0.11.1-6ubuntu1","0.11.1-6ubuntu3","0.11.1-6ubuntu4","0.11.1-6ubuntu4.2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.11.1-6ubuntu4.2","binary_name":"libjpegxl-java"},{"binary_name":"libjxl-devtools","binary_version":"0.11.1-6ubuntu4.2"},{"binary_version":"0.11.1-6ubuntu4.2","binary_name":"libjxl-gdk-pixbuf"},{"binary_version":"0.11.1-6ubuntu4.2","binary_name":"libjxl-tools"},{"binary_name":"libjxl0.11","binary_version":"0.11.1-6ubuntu4.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82522.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"},{"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"},{"type":"Ubuntu","score":"medium"}]}