A heap-based buffer overflow vulnerability exists in the losslessjpegload_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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21413.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"last_affected": "Commit 0b56545"
},
{
"last_affected": "Commit d20315b"
}
],
"source": "AFFECTED_FIELD"
}
],
"cna_assigner": "talos",
"cwe_ids": [
"CWE-129"
]
}{
"cpe": [
"cpe:2.3:a:libraw:libraw:0.22.0:*:*:*:*:*:*:*",
"cpe:2.3:a:libraw:libraw:0.22.1:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "0.22.0"
},
{
"last_affected": "0.22.1"
}
],
"source": "CPE_FIELD"
}