GHSA-2v8p-fqpx-2q3w: jxl-oxide Denial of Service Vulnerability

MODERATE
CVSS 6.2
CWE-190
Published
Advisory Summary

GHSA-2v8p-fqpx-2q3w is a MODERATE (CVSS 6.2) denial of service vulnerability (CWE-190: Integer Overflow or Wraparound) affecting jxl-oxide libraries in the crates.io ecosystem. The issue involves integer subtraction overflow panic in cluster_from_table via crafted jxl input (dos). Remediation is available by upgrading affected packages to version 0.11.3.

GHSA-2v8p-fqpx-2q3w at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-2v8p-fqpx-2q3w
Severity MODERATE
CVSS v3.1 Base Score 6.2
CWE Classification CWE-190: Integer Overflow or Wraparound
Affected Product jxl-oxide
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 6.2

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix GHSA-2v8p-fqpx-2q3w

To remediate this vulnerability, upgrade all affected jxl-oxide dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

jxl-modular fixed: 0.11.3
Upgrade jxl-modular to 0.11.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for jxl-modular

How to Check if You Are Affected

To determine whether your application is affected by GHSA-2v8p-fqpx-2q3w, inspect your project dependencies for jxl-oxide:

inspect dependencies for jxl-modular

Analyze the terminal output to locate any version of jxl-oxide in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.11.3), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-190: Integer Overflow or Wraparound, where the product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. this occurs when an integer value is incremented to a value that is too large to store in the associated representation. when this occurs, the value may become a very small or negative number. In jxl-oxide, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary Logic bug in `decode_simple_table_slow` may cause integer arithmetic overflow when decoding Modular image with certain kind of MA tree, which may panic with `overflow-checks` enabled. ### Impact Denial of service: any application passing untrusted JXL data to `JxlImage::render_frame` (or equivalent) can be crashed. Affects all builds with overflow checks enabled, which includes debug builds and any release build that sets `overflow-checks = true` in Cargo.toml or `[profile.*]`. No memory corruption is possible — the panic fires before any unsafe code is reached.

GHSA-2v8p-fqpx-2q3w Affected jxl-oxide Versions

1 component(s)
Fixed Versions:
0.11.3
Product / Package Ecosystem Affected Versions Fixed Version
jxl-modular
crates.io
< 0.11.3
0.11.3

References

Frequently Asked Questions

What is GHSA-2v8p-fqpx-2q3w?
GHSA-2v8p-fqpx-2q3w is a security vulnerability in jxl-oxide involving integer subtraction overflow panic in cluster_from_table via crafted JXL input (DoS) under CWE-190: Integer Overflow or Wraparound.
Which jxl-oxide versions are affected?
Affected versions include releases prior to 0.11.3 across affected packages: jxl-modular.
What version fixes GHSA-2v8p-fqpx-2q3w?
Upgrading to 0.11.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is jxl-modular affected?
Yes, jxl-modular is affected in releases prior to 0.11.3. Upgrade your dependency to 0.11.3 or later.
What is the CVSS score of GHSA-2v8p-fqpx-2q3w?
GHSA-2v8p-fqpx-2q3w has a CVSS v3.1 base score of 6.2 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with GHSA-2v8p-fqpx-2q3w?
GHSA-2v8p-fqpx-2q3w is classified under CWE-190: Integer Overflow or Wraparound (The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.).
How can I check crates.io dependencies for GHSA-2v8p-fqpx-2q3w?
Run the dependency tree command: 'inspect dependencies for jxl-modular'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2v8p-fqpx-2q3w",
  "modified" : "2026-07-02T20:44:57Z",
  "published" : "2026-07-02T20:44:57Z",
  "aliases" : [ ],
  "summary" : "jxl-oxide: integer subtraction overflow panic in cluster_from_table via crafted JXL input (DoS)",
  "details" : "### Summary\nLogic bug in `decode_simple_table_slow` may cause integer arithmetic overflow when decoding Modular image with certain kind of MA tree, which may panic with `overflow-checks` enabled.\n\n### Impact\nDenial of service: any application passing untrusted JXL data to `JxlImage::render_frame` (or equivalent) can be\ncrashed. Affects all builds with overflow checks enabled, which includes debug builds and any release build\nthat sets `overflow-checks = true` in Cargo.toml or `[profile.*]`.\n\nNo memory corruption is possible — the panic fires before any unsafe code is reached.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "jxl-modular"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.11.3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.11.2"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/tirr-c/jxl-oxide/security/advisories/GHSA-2v8p-fqpx-2q3w"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/tirr-c/jxl-oxide"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-190" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-02T20:44:57Z",
    "nvd_published_at" : null
  }
}