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

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS: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.

DistributionPackageReleaseVersionStatus
Debianlibrawsid0.22.1-1fixed
Debianlibrawforky0.22.1-1fixed
Debianlibrawtrixie0.21.4-2+deb13u1fixed
Debianlibrawbookworm0.20.2-2.1+deb12u1vulnerable
Debianlibrawbookworm-security0.20.2-2.1+deb12u2fixed
CpelibrawNot reported0.21.2-2.1ubuntu0.24.04.2fixed
Cpelibraw-binNot reported0.21.2-2.1ubuntu0.24.04.2fixed
Cpelibraw-devNot reported0.21.2-2.1ubuntu0.24.04.2fixed
Cpelibraw-docNot reported0.21.2-2.1ubuntu0.24.04.2fixed
Cpelibraw23t64Not reported0.21.2-2.1ubuntu0.24.04.2fixed
CpelibrawNot reportedNot reportedunknown
CpelibrawNot reportedNot reportedunknown

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibrawsourcesid0.22.1-1not yet assignedNot reported[1133845]
Debianlibrawsourceforky0.22.1-1not yet assignedNot reported[1133845]
Debianlibrawsourcetrixie0.21.4-2+deb13u1not yet assignedNot reported[1133845]
Debianlibrawsourcebookworm0.20.2-2.1+deb12u2not yet assignedNot reported[1133845]
CpelibrawcpeNot reported0.21.2-2.1ubuntu0.24.04.2Not reportedNot reportedNot reported
Cpelibraw-bincpeNot reported0.21.2-2.1ubuntu0.24.04.2Not reportedNot reportedNot reported
Cpelibraw-devcpeNot reported0.21.2-2.1ubuntu0.24.04.2Not reportedNot reportedNot reported
Cpelibraw-doccpeNot reported0.21.2-2.1ubuntu0.24.04.2Not reportedNot reportedNot reported
Cpelibraw23t64cpeNot reported0.21.2-2.1ubuntu0.24.04.2Not reportedNot reportedNot reported

[Debian bug #1133845]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libraw20]Affected

    Source package: [libraw]

    Details (4)
    • 0.20.2-2.1+deb12u1 · amd64 · bookworm

      Affected · Fixed: 0.20.2-2.1+deb12u2

      nvd · libraw · debian · bookworm

    • 0.20.2-2.1+deb12u1 · arm64 · bookworm

      Affected · Fixed: 0.20.2-2.1+deb12u2

      nvd · libraw · debian · bookworm

    • 0.20.2-2.1+deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 0.20.2-2.1+deb12u2

      nvd · libraw · debian · bookworm

    • 0.20.2-2.1+deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 0.20.2-2.1+deb12u2

      nvd · libraw · debian · bookworm

  • [libraw-bin]Affected

    Source package: [libraw]

    Details (4)
    • 0.20.2-2.1+deb12u1 · amd64 · bookworm

      Affected · Fixed: 0.20.2-2.1+deb12u2

      nvd · libraw · debian · bookworm

    • 0.20.2-2.1+deb12u1 · arm64 · bookworm

      Affected · Fixed: 0.20.2-2.1+deb12u2

      nvd · libraw · debian · bookworm

    • 0.20.2-2.1+deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 0.20.2-2.1+deb12u2

      nvd · libraw · debian · bookworm

    • 0.20.2-2.1+deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 0.20.2-2.1+deb12u2

      nvd · libraw · debian · bookworm

  • [libraw-dev]Affected

    Source package: [libraw]

    Details (4)
    • 0.20.2-2.1+deb12u1 · amd64 · bookworm

      Affected · Fixed: 0.20.2-2.1+deb12u2

      nvd · libraw · debian · bookworm

    • 0.20.2-2.1+deb12u1 · arm64 · bookworm

      Affected · Fixed: 0.20.2-2.1+deb12u2

      nvd · libraw · debian · bookworm

    • 0.20.2-2.1+deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 0.20.2-2.1+deb12u2

      nvd · libraw · debian · bookworm

    • 0.20.2-2.1+deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 0.20.2-2.1+deb12u2

      nvd · libraw · debian · bookworm

  • [libraw-doc]Affected

    Source package: [libraw]

    Details (4)
    • 0.20.2-2.1+deb12u1 · all · bookworm

      Affected · Fixed: 0.20.2-2.1+deb12u2

      nvd · libraw · debian · bookworm

    • 0.20.2-2.1+deb12u1 · all · bookworm

      Affected · Fixed: 0.20.2-2.1+deb12u2

      nvd · libraw · debian · bookworm

    • 0.20.2-2.1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 0.20.2-2.1+deb12u2

      nvd · libraw · debian · bookworm

    • 0.20.2-2.1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 0.20.2-2.1+deb12u2

      nvd · libraw · debian · bookworm

Observed:

References