{"id":"RUSTSEC-2026-0456","aliases":["GHSA-rcff-5x58-7w2p"],"title":"Panic on an HEVC tile layout that does not match the active SPS","titleSource":"OSV","descriptionSource":"OSV","description":"An HEVC picture parameter set (PPS) stores explicit tile column widths and row\nheights computed against the sequence parameter set (SPS) active when it was\nparsed. A crafted stream can redefine that SPS afterwards, so that the tile sizes\nadd up to more than the picture. The decoder then indexed past its coding tree\nblock tables: Rust's bounds checks turned this into a panic, or the picture was\ndecoded wrongly. A panic aborts the decoding thread, or the whole process when\nbuilt with `panic = \"abort\"`. The crate forbids `unsafe` code, so there is no\nmemory 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[`71dfc67`](https://github.com/HarpeLm/Heifer/commit/71dfc67f1e3ae3c4b7e4cf633e83a26c94b06a92)):\na tile layout that does not match the picture size is rejected with\n`Error::Invalid` at decode time.","severity":"medium","score":6.5,"published":"2026-11-04T12:00:00.000Z","modified":"2026-11-09T10:00:02.340Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"crates.io","name":"heifer-hevc-dec","sources":[{"name":"OSV · RUSTSEC-2026-0456","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0456"}],"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-0456.html","https://github.com/HarpeLm/Heifer/commit/71dfc67f1e3ae3c4b7e4cf633e83a26c94b06a92"],"sources":[{"name":"OSV","id":"RUSTSEC-2026-0456","modified":"2026-11-09T10:00:02.340396376Z","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0456"}],"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:05:39.630Z","kev":{"status":"unavailable","checkedAt":"2026-11-29T01:15:31.312Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":null}