Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. jxl-oxide
  4. ›
  5. GHSA-66m8-c62j-h6v5

GHSA-66m8-c62j-h6v5: jxl-oxide: `FrameBuffer::new` creates out-of-bounds slices on overflow

July 2, 2026

jxl-oxide exposes a public safe API that can construct an undersized FrameBuffer due to unchecked usize multiplication, which immediately trigger panic while initializing the buffer in normal decoding path.

Additionally, calling the safe grouped buffer accessors afterward can create invalid oversized slices from a much smaller allocation, causing undefined behavior; however normal decoding path never reaches UB, because these methods are never used within jxl-oxide.

References

  • github.com/advisories/GHSA-66m8-c62j-h6v5
  • github.com/tirr-c/jxl-oxide/security/advisories/GHSA-66m8-c62j-h6v5

Code Behaviors & Features

Detect and mitigate GHSA-66m8-c62j-h6v5 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.12.6

Fixed versions

  • 0.12.6

Solution

Upgrade to version 0.12.6 or above.

Impact 6.2 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-131: Incorrect Calculation of Buffer Size
  • CWE-190: Integer Overflow or Wraparound

Source file

cargo/jxl-oxide/GHSA-66m8-c62j-h6v5.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 18 Jul 2026 00:23:13 +0000.