All reports
High

LibRaw: LibRaw: Arbitrary code execution via heap-based buffer overflow in lossless JPEG loading

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-21413

Probability of exploitation in the next 30 days: 1.41%

FIRST EPSS · 2026-11-20

Description

A heap-based buffer overflow vulnerability exists in the lossless_jpeg_load_raw functionality of LibRaw Commit 0b56545 and Commit d20315b. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.

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).