{"id":"GHSA-66m8-c62j-h6v5","aliases":["GHSA-66m8-c62j-h6v5"],"related":[],"kind":"vulnerability","state":"published","title":"jxl-oxide: `FrameBuffer::new` creates out-of-bounds slices on overflow","summary":"### 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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"}],"published":"2026-07-02T20:45:10.000Z","modified":"2026-07-02T21:00:16.924Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2,"rating":"MEDIUM"}],"cwes":["CWE-131","CWE-190"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.12.6"}],"ecosystem":"crates.io","package":"jxl-oxide","purl":"pkg:cargo/jxl-oxide","source":"ghsa"}],"references":[{"url":"https://github.com/tirr-c/jxl-oxide/security/advisories/GHSA-66m8-c62j-h6v5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/tirr-c/jxl-oxide","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-66m8-c62j-h6v5","url":"https://github.com/advisories/GHSA-66m8-c62j-h6v5","licence":"CC-BY-4.0","modified":"2026-07-02T21:00:16.924Z"}],"updatedAt":"2026-11-25T22:56:42.278Z"}