A crafted HEIF file gives libheif an attacker-controlled heap overwrite and target-specific server code execution.
libheif, a cross-platform HEIF/AVIF decoding library used by Linux applications, Android apps that bundle it, and server-side image pipelines.
In the uncompressed codec, mismatched Cb and Cr bit depths cause two-byte attacker-selected samples to overrun a one-byte chroma plane.
Detail and 2 sources
The researcher converted it into file disclosure and PHP execution only on an exact Debian and WordPress target that also required a valid Author account.
Portable execution across arbitrary consumers was not demonstrated; a patch exists but was not assessed for this brief.