Description
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.
Published: 2026-09-02
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is an integer underflow in the container box parser of libjxl before version 0.12.0, causing a 32‑bit truncation of 64‑bit box sizes to size_t on 32‑bit platforms. This flaw can make the decoder interpret attacker‑controlled bytes as phantom box headers, allowing the injection of arbitrary metadata such as Exif, XMP, IPTC, or JUMBF, and potentially leading to out‑of‑bounds reads.

Affected Systems

All releases of libjxl prior to 0.12.0 are impacted. Any software that incorporates libjxl to decode JPEG XL images—such as image editors, browsers, or server‑side rendering services—must be evaluated for use of the vulnerable library version.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity and the EPSS score is not available, implying no recent exploitation data. The vulnerability is not listed in CISA KEV. Attackers can exploit it remotely by supplying a crafted JPEG XL file; the parser will misinterpret the metadata boxes, enabling injection or potential memory corruption. The risk is primarily data integrity and possible memory safety violations rather than remote code execution.

Generated by OpenCVE AI on September 3, 2026 at 10:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Patch the libjxl library to version 0.12.0 or later as provided by the official release.
  • If upgrade is not immediately feasible, isolate image decoding functionality in a sandboxed environment and enforce strict input validation on JPEG XL files.
  • Monitor application logs for anomalous metadata insertion or memory access errors that may indicate exploitation attempts.

Generated by OpenCVE AI on September 3, 2026 at 10:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Sep 2026 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Libjxl
Libjxl libjxl
Vendors & Products Libjxl
Libjxl libjxl

Wed, 02 Sep 2026 17:45:00 +0000

Type Values Removed Values Added
Description 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.
Title libjxl < 0.12.0 Container Box Parser Integer Underflow via 32-bit Size Truncation
Weaknesses CWE-681
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-02T18:01:58.760Z

Reserved: 2026-08-29T17:20:57.081Z

Link: CVE-2026-82522

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-02T18:21:27.587

Modified: 2026-09-02T19:18:07.100

Link: CVE-2026-82522

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T10:30:12Z

Weaknesses
  • CWE-681

    Incorrect Conversion between Numeric Types