{"id":"RUSTSEC-2026-0460","aliases":["GHSA-rmc9-8qp4-gjhx"],"title":"Panic on chroma QP offsets enabled with an empty offset list","titleSource":"OSV","descriptionSource":"OSV","description":"An HEVC Range Extensions stream can set `cu_chroma_qp_offset_enabled_flag` in a\nslice while its picture parameter set carries an empty chroma QP offset list.\nThe decoder then read the list at the signalled index, which panicked on the\nout-of-range access. A panic aborts the decoding thread, or the whole process\nwhen built with `panic = \"abort\"`. The crate forbids `unsafe` code, so there is\nno memory corruption.\n\nAny application that decodes untrusted HEIC files or HEVC streams with\n`heifer-hevc-dec`, directly or through the `heifer` crate, is affected.\n\nThe flaw was corrected in 0.3.27 (commit\n[`1a8426e`](https://github.com/HarpeLm/Heifer/commit/1a8426e1b41160fb48d8baf8be858238570a8093)):\nwith an empty list there is no offset to apply, and the offset is zero.","severity":"medium","score":6.5,"published":"2026-11-04T12:00:00.000Z","modified":"2026-11-09T10:15:02.433Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"crates.io","name":"heifer-hevc-dec","sources":[{"name":"OSV · RUSTSEC-2026-0460","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0460"}],"ranges":[{"events":[{"introduced":"0.0.0-0"},{"fixed":"0.3.27"}],"type":"SEMVER"}],"versions":[],"fixed":["0.3.27"]}],"sourceAffected":[],"references":["https://crates.io/crates/heifer-hevc-dec","https://rustsec.org/advisories/RUSTSEC-2026-0460.html","https://github.com/HarpeLm/Heifer/commit/1a8426e1b41160fb48d8baf8be858238570a8093"],"sources":[{"name":"OSV","id":"RUSTSEC-2026-0460","modified":"2026-11-09T10:15:02.433477015Z","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0460"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5}],"products":[],"remediation":[],"observedAt":"2026-11-09T10:25:38.332Z","kev":{"status":"unavailable","checkedAt":"2026-11-29T00:35:30.798Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":null}