CVE-2026-21413
LibRaw: LibRaw: Arbitrary code execution via heap-based buffer overflow in lossless JPEG loading
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 7, 2026
Updated · June 30, 2026
Description
A flaw was found in LibRaw. A heap-based buffer overflow vulnerability exists in the lossless_jpeg_load_raw functionality. A remote attacker can exploit this by providing a specially crafted malicious file. This can lead to arbitrary code execution, allowing the attacker to take control of the affected system, or cause a denial of service (DoS).
Statement
LibRaw is not installed by default on Red Hat systems. A user would need to manually install and make available an affected code path for this vulnerability to be exploitable.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-787 · Out-of-bounds Write