CVE-2026-40385 Integer overflow in libexif

Medium 4.0 Published Updated

Local attackers can trigger an integer overflow in libexif on 32-bit systems, causing application crashes or information leaks.

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-2026-40385?

CVE-2026-40385 is a medium-severity vulnerability in libexif, published on 12 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In libexif through 0.6.25, an unsigned 32bit integer overflow in Nikon MakerNote handling could be used by local attackers to cause crashes or information leaks. This only affects 32bit systems.

Weakness: CWE-190

Which versions are affected by CVE-2026-40385?

It affects 1 product.

Products include Libexif Project Libexif.

How do I fix CVE-2026-40385?

Upgrade to a fixed version.

Is CVE-2026-40385 being exploited?

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

Sources

Also known as AZL-82685, DEBIAN-CVE-2026-40385, GHSA-j9xr-5c85-xjhm, JLSEC-2026-151, UBUNTU-CVE-2026-40385.

Is CVE-2026-40385 in your software?

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

Check your SBOMs for free