Vulnerabilities / CVE-2026-20884

critical

CVE-2026-20884

LibRaw: LibRaw: Arbitrary code execution via integer overflow in deflate_dng_load_raw

Published Modified CWE 190
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.5CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Julia9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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

SourcePackageFixed in
julia::Julia Ecosystem Security AdvisoriesLibRaw_jll0.22.2+0
alpine 3.24libraw0.22.2-r0
alpine edgelibraw0.22.2-r0
amazon linux 2LibRaw, LibRaw-debuginfo, LibRaw-devel and 1 more0.19.4-1.amzn2.0.8
debian 11libraw0.20.2-1+deb11u3
debian 12libraw0.20.2-2.1+deb12u2
debian 13libraw0.21.4-2+deb13u1
debian 14libraw0.22.1-1
echolibraw0.20.2-2.1+deb12u2
rapidfort alpine 3.20libraw0.22.2-r0
rapidfort alpine 3.21libraw0.22.2-r0
rapidfort alpine 3.22libraw0.22.2-r0
Show all 48 entries from 27 sources
SourcePackageFixed in
julia::Julia Ecosystem Security AdvisoriesLibRaw_jll0.22.2+0
alpine 3.24libraw0.22.2-r0
alpine edgelibraw0.22.2-r0
amazon linux 2LibRaw0.19.4-1.amzn2.0.8
amazon linux 2LibRaw-debuginfo0.19.4-1.amzn2.0.8
amazon linux 2LibRaw-devel0.19.4-1.amzn2.0.8
amazon linux 2LibRaw-static0.19.4-1.amzn2.0.8
debian 11libraw0.20.2-1+deb11u3
debian 12libraw0.20.2-2.1+deb12u2
debian 13libraw0.21.4-2+deb13u1
debian 14libraw0.22.1-1
echolibraw0.20.2-2.1+deb12u2
rapidfort alpine 3.20libraw0.22.2-r0
rapidfort alpine 3.21libraw0.22.2-r0
rapidfort alpine 3.22libraw0.22.2-r0
rapidfort alpine 3.23libraw0.22.2-r0
rapidfort alpine 3.24libraw0.22.2-r0
rapidfort debian 12libraw0:0.20.2-2.1+deb12u2, 0:0.21.4-2+deb13u1, 0:0.22.1-1
rapidfort debian 12rf-libraw0:0.20.2-2.1+deb12u2, 0:0.21.4-2+deb13u1, 0:0.22.1-1
rapidfort debian 13libraw0:0.20.2-2.1+deb12u2, 0:0.21.4-2+deb13u1, 0:0.22.1-1
rapidfort debian 13rf-libraw0:0.20.2-2.1+deb12u2, 0:0.21.4-2+deb13u1, 0:0.22.1-1
rapidfort fedora 43darktable5.6.1-2.fc43
rapidfort fedora 43darktable-tools-basecurve5.6.1-2.fc43
rapidfort fedora 43darktable-tools-noise5.6.1-2.fc43
rapidfort fedora 43mingw-LibRaw0.21.5-3.fc43
rapidfort fedora 43mingw32-LibRaw0.21.5-3.fc43
rapidfort fedora 43mingw32-LibRaw-static0.21.5-3.fc43
rapidfort fedora 43mingw32-LibRaw-tools0.21.5-3.fc43
rapidfort fedora 43mingw64-LibRaw0.21.5-3.fc43
rapidfort fedora 43mingw64-LibRaw-static0.21.5-3.fc43
rapidfort fedora 43mingw64-LibRaw-tools0.21.5-3.fc43
rapidfort ubuntu 20.04libraw0:0.21.2-2.1ubuntu0.24.04.2
rapidfort ubuntu 20.04rf-libraw0:0.21.2-2.1ubuntu0.24.04.2
rapidfort ubuntu 22.04libraw0:0.21.2-2.1ubuntu0.24.04.2
rapidfort ubuntu 22.04rf-libraw0:0.21.2-2.1ubuntu0.24.04.2
rapidfort ubuntu 24.04libraw0:0.21.2-2.1ubuntu0.24.04.2
rapidfort ubuntu 24.04rf-libraw0:0.21.2-2.1ubuntu0.24.04.2
Red HatLibRawno fix listed
Red HatLibRaw-develno fix listed
Red HatLibRaw-staticno fix listed
root.io debian 13rootio-librawno fix listed
ubuntu 18.04-ESMdigikamno fix listed
ubuntu 18.04-ESMlibrawno fix listed
ubuntu 18.04-ESMrawtherapeeno fix listed
ubuntu 20.04-ESMlibrawno fix listed
ubuntu 22.04libraw0.20.2-2ubuntu2.22.04.3
ubuntu 24.04libraw0.21.2-2.1ubuntu0.24.04.2
ubuntu 26.04libraw0.21.5b-1ubuntu1.1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.