#VU107892 Out-of-bounds read in LibRaw - CVE-2025-43962


Vulnerability identifier: #VU107892

Vulnerability risk: Medium

CVSSv4.0: 1 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2025-43962

CWE-ID: CWE-125

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
LibRaw
Universal components / Libraries / Libraries used by multiple products

Vendor: LibRaw LLC

Description

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

LibRaw: 0.8.11 - 0.21.3


External links
https://github.com/LibRaw/LibRaw/commit/66fe663e02a4dd610b4e832f5d9af326709336c2
https://github.com/LibRaw/LibRaw/compare/0.21.3...0.21.4
https://www.libraw.org/news/libraw-0-21-4-release


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability