#VU113802 Heap-based buffer overflow in OpenJPEG - CVE-2025-54874
Published: August 11, 2025 / Updated: February 3, 2026
OpenJPEG
openjpeg.org
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the opj_jp2_read_header() function in src/lib/openjp2/jp2.c. A remote attacker can pass specially crafted image to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.