CVE-2026-21413 is a heap-based buffer overflow in LibRaw's lossless_jpeg_load_raw() functionality, reported against commits 0b56545 and d20315b. The vulnerable code path is used when LibRaw decodes lossless JPEG data embedded in certain RAW image formats, with Canon CR2 specifically identified as a predominant affected format. According to the provided sources, a specially crafted malicious image file can trigger improper array index validation during parsing/decoding, resulting in a heap buffer overflow and memory corruption in the consuming application.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A heap-based buffer overflow vulnerability in LibRaw that can be triggered by a specially crafted malicious file.
A heap-based buffer overflow in the lossless_jpeg_load_raw functionality of LibRaw affecting Commit 0b56545 and Commit d20315b, triggerable via a specially crafted malicious file.
A critical heap-based buffer overflow in LibRaw's lossless_jpeg_load_raw() function that can allow unauthenticated remote code execution when parsing malicious RAW image files, especially Canon CR2 files.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.