Input validation error in LibRaw - CVE-2025-43964
Published: April 23, 2025
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient validation of user-supplied input within the phase_one_correct() function in decoders/load_mfbacks.cpp. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.
Affected software
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Workstation Extension 15
Debian Linux
Desktop Applications Module
SUSE Package Hub 15
openSUSE Leap
Ubuntu
openEuler
Anolis OS
Fedora
libraw (Debian package)
libraw15 (Ubuntu package)
libraw16 (Ubuntu package)
libraw-bin (Ubuntu package)
libraw-devel-static
libraw-devel
libraw16
libraw-debuginfo
libraw-debugsource
libraw16-debuginfo
libraw20-64bit-debuginfo
libraw20-32bit
libraw20-debuginfo
libraw20-32bit-debuginfo
libraw20-64bit
libraw-tools-debuginfo
libraw20
libraw-tools
LibRaw-doc
LibRaw-devel
LibRaw-debugsource
LibRaw-debuginfo
LibRaw
LibRaw-samples
LibRaw-static
libraw23
libraw23-64bit-debuginfo
libraw23-32bit
libraw23-debuginfo
libraw23-32bit-debuginfo
libraw23-64bit
mingw-LibRaw
darktable
digikam
libraw19 (Ubuntu package)
libraw20 (Ubuntu package)
libraw23t64 (Ubuntu package)
How to mitigate CVE-2025-43964
libraw (Debian package) - update to 0.20.2-1+deb11u2
libraw15 (Ubuntu package) - update to Ubuntu Pro
libraw16 (Ubuntu package) - update to Ubuntu Pro
libraw-bin (Ubuntu package) - addressed in versions Ubuntu Pro, 0.19.5-1ubuntu1.4, 0.20.2-2ubuntu2.22.04.2, 0.21.2-2.1ubuntu0.24.04.1, 0.21.2-2.1ubuntu0.24.10.1, 0.21.3-1ubuntu0.25.04.1
libraw-devel-static - addressed in versions 0.15.4-45.1, 0.20.2-150400.3.16.1, 0.21.1-150600.3.5.1
libraw-devel - addressed in versions 0.15.4-45.1, 0.20.2-150400.3.16.1, 0.21.1-150600.3.5.1
libraw16 - update to 0.18.9-150000.3.30.1
libraw-debuginfo - update to 0.18.9-150000.3.30.1
libraw-debugsource - addressed in versions 0.18.9-150000.3.30.1, 0.20.2-150400.3.16.1, 0.21.1-150600.3.5.1
libraw16-debuginfo - update to 0.18.9-150000.3.30.1
libraw20-64bit-debuginfo - update to 0.20.2-150400.3.16.1
libraw20-32bit - update to 0.20.2-150400.3.16.1
libraw20-debuginfo - update to 0.20.2-150400.3.16.1
libraw20-32bit-debuginfo - update to 0.20.2-150400.3.16.1
libraw20-64bit - update to 0.20.2-150400.3.16.1
libraw-tools-debuginfo - addressed in versions 0.20.2-150400.3.16.1, 0.21.1-150600.3.5.1
libraw20 - update to 0.20.2-150400.3.16.1
libraw-tools - addressed in versions 0.20.2-150400.3.16.1, 0.21.1-150600.3.5.1
LibRaw-doc - update to 0.21.1-4
LibRaw-devel - update to 0.21.1-4
LibRaw-debugsource - update to 0.21.1-4
LibRaw-debuginfo - update to 0.21.1-4
LibRaw - update to 0.21.1-4
LibRaw - update to 0.21.1-4
LibRaw-devel - update to 0.21.1-4
LibRaw-samples - update to 0.21.1-4
LibRaw-static - update to 0.21.1-4
libraw23 - update to 0.21.1-150600.3.5.1
libraw23-64bit-debuginfo - update to 0.21.1-150600.3.5.1
libraw23-32bit - update to 0.21.1-150600.3.5.1
libraw23-debuginfo - update to 0.21.1-150600.3.5.1
libraw23-32bit-debuginfo - update to 0.21.1-150600.3.5.1
libraw23-64bit - update to 0.21.1-150600.3.5.1
mingw-LibRaw - addressed in versions 0.21.4-1.fc40, 0.21.4-1.fc41, 0.21.4-1.fc42
darktable - addressed in versions 5.2.0-1.fc41, 5.2.0-1.fc42
digikam - addressed in versions 8.6.0-4.fc40, 8.6.0-4.fc41, 8.6.0-4.fc42
libraw19 (Ubuntu package) - update to 0.19.5-1ubuntu1.4
libraw20 (Ubuntu package) - update to 0.20.2-2ubuntu2.22.04.2
libraw23t64 (Ubuntu package) - addressed in versions 0.21.2-2.1ubuntu0.24.04.1, 0.21.2-2.1ubuntu0.24.10.1, 0.21.3-1ubuntu0.25.04.1
External References
Related Security Bulletins
- Multiple vulnerabilities in LibRaw
- Fedora 42 update for mingw-LibRaw
- Fedora 40 update for mingw-LibRaw
- Fedora 41 update for mingw-LibRaw
- Fedora 42 update for digikam
- Fedora 41 update for digikam
- Fedora 40 update for digikam
- SUSE update for libraw
- Ubuntu update for libraw
- openEuler update for LibRaw
- SUSE update for libraw
- SUSE update for libraw
- SUSE update for libraw
- SUSE update for libraw
- SUSE update for libraw
- Fedora 42 update for darktable
- Fedora 41 update for darktable
- Anolis OS update for LibRaw
- Debian update for libraw