Vulnerabilities / CVE-2025-43964

critical

CVE-2025-43964

LibRaw: Improper Validation of Specified Quantity in Input in LibRaw

Published Modified CWE 1284
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 Hat2.9CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
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 (medium), Ubuntu (medium), Red Hat (low).

Description

In LibRaw before 0.21.4, tag 0x412 processing in phase_one_correct in decoders/load_mfbacks.cpp does not enforce minimum w0 and w1 values.

Affected packages and fixed versions

SourcePackageFixed in
julia::Julia Ecosystem Security AdvisoriesLibRaw_jll0.22.1+0
amazon linux 2LibRaw, LibRaw-debuginfo, LibRaw-devel and 1 more0.19.4-1.amzn2.0.3
debian 11libraw0.20.2-1+deb11u2
debian 12libraw0.20.2-2.1+deb12u1
debian 13libraw0.21.4-1
debian 14libraw0.21.4-1
echolibraw0.20.2-2.1+deb12u1
rapidfort alma 8LibRawno fix listed
rapidfort alma 9LibRawno fix listed
rapidfort alpine 3.20libraw0.21.4-r0
rapidfort alpine 3.21libraw0.21.4-r0
rapidfort alpine 3.22libraw0.21.4-r0
Show all 38 entries from 29 sources
SourcePackageFixed in
julia::Julia Ecosystem Security AdvisoriesLibRaw_jll0.22.1+0
amazon linux 2LibRaw0.19.4-1.amzn2.0.3
amazon linux 2LibRaw-debuginfo0.19.4-1.amzn2.0.3
amazon linux 2LibRaw-devel0.19.4-1.amzn2.0.3
amazon linux 2LibRaw-static0.19.4-1.amzn2.0.3
debian 11libraw0.20.2-1+deb11u2
debian 12libraw0.20.2-2.1+deb12u1
debian 13libraw0.21.4-1
debian 14libraw0.21.4-1
echolibraw0.20.2-2.1+deb12u1
rapidfort alma 8LibRawno fix listed
rapidfort alma 9LibRawno fix listed
rapidfort alpine 3.20libraw0.21.4-r0
rapidfort alpine 3.21libraw0.21.4-r0
rapidfort alpine 3.22libraw0.21.4-r0
rapidfort alpine 3.23libraw0.21.4-r0
rapidfort alpine 3.24libraw0.21.4-r0
rapidfort debian 12libraw0:0.21.4-1
rapidfort debian 12rf-libraw0:0.21.4-2
rapidfort debian 13libraw0:0.21.4-1
rapidfort debian 13rf-libraw0:0.21.4-2
rapidfort Oracle Linux 9LibRawno fix listed
rapidfort rocky 8LibRawno fix listed
rapidfort rocky 9LibRawno fix listed
Red HatLibRawno fix listed
Red HatLibRaw-develno fix listed
Red HatLibRaw-staticno fix listed
Red Hatlibraw1394no fix listed
Red Hatlibraw1394-develno fix listed
root.io debian 13rootio-libraw0.21.4-1
ubuntu 16.04-ESMlibraw0.17.1-1ubuntu0.5+esm1
ubuntu 18.04-ESMlibraw0.18.8-1ubuntu0.4+esm1
ubuntu 20.04libraw0.19.5-1ubuntu1.4
ubuntu 20.04-ESMlibraw0.19.5-1ubuntu1.4
ubuntu 22.04libraw0.20.2-2ubuntu2.22.04.2
ubuntu 24.04libraw0.21.2-2.1ubuntu0.24.04.1
ubuntu 24.10libraw0.21.2-2.1ubuntu0.24.10.1
ubuntu 25.04libraw0.21.3-1ubuntu0.25.04.1

References

All 9 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.