GitHub Advisoryadvisory · crates.io
GHSA-2v8p-fqpx-2q3w jxl-oxide: integer subtraction overflow panic in cluster_from_table via crafted JXL input (DoS)
MEDIUM
Official page ↗
- Ecosystem
- crates.io
- Packages
- jxl-modular
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-190
- Reviewed
- 2026-07-02
Affected packages
• crates.io jxl-modular: < 0.11.3 → fixed in 0.11.3
Description
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.
Related
Weakness · CWE (1)
- CWE-190 Integer Overflow or Wraparound weakness