CVE-2025-43962 Memory corruption in LibRaw

Low 2.9 Published Updated

Out-of-bounds reads in LibRaw allow attackers to cause denial of service or potentially execute code via crafted raw image files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-43962?

CVE-2025-43962 is a low-severity memory corruption vulnerability in Libraw Libraw, published on 20 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In LibRaw before 0.21.4, phase_one_correct in decoders/load_mfbacks.cpp has out-of-bounds reads for tag 0x412 processing, related to large w0 or w1 values or the frac and mult calculations.

Weakness: CWE-125

Which versions are affected by CVE-2025-43962?

It affects 1 product.

Products include Libraw Libraw.

How do I fix CVE-2025-43962?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-43962 being exploited?

There is no known exploitation of CVE-2025-43962 in the wild and no public exploit code.

All Libraw Libraw vulnerabilities

Sources

Also known as AZL-61780, DEBIAN-CVE-2025-43962, GHSA-gr77-83rx-v97c, JLSEC-2026-1110, UBUNTU-CVE-2025-43962.

Is CVE-2025-43962 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free