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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libexif | 0.6.22-6.el8_10 | ALSA-2026:20929 |
| AlmaLinux:9 | libexif | 0.6.22-6.el9_8.1 | ALSA-2026:22553 |
| AlmaLinux:8 | libexif-devel | 0.6.22-6.el8_10 | ALSA-2026:20929 |
| AlmaLinux:9 | libexif-devel | 0.6.22-6.el9_8.1 | ALSA-2026:22553 |
| Alpine:v3.23 | libexif | 0.6.26-r0 | ALPINE-CVE-2026-40385 |
| Debian:12 | libexif | 0.6.24-1+deb12u1 | DEBIAN-CVE-2026-40385 |
| Debian:13 | libexif | 0.6.25-1+deb13u1 | DEBIAN-CVE-2026-40385 |
| Debian:14 | libexif | 0.6.26-1 | DEBIAN-CVE-2026-40385 |
| Rocky Linux:8 | libexif | 0:0.6.22-6.el8_10 | RLSA-2026:20929 |
| Rocky Linux:9 | libexif | 0:0.6.22-6.el9_8.1 | RLSA-2026:22553 |
| Ubuntu:22.04:LTS | libexif | 0.6.24-1ubuntu0.22.04.1 | USN-8531-1 |
| Ubuntu:22.04:LTS | libexif | 0.6.24-1ubuntu0.22.04.1 | UBUNTU-CVE-2026-40385 |
| Ubuntu:24.04:LTS | libexif | 0.6.24-1ubuntu0.24.04.1 | UBUNTU-CVE-2026-40385 |
| Ubuntu:24.04:LTS | libexif | 0.6.24-1ubuntu0.24.04.1 | USN-8531-1 |
| Ubuntu:25.10 | libexif | no fix listed | UBUNTU-CVE-2026-40385 |
| Ubuntu:26.04:LTS | libexif | 0.6.25-2ubuntu0.1 | UBUNTU-CVE-2026-40385 |
| Ubuntu:26.04:LTS | libexif | 0.6.25-2ubuntu0.1 | USN-8531-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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