Vulnerability · Published Apr 12, 2026 · Assigned by mitre
CVE-2026-40386
Medium 4.0
In plain English
A medium-severity security flaw 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 3% 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 96.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
In libexif through 0.6.25, an integer underflow in size checking for Fuji and Olympus MakerNote decoding could be used by attackers to crash or leak information out of libexif-using programs.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | libexif | 0.6.24-9.el10_2.1 | ALSA-2026:22529 |
| 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:10 | libexif-devel | 0.6.24-9.el10_2.1 | ALSA-2026:22529 |
| 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 |
| AlmaLinux:10 | libexif-doc | 0.6.24-9.el10_2.1 | ALSA-2026:22529 |
| Alpine:v3.23 | libexif | 0.6.26-r0 | ALPINE-CVE-2026-40386 |
| Debian:12 | libexif | 0.6.24-1+deb12u1 | DEBIAN-CVE-2026-40386 |
| Debian:13 | libexif | 0.6.25-1+deb13u1 | DEBIAN-CVE-2026-40386 |
| Debian:14 | libexif | 0.6.26-1 | DEBIAN-CVE-2026-40386 |
| Rocky Linux:10 | libexif | 0:0.6.24-9.el10_2.1 | RLSA-2026:22529 |
| 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-40386 |
| Ubuntu:24.04:LTS | libexif | 0.6.24-1ubuntu0.24.04.1 | USN-8531-1 |
| Ubuntu:24.04:LTS | libexif | 0.6.24-1ubuntu0.24.04.1 | UBUNTU-CVE-2026-40386 |
| Ubuntu:25.10 | libexif | no fix listed | UBUNTU-CVE-2026-40386 |
| Ubuntu:26.04:LTS | libexif | 0.6.25-2ubuntu0.1 | UBUNTU-CVE-2026-40386 |
| 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-191 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L