libheif versions from 1.16.0 up to but not including 1.23.6 contain an out-of-bounds read vulnerability in the color space conversion function. This flaw occurs when crafted HEIF files supply RGB samples exceeding the declared bit depth, causing libsharpyuv gamma table lookups to read out of bounds. The vulnerability can lead to process crashes or memory leakage into output pixels.