Out-of-bounds read in LibRaw - CVE-2025-43961
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 in metadata/tiff.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 Workstation Extension 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
Desktop Applications Module
SUSE Package Hub 15
openSUSE Leap
Ubuntu
openEuler
Anolis OS
Fedora
libraw15 (Ubuntu package)
libraw16 (Ubuntu package)
libraw-bin (Ubuntu package)
libraw-debuginfo
libraw-debugsource
libraw16-debuginfo
libraw16
libraw19 (Ubuntu package)
libraw20 (Ubuntu package)
libraw20-32bit-debuginfo
libraw-devel
libraw20-debuginfo
libraw-tools
libraw-tools-debuginfo
libraw20
libraw-devel-static
libraw20-32bit
libraw20-64bit-debuginfo
libraw20-64bit
LibRaw
LibRaw-devel
LibRaw-samples
LibRaw-static
LibRaw-doc
LibRaw-debuginfo
LibRaw-debugsource
libraw23-64bit
libraw23-debuginfo
libraw23
libraw23-32bit-debuginfo
libraw23-32bit
libraw23-64bit-debuginfo
libraw23t64 (Ubuntu package)
mingw-LibRaw
darktable
How to mitigate CVE-2025-43961
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-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
libraw16 - 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-32bit-debuginfo - update to 0.20.2-150400.3.16.1
libraw-devel - 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
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 - update to 0.20.2-150400.3.16.1
libraw-devel-static - addressed in versions 0.20.2-150400.3.16.1, 0.21.1-150600.3.5.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 - 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
LibRaw-doc - update to 0.21.1-4
LibRaw - update to 0.21.1-4
LibRaw-debuginfo - update to 0.21.1-4
LibRaw-debugsource - update to 0.21.1-4
LibRaw-devel - update to 0.21.1-4
libraw23-64bit - update to 0.21.1-150600.3.5.1
libraw23-debuginfo - update to 0.21.1-150600.3.5.1
libraw23 - 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
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
- 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