{"id":"GHSA-66m8-c62j-h6v5","summary":"jxl-oxide: `FrameBuffer::new` creates out-of-bounds slices on overflow","details":"### Summary\n`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.\n\nAdditionally, 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`.\n\n### Impact\nOn 32-bit platforms this can cause panic by accessing out-of-range indices, making it a DoS vulnerability.","modified":"2026-07-02T21:00:16.924670013Z","published":"2026-07-02T20:45:10Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-07-02T20:45:10Z","nvd_published_at":null,"cwe_ids":["CWE-131","CWE-190"]},"references":[{"type":"WEB","url":"https://github.com/tirr-c/jxl-oxide/security/advisories/GHSA-66m8-c62j-h6v5"},{"type":"PACKAGE","url":"https://github.com/tirr-c/jxl-oxide"}],"affected":[{"package":{"name":"jxl-oxide","ecosystem":"crates.io","purl":"pkg:cargo/jxl-oxide"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.12.6"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 0.12.5","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-66m8-c62j-h6v5/GHSA-66m8-c62j-h6v5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}