Impact
A heap‑based buffer overflow exists in LibRaw’s lossless_jpeg_load_raw procedure. A specially crafted lossless JPEG file can overflow a heap buffer, allowing an attacker to execute arbitrary code in the context of the process that loads the file. The flaw is classified as CWE‑129 (Improper Validation of Array Index) and CWE‑787 (Out‑of‑Bounds Write).
Affected Systems
The vulnerability affects the LibRaw library, specifically versions 0.22.0 and 0.22.1. Any application that uses these LibRaw releases to process lossless JPEG images could be affected.
Risk and Exploitability
The CVSS score of 9.8 indicates a critical severity, while the EPSS score is below 1 % and the vulnerability is not listed in CISA’s KEV catalog. The attack vector likely involves local or remote users who can supply a malicious image file to an application that relies on LibRaw for decoding. Successful exploitation would give the attacker code execution rights within the hosting process, potentially compromising entire systems.
OpenCVE Enrichment