# CVE-2026-21413: A heap-based buffer overflow vulnerability exists in the losslessjpegloadraw functionality of LibRaw Commit 0b56545 and Commit d20315b.

- Severity: Critical 9.8 (CVSS:3.1, scored by talos) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.31%, higher than 71% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-04-07T13:49:29.784Z
- Modified: 2026-10-13T22:17:37.350Z
- Weaknesses: CWE-129, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: talos

## 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.

(As written by CVE List.)

## Affected

- LibRaw LibRaw: Commit 0b56545; Commit d20315b; 0.22.0; 0.22.1
- LibRaw: no versions given (not affected: from 0:0.19.5-6.el8_10 before *; from 0:0.19.5-2.el8_4.1 before *; from 0:0.19.5-3.el8_6.1 before *; from 0:0.19.5-3.el8_8.1 before *; from 0:0.21.1-2.el9_7 before *; from 0:0.21.1-2.el9_8 before *; from 0:0.20.2-6.el9_0 before *; from 0:0.20.2-6.el9_2 before *; from 0:0.21.1-2.el9_4 before *; from 0:0.21.1-2.el9_6 before *)
- libraw1394: no versions given

## Every score

- talos: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://talosintelligence.com/vulnerability_reports/TALOS-2026-2331> (exploit, third-party-advisory)
- <https://www.talosintelligence.com/vulnerability_reports/TALOS-2026-2331> (exploit, third-party-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-21413> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2455929> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-21413.json>
- <https://access.redhat.com/errata/RHSA-2026:13284> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:14224> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:14655> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:14673> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:13860> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:13868> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:13870> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:13854> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:11360> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19345> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-21413](https://www.cve.org/CVERecord?id=CVE-2026-21413), CVE Terms of Use, modified 2026-10-13
- NVD: [CVE-2026-21413](https://nvd.nist.gov/vuln/detail/CVE-2026-21413), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2026-21413 · Whole record: https://cve.day/CVE-2026-21413.json · Rebuilt by cve.day 2026-11-25T22:59:18.099Z
