Out-of-bounds read in LibRaw - CVE-2025-43962
Published: April 23, 2025
Vulnerability details
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to a boundary condition within the phase_one_correct() function in decoders/load_mfbacks.cpp. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger an out-of-bounds read error and read contents of memory on the system.
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
Desktop Applications Module
SUSE Package Hub 15
openSUSE Leap
Ubuntu
openEuler
Fedora
libraw15 (Ubuntu package)
libraw16 (Ubuntu package)
libraw-bin (Ubuntu package)
libraw-devel-static
libraw-devel
libraw16
libraw-debuginfo
libraw-debugsource
libraw16-debuginfo
libraw19 (Ubuntu package)
libraw20 (Ubuntu package)
libraw20
libraw-tools
libraw-tools-debuginfo
libraw20-debuginfo
libraw20-32bit-debuginfo
libraw20-32bit
libraw20-64bit-debuginfo
libraw20-64bit
LibRaw-devel
LibRaw-debugsource
LibRaw-debuginfo
LibRaw
libraw23-debuginfo
libraw23
libraw23-64bit
libraw23-32bit-debuginfo
libraw23-32bit
libraw23-64bit-debuginfo
libraw23t64 (Ubuntu package)
mingw-LibRaw
darktable
digikam
How to mitigate CVE-2025-43962
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
libraw19 (Ubuntu package) - update to 0.19.5-1ubuntu1.4
libraw20 (Ubuntu package) - update to 0.20.2-2ubuntu2.22.04.2
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-tools-debuginfo - addressed in versions 0.20.2-150400.3.16.1, 0.21.1-150600.3.5.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-32bit - update to 0.20.2-150400.3.16.1
libraw20-64bit-debuginfo - update to 0.20.2-150400.3.16.1
libraw20-64bit - update to 0.20.2-150400.3.16.1
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
libraw23-debuginfo - update to 0.21.1-150600.3.5.1
libraw23 - update to 0.21.1-150600.3.5.1
libraw23-64bit - update to 0.21.1-150600.3.5.1
libraw23-32bit-debuginfo - update to 0.21.1-150600.3.5.1
libraw23-32bit - update to 0.21.1-150600.3.5.1
libraw23-64bit-debuginfo - update to 0.21.1-150600.3.5.1
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
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.fc42
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 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