GHSA-rcff-5x58-7w2p

GHSA-rcff-5x58-7w2p · RUSTSEC-2026-0456 · published 4 Nov 2026 · updated 9 Nov 2026

Panic on an HEVC tile layout that does not match the active SPS

5.0Medium

No exploitation in the wild has been reported. Fixed in heifer-hevc-dec 0.3.27.

An HEVC picture parameter set (PPS) stores explicit tile column widths and row heights computed against the sequence parameter set (SPS) active when it was parsed. A crafted stream can redefine that SPS afterwards, so that the tile sizes add up to more than the picture. The decoder then indexed past its coding tree block tables: Rust's bounds checks turned this into a panic, or the picture was decoded wrongly. A panic aborts the decoding thread, or the whole process when built with `panic = "abort"`. The crate forbids `unsafe` code, so there is no memory corruption. Any application that decodes untrusted HEIC files or HEVC streams with `heifer-hevc-dec`, directly or through the `heifer` crate, is affected. The flaw was corrected in 0.3.27 (commit [`71dfc67`](https://github.com/HarpeLm/Heifer/commit/71dfc67f1e3ae3c4b7e4cf633e83a26c94b06a92)): a tile layout that does not match the picture size is rejected with `Error::Invalid` at decode time.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
cargo: heifer-hevc-dec>=0.0.0-0 <0.3.270.3.27

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in heifer-hevc-dec (Cargo), strongest first

Embed

A live severity badge for an advisory, README or ticket

GHSA-rcff-5x58-7w2p severity on Zeptric[![GHSA-rcff-5x58-7w2p](https://zeptric.io/badge/cve/GHSA-rcff-5x58-7w2p.svg)](https://zeptric.io/cve/GHSA-rcff-5x58-7w2p)