CVE-2026-21413
CVE-2026-21413 is a critical-severity vulnerability in Libraw with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-129.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- EPSS exploit prediction: 1% (50th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-19624
- Weakness: CWE-129
- Affected product: Libraw
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-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.
- How severe is CVE-2026-21413?
- CVE-2026-21413 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-21413 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (50th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-21413?
- CVE-2026-21413 primarily affects Libraw. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2026-21413?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2026-21413 have an EU (EUVD) identifier?
- Yes. CVE-2026-21413 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-19624.
- When was CVE-2026-21413 published?
- CVE-2026-21413 was published on 2026-04-07 and last updated on 2026-06-30.
References
- https://talosintelligence.com/vulnerability_reports/TALOS-2026-2331
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2026-2331
- https://access.redhat.com/errata/RHSA-2026:11360
- https://access.redhat.com/errata/RHSA-2026:13284
- https://access.redhat.com/errata/RHSA-2026:13854
- https://access.redhat.com/errata/RHSA-2026:13860
- https://access.redhat.com/errata/RHSA-2026:13868
- https://access.redhat.com/errata/RHSA-2026:13870
- https://access.redhat.com/errata/RHSA-2026:14224
- https://access.redhat.com/errata/RHSA-2026:14655
- https://access.redhat.com/errata/RHSA-2026:14673
- https://access.redhat.com/errata/RHSA-2026:19345
- https://access.redhat.com/security/cve/CVE-2026-21413
- https://bugzilla.redhat.com/show_bug.cgi?id=2455929
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-21413.json
Affected products (2)
- cpe:2.3:a:libraw:libraw:0.22.0:*:*:*:*:*:*:*
- cpe:2.3:a:libraw:libraw:0.22.1:*:*:*:*:*:*:*
More vulnerabilities in Libraw
- CVE-2026-20911 — Critical (CVSS 9.8): A heap-based buffer overflow vulnerability exists in the HuffTable::initval functionality of LibRaw Commit 0b56545 and…
- CVE-2026-20889 — Critical (CVSS 9.8): A heap-based buffer overflow vulnerability exists in the x3f_thumb_loader functionality of LibRaw Commit d20315b. A…
- CVE-2015-8367 — Critical (CVSS 9.8): The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory errors and possibly execute…
- CVE-2015-8366 — Critical (CVSS 9.8): Array index error in smal_decode_segment function in LibRaw before 0.17.1 allows context-dependent attackers to cause…
- CVE-2017-14265 — Critical (CVSS 9.8): A Stack-based Buffer Overflow was discovered in xtrans_interpolate in internal/dcraw_common.cpp in LibRaw before…
- CVE-2017-6886 — Critical (CVSS 9.8): An error within the "parse_tiff_ifd()" function (internal/dcraw_common.cpp) in LibRaw versions before 0.18.2 can be…
Other CWE-129 (Improper Validation of Array Index) vulnerabilities
- CVE-2020-27485 — Critical (CVSS 9.9): Garmin Forerunner 235 before 8.20 is affected by: Array index error. The component is: ConnectIQ TVM. The attack vector…
- CVE-2020-27483 — Critical (CVSS 9.9): Garmin Forerunner 235 before 8.20 is affected by: Array index error. The component is: ConnectIQ TVM. The attack vector…
- CVE-2025-27034 — Critical (CVSS 9.8): Memory corruption while selecting the PLMN from SOR failed list.
- CVE-2025-3357 — Critical (CVSS 9.8): IBM Tivoli Monitoring 6.3.0.7 through 6.3.0.7 Service Pack 19 could allow a remote attacker to execute arbitrary code…
- CVE-2024-45569 — Critical (CVSS 9.8): Memory corruption while parsing the ML IE due to invalid frame content.
- CVE-2024-38623 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Use variable length array instead of…
Browse all CWE-129 (Improper Validation of Array Index) vulnerabilities →