Improper Handling of Length Parameter Inconsistency in libheif - #VU146734
Published: September 2, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to a buffer size mismatch causing an out-of-bounds read in SDL_YUV_Display::display420 and heif_view when displaying a crafted HEIF sequence whose declared track resolution is larger than the decoded frame dimensions. A remote attacker can trick the victim into opening a crafted HEIF file to disclose sensitive information.
The example viewer initializes the SDL texture from attacker-controlled VisualSampleEntry dimensions and does not verify that decoded frame dimensions match them.