Vulnerability · Published Apr 12, 2026 · Assigned by mitre

CVE-2026-40385

Medium 4.0

In plain English

A medium-severity integer overflow in libexif from libexif project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 1% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.0Medium
Exploit odds (30 days)<0.1%top 99.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8libexif0.6.22-6.el8_10ALSA-2026:20929
AlmaLinux:9libexif0.6.22-6.el9_8.1ALSA-2026:22553
AlmaLinux:8libexif-devel0.6.22-6.el8_10ALSA-2026:20929
AlmaLinux:9libexif-devel0.6.22-6.el9_8.1ALSA-2026:22553
Alpine:v3.23libexif0.6.26-r0ALPINE-CVE-2026-40385
Debian:12libexif0.6.24-1+deb12u1DEBIAN-CVE-2026-40385
Debian:13libexif0.6.25-1+deb13u1DEBIAN-CVE-2026-40385
Debian:14libexif0.6.26-1DEBIAN-CVE-2026-40385
Rocky Linux:8libexif0:0.6.22-6.el8_10RLSA-2026:20929
Rocky Linux:9libexif0:0.6.22-6.el9_8.1RLSA-2026:22553
Ubuntu:22.04:LTSlibexif0.6.24-1ubuntu0.22.04.1USN-8531-1
Ubuntu:22.04:LTSlibexif0.6.24-1ubuntu0.22.04.1UBUNTU-CVE-2026-40385
Ubuntu:24.04:LTSlibexif0.6.24-1ubuntu0.24.04.1UBUNTU-CVE-2026-40385
Ubuntu:24.04:LTSlibexif0.6.24-1ubuntu0.24.04.1USN-8531-1
Ubuntu:25.10libexifno fix listedUBUNTU-CVE-2026-40385
Ubuntu:26.04:LTSlibexif0.6.25-2ubuntu0.1UBUNTU-CVE-2026-40385
Ubuntu:26.04:LTSlibexif0.6.25-2ubuntu0.1USN-8531-1

Affected products (as reported)

VendorProductVersions
libexif project libexif 0 – through 0.6.25

Weakness: CWE-190 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L

References