{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.12.0"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a7a9c787341cf703dede03c2009fa460cae5e5df"
            }
          ],
          "repo": "https://github.com/libjxl/libjxl",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-681"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82522.json"
  },
  "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.",
  "id": "CVE-2026-82522",
  "modified": "2026-09-04T03:31:01.488849398Z",
  "published": "2026-09-02T17:37:47.649Z",
  "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"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "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": "CVSS_V4"
    }
  ],
  "summary": "libjxl \u003c 0.12.0 Container Box Parser Integer Underflow via 32-bit Size Truncation"
}