CVE-2025-43964 Integer overflow in LibRaw

Low 2.9 Published Updated

LibRaw fails to validate minimum width values during tag processing, potentially causing a denial of service via crafted raw images.

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-43964?

CVE-2025-43964 is a low-severity 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, tag 0x412 processing in phase_one_correct in decoders/load_mfbacks.cpp does not enforce minimum w0 and w1 values.

Weakness: CWE-1284

Which versions are affected by CVE-2025-43964?

It affects 1 product.

Products include Libraw Libraw.

How do I fix CVE-2025-43964?

Upgrade to a fixed version.

Is CVE-2025-43964 being exploited?

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

All Libraw Libraw vulnerabilities

Sources

Also known as AZL-61756, DEBIAN-CVE-2025-43964, GHSA-3cxc-phxh-65vq, JLSEC-2026-1112, UBUNTU-CVE-2025-43964.

Is CVE-2025-43964 in your software?

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

Check your SBOMs for free