CVE-2026-20884
LibRaw: LibRaw: Arbitrary code execution via integer overflow in deflate_dng_load_raw
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Julia. Rated lower by Amazon (high), Red Hat (medium), Ubuntu (medium).
Description
An integer overflow vulnerability exists in the deflate_dng_load_raw functionality of LibRaw Commit 8dc68e2. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| julia::Julia Ecosystem Security Advisories | LibRaw_jll | 0.22.2+0 |
| alpine 3.24 | libraw | 0.22.2-r0 |
| alpine edge | libraw | 0.22.2-r0 |
| amazon linux 2 | LibRaw, LibRaw-debuginfo, LibRaw-devel and 1 more | 0.19.4-1.amzn2.0.8 |
| debian 11 | libraw | 0.20.2-1+deb11u3 |
| debian 12 | libraw | 0.20.2-2.1+deb12u2 |
| debian 13 | libraw | 0.21.4-2+deb13u1 |
| debian 14 | libraw | 0.22.1-1 |
| echo | libraw | 0.20.2-2.1+deb12u2 |
| rapidfort alpine 3.20 | libraw | 0.22.2-r0 |
| rapidfort alpine 3.21 | libraw | 0.22.2-r0 |
| rapidfort alpine 3.22 | libraw | 0.22.2-r0 |
Show all 48 entries from 27 sources
| Source | Package | Fixed in |
|---|---|---|
| julia::Julia Ecosystem Security Advisories | LibRaw_jll | 0.22.2+0 |
| alpine 3.24 | libraw | 0.22.2-r0 |
| alpine edge | libraw | 0.22.2-r0 |
| amazon linux 2 | LibRaw | 0.19.4-1.amzn2.0.8 |
| amazon linux 2 | LibRaw-debuginfo | 0.19.4-1.amzn2.0.8 |
| amazon linux 2 | LibRaw-devel | 0.19.4-1.amzn2.0.8 |
| amazon linux 2 | LibRaw-static | 0.19.4-1.amzn2.0.8 |
| debian 11 | libraw | 0.20.2-1+deb11u3 |
| debian 12 | libraw | 0.20.2-2.1+deb12u2 |
| debian 13 | libraw | 0.21.4-2+deb13u1 |
| debian 14 | libraw | 0.22.1-1 |
| echo | libraw | 0.20.2-2.1+deb12u2 |
| rapidfort alpine 3.20 | libraw | 0.22.2-r0 |
| rapidfort alpine 3.21 | libraw | 0.22.2-r0 |
| rapidfort alpine 3.22 | libraw | 0.22.2-r0 |
| rapidfort alpine 3.23 | libraw | 0.22.2-r0 |
| rapidfort alpine 3.24 | libraw | 0.22.2-r0 |
| rapidfort debian 12 | libraw | 0:0.20.2-2.1+deb12u2, 0:0.21.4-2+deb13u1, 0:0.22.1-1 |
| rapidfort debian 12 | rf-libraw | 0:0.20.2-2.1+deb12u2, 0:0.21.4-2+deb13u1, 0:0.22.1-1 |
| rapidfort debian 13 | libraw | 0:0.20.2-2.1+deb12u2, 0:0.21.4-2+deb13u1, 0:0.22.1-1 |
| rapidfort debian 13 | rf-libraw | 0:0.20.2-2.1+deb12u2, 0:0.21.4-2+deb13u1, 0:0.22.1-1 |
| rapidfort fedora 43 | darktable | 5.6.1-2.fc43 |
| rapidfort fedora 43 | darktable-tools-basecurve | 5.6.1-2.fc43 |
| rapidfort fedora 43 | darktable-tools-noise | 5.6.1-2.fc43 |
| rapidfort fedora 43 | mingw-LibRaw | 0.21.5-3.fc43 |
| rapidfort fedora 43 | mingw32-LibRaw | 0.21.5-3.fc43 |
| rapidfort fedora 43 | mingw32-LibRaw-static | 0.21.5-3.fc43 |
| rapidfort fedora 43 | mingw32-LibRaw-tools | 0.21.5-3.fc43 |
| rapidfort fedora 43 | mingw64-LibRaw | 0.21.5-3.fc43 |
| rapidfort fedora 43 | mingw64-LibRaw-static | 0.21.5-3.fc43 |
| rapidfort fedora 43 | mingw64-LibRaw-tools | 0.21.5-3.fc43 |
| rapidfort ubuntu 20.04 | libraw | 0:0.21.2-2.1ubuntu0.24.04.2 |
| rapidfort ubuntu 20.04 | rf-libraw | 0:0.21.2-2.1ubuntu0.24.04.2 |
| rapidfort ubuntu 22.04 | libraw | 0:0.21.2-2.1ubuntu0.24.04.2 |
| rapidfort ubuntu 22.04 | rf-libraw | 0:0.21.2-2.1ubuntu0.24.04.2 |
| rapidfort ubuntu 24.04 | libraw | 0:0.21.2-2.1ubuntu0.24.04.2 |
| rapidfort ubuntu 24.04 | rf-libraw | 0:0.21.2-2.1ubuntu0.24.04.2 |
| Red Hat | LibRaw | no fix listed |
| Red Hat | LibRaw-devel | no fix listed |
| Red Hat | LibRaw-static | no fix listed |
| root.io debian 13 | rootio-libraw | no fix listed |
| ubuntu 18.04-ESM | digikam | no fix listed |
| ubuntu 18.04-ESM | libraw | no fix listed |
| ubuntu 18.04-ESM | rawtherapee | no fix listed |
| ubuntu 20.04-ESM | libraw | no fix listed |
| ubuntu 22.04 | libraw | 0.20.2-2ubuntu2.22.04.3 |
| ubuntu 24.04 | libraw | 0.21.2-2.1ubuntu0.24.04.2 |
| ubuntu 26.04 | libraw | 0.21.5b-1ubuntu1.1 |
References
- https://access.redhat.com/security/cve/CVE-2026-20884
- https://github.com/LibRaw/LibRaw/releases/tag/0.22.1
- https://nvd.nist.gov/vuln/detail/CVE-2026-20884
- https://talosintelligence.com/vulnerability_reports/TALOS-2026-2364
- https://ubuntu.com/security/notices/USN-8522-1
- https://www.cve.org/CVERecord?id=CVE-2026-20884
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2026-2364