Heap-based buffer overflow in Openimageio - CVE-2026-43906
Published: May 5, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to a heap-based buffer overflow in the HEIF decoder when processing crafted HEIF images with mismatched subimage metadata. A remote attacker can supply a specially crafted image to execute arbitrary code.
The issue occurs when a larger scanline from one subimage is copied into a buffer allocated for a smaller subimage after subimage switching.
Affected software
Ubuntu
openimageio (Ubuntu package)
How to mitigate CVE-2026-43906
openimageio (Ubuntu package) - addressed in versions 1.6.11~dfsg0-1ubuntu1+esm2, 1.7.17~dfsg0-1ubuntu2+esm1, 2.1.12.0~dfsg0-1ubuntu0.1~esm1, 2.4.17.0+dfsg-1.1ubuntu0.1~esm1, 2.5.19.1+dfsg-2ubuntu0.1~esm1