Vulnerabilities

Vulnerability · CVE-2026-21413

A heap-based buffer overflow vulnerability exists in the lossless_jpeg_load_raw functionality of LibRaw Commit 0b56545 and Commit d20315b.

Published Apr 7, 2026 · catalog updated Oct 13, 2026 · A heap-based buffer overflow

Check if you run it

No confirmed exploitation is on record for CVE-2026-21413. EPSS is 1.38%. Act only if a listed version of A heap-based buffer overflow is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (A heap-based buffer overflow).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Critical9.8
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
1.38%
Remediation
Not established
Affected products
cpe libraw/libraw

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe libraw/libraw0.22.0
  • cpe libraw/libraw0.22.1

How to fix CVE-2026-21413

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2026-21413. EPSS is 1.38%. Act only if a listed version of A heap-based buffer overflow is installed.

Which versions are affected?

Compare what you have installed with 0.22.0, 0.22.1. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-129: Improper Validation of Array Index; CWE-787: Out-of-bounds Write. EPSS 1.38%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 13, 2026 · NCSC Netherlands

    Detected

    Microsoft heeft 1159 kwetsbaarheden verholpen in Windows. Het voert te ver om iedere kwetsbaarheid te benoemen. De 53 ernstigste kwetsbaarheden, met een CVSS score van 9 en hoger zijn weergegeven in onderstaande lijst en geven een kwaadwillende de mogelijkheid om zich voor te doen als andere gebruiker, zich verhoogde rechten toe te kennen en willekeurige code uit te voeren. Deze kwetsbaarheden bev

  2. Oct 13, 2026 · NIST NVD

    Updated

    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.

Sources

  • CVE.orgVulnerability recordCVE-2026-21413

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2026-21413

    30-day exploitation probability 1.4%

    first.org
  • NCSC NetherlandsGovernment advisoryCVE-2026-21413

    Microsoft heeft 1159 kwetsbaarheden verholpen in Windows. Het voert te ver om iedere kwetsbaarheid te benoemen. De 53 ernstigste kwetsbaarheden, met een CVSS score van 9 en hoger zijn weergegeven in onderstaande lijst en geven een kwaadwillende de mogelijkheid om zich voor te doe

    advisories.ncsc.nl
  • NIST NVDVulnerability recordCVE-2026-21413

    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

    nvd.nist.gov

References

Freshness

Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.