
CVE catalog
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
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.38% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libraw | sid | 0.22.1-1 | fixed |
| Debian | libraw | forky | 0.22.1-1 | fixed |
| Debian | libraw | trixie | 0.21.4-2+deb13u1 | fixed |
| Debian | libraw | bookworm | 0.20.2-2.1+deb12u1 | vulnerable |
| Debian | libraw | bookworm-security | 0.20.2-2.1+deb12u2 | fixed |
| Cpe | libraw | Not reported | 0.21.2-2.1ubuntu0.24.04.2 | fixed |
| Cpe | libraw-bin | Not reported | 0.21.2-2.1ubuntu0.24.04.2 | fixed |
| Cpe | libraw-dev | Not reported | 0.21.2-2.1ubuntu0.24.04.2 | fixed |
| Cpe | libraw-doc | Not reported | 0.21.2-2.1ubuntu0.24.04.2 | fixed |
| Cpe | libraw23t64 | Not reported | 0.21.2-2.1ubuntu0.24.04.2 | fixed |
| Cpe | libraw | Not reported | Not reported | unknown |
| Cpe | libraw | Not reported | Not reported | unknown |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libraw | source | sid | 0.22.1-1 | not yet assigned | Not reported | [1133845] |
| Debian | libraw | source | forky | 0.22.1-1 | not yet assigned | Not reported | [1133845] |
| Debian | libraw | source | trixie | 0.21.4-2+deb13u1 | not yet assigned | Not reported | [1133845] |
| Debian | libraw | source | bookworm | 0.20.2-2.1+deb12u2 | not yet assigned | Not reported | [1133845] |
| Cpe | libraw | cpe | Not reported | 0.21.2-2.1ubuntu0.24.04.2 | Not reported | Not reported | Not reported |
| Cpe | libraw-bin | cpe | Not reported | 0.21.2-2.1ubuntu0.24.04.2 | Not reported | Not reported | Not reported |
| Cpe | libraw-dev | cpe | Not reported | 0.21.2-2.1ubuntu0.24.04.2 | Not reported | Not reported | Not reported |
| Cpe | libraw-doc | cpe | Not reported | 0.21.2-2.1ubuntu0.24.04.2 | Not reported | Not reported | Not reported |
| Cpe | libraw23t64 | cpe | Not reported | 0.21.2-2.1ubuntu0.24.04.2 | Not reported | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libraw20]Affected
Source package: [libraw]
Details (4)
0.20.2-2.1+deb12u1· amd64 · bookwormAffected · Fixed:
0.20.2-2.1+deb12u2nvd · libraw · debian · bookworm
0.20.2-2.1+deb12u1· arm64 · bookwormAffected · Fixed:
0.20.2-2.1+deb12u2nvd · libraw · debian · bookworm
0.20.2-2.1+deb12u2· amd64 · bookworm-securityFixed · Fixed:
0.20.2-2.1+deb12u2nvd · libraw · debian · bookworm
0.20.2-2.1+deb12u2· arm64 · bookworm-securityFixed · Fixed:
0.20.2-2.1+deb12u2nvd · libraw · debian · bookworm
- [libraw-bin]Affected
Source package: [libraw]
Details (4)
0.20.2-2.1+deb12u1· amd64 · bookwormAffected · Fixed:
0.20.2-2.1+deb12u2nvd · libraw · debian · bookworm
0.20.2-2.1+deb12u1· arm64 · bookwormAffected · Fixed:
0.20.2-2.1+deb12u2nvd · libraw · debian · bookworm
0.20.2-2.1+deb12u2· amd64 · bookworm-securityFixed · Fixed:
0.20.2-2.1+deb12u2nvd · libraw · debian · bookworm
0.20.2-2.1+deb12u2· arm64 · bookworm-securityFixed · Fixed:
0.20.2-2.1+deb12u2nvd · libraw · debian · bookworm
- [libraw-dev]Affected
Source package: [libraw]
Details (4)
0.20.2-2.1+deb12u1· amd64 · bookwormAffected · Fixed:
0.20.2-2.1+deb12u2nvd · libraw · debian · bookworm
0.20.2-2.1+deb12u1· arm64 · bookwormAffected · Fixed:
0.20.2-2.1+deb12u2nvd · libraw · debian · bookworm
0.20.2-2.1+deb12u2· amd64 · bookworm-securityFixed · Fixed:
0.20.2-2.1+deb12u2nvd · libraw · debian · bookworm
0.20.2-2.1+deb12u2· arm64 · bookworm-securityFixed · Fixed:
0.20.2-2.1+deb12u2nvd · libraw · debian · bookworm
- [libraw-doc]Affected
Source package: [libraw]
Details (4)
0.20.2-2.1+deb12u1· all · bookwormAffected · Fixed:
0.20.2-2.1+deb12u2nvd · libraw · debian · bookworm
0.20.2-2.1+deb12u1· all · bookwormAffected · Fixed:
0.20.2-2.1+deb12u2nvd · libraw · debian · bookworm
0.20.2-2.1+deb12u2· all · bookworm-securityFixed · Fixed:
0.20.2-2.1+deb12u2nvd · libraw · debian · bookworm
0.20.2-2.1+deb12u2· all · bookworm-securityFixed · Fixed:
0.20.2-2.1+deb12u2nvd · libraw · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-21413]
- [https://osv.dev/vulnerability/CVE-2026-21413]
- [https://security-tracker.debian.org/tracker/CVE-2026-21413]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-21413.json]
- [https://ubuntu.com/security/notices/USN-8522-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1298.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]