
CVE catalog
CVE-2026-40386
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.
- Severity
- Medium · CVSS 4.4
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.14% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libexif | sid | 0.6.26-1 | fixed |
| Debian | libexif | forky | 0.6.26-1 | fixed |
| Debian | libexif | trixie | 0.6.25-1+deb13u1 | fixed |
| Debian | libexif | bookworm | 0.6.24-1+deb12u1 | fixed |
| Cpe | libexif | Not reported | Not reported | unknown |
| Cpe | libexif | Not reported | 0.6.24-1+deb12u1 | fixed |
| Cpe | libexif | Not reported | 0.6.24-1ubuntu0.24.04.1 | fixed |
| Cpe | libexif-dev | Not reported | 0.6.24-1ubuntu0.24.04.1 | fixed |
| Cpe | libexif-doc | Not reported | 0.6.24-1ubuntu0.24.04.1 | fixed |
| Cpe | libexif12 | Not reported | 0.6.24-1ubuntu0.24.04.1 | fixed |
| Ubuntu | libexif | pro | 0.6.21-1 | vulnerable |
| Ubuntu | libexif | pro | 0.6.21-1ubuntu1 | vulnerable |
| Ubuntu | libexif | pro | 0.6.21-1ubuntu1+esm1 | vulnerable |
| Ubuntu | libexif | pro | 0.6.21-1ubuntu1+esm2 | vulnerable |
| Ubuntu | libexif | pro | 0.6.21-1ubuntu1+esm5 | vulnerable |
| Ubuntu | libexif | pro | 0.6.21-1ubuntu1+esm6 | vulnerable |
| Ubuntu | libexif | 16.04 | 0.6.21-2 | vulnerable |
| Ubuntu | libexif | 16.04 | 0.6.21-2ubuntu0.1 | vulnerable |
| Ubuntu | libexif | 16.04 | 0.6.21-2ubuntu0.2 | vulnerable |
| Ubuntu | libexif | 16.04 | 0.6.21-2ubuntu0.5 | vulnerable |
| Ubuntu | libexif | 16.04 | 0.6.21-2ubuntu0.6 | vulnerable |
| Ubuntu | libexif | 18.04 | 0.6.21-2.1 | vulnerable |
| Ubuntu | libexif | 18.04 | 0.6.21-4 | vulnerable |
| Ubuntu | libexif | 18.04 | 0.6.21-4ubuntu0.1 | vulnerable |
| Ubuntu | libexif | 18.04 | 0.6.21-4ubuntu0.2 | vulnerable |
| Ubuntu | libexif | 18.04 | 0.6.21-4ubuntu0.5 | vulnerable |
| Ubuntu | libexif | 18.04 | 0.6.21-4ubuntu0.6 | vulnerable |
| Ubuntu | libexif | 20.04 | 0.6.21-5.1 | vulnerable |
| Ubuntu | libexif | 20.04 | 0.6.21-6 | vulnerable |
| Ubuntu | libexif | 20.04 | 0.6.21-6ubuntu0.1 | vulnerable |
| Ubuntu | libexif | 20.04 | 0.6.21-6ubuntu0.3 | vulnerable |
| Ubuntu | libexif | 20.04 | 0.6.21-6ubuntu0.4 | vulnerable |
| Ubuntu | libexif | 22.04 | 0.6.22-3 | vulnerable |
| Ubuntu | libexif | 22.04 | 0.6.22-3build1 | vulnerable |
| Ubuntu | libexif | 22.04 | 0.6.23-1 | vulnerable |
| Ubuntu | libexif | 22.04 | 0.6.24-1 | vulnerable |
| Ubuntu | libexif | 22.04 | 0.6.24-1build1 | vulnerable |
| Ubuntu | libexif | 22.04 | 0.6.24-1ubuntu0.22.04.1 | fixed |
| Ubuntu | libexif | 24.04 | 0.6.24-1build1 | vulnerable |
| Ubuntu | libexif | 24.04 | 0.6.24-1build2 | vulnerable |
| Ubuntu | libexif | 24.04 | 0.6.24-1ubuntu0.24.04.1 | fixed |
| Ubuntu | libexif | 25.10 | 0.6.25-1 | vulnerable |
| Ubuntu | libexif | 26.04 | 0.6.25-1 | vulnerable |
| Ubuntu | libexif | 26.04 | 0.6.25-1build1 | vulnerable |
| Ubuntu | libexif | 26.04 | 0.6.25-2 | vulnerable |
| Ubuntu | libexif | 26.04 | 0.6.25-2ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libexif | source | sid | 0.6.26-1 | not yet assigned | Not reported | [1133923] |
| Debian | libexif | source | forky | 0.6.26-1 | not yet assigned | Not reported | [1133923] |
| Debian | libexif | source | trixie | 0.6.25-1+deb13u1 | not yet assigned | Not reported | [1133923] |
| Debian | libexif | source | bookworm | 0.6.24-1+deb12u1 | not yet assigned | Not reported | [1133923] |
| Cpe | libexif | cpe | Not reported | 0.6.24-1+deb12u1 | Not reported | Not reported | Not reported |
| Cpe | libexif | cpe | Not reported | 0.6.24-1ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Cpe | libexif-dev | cpe | Not reported | 0.6.24-1ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Cpe | libexif-doc | cpe | Not reported | 0.6.24-1ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Cpe | libexif12 | cpe | Not reported | 0.6.24-1ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Ubuntu | libexif | deb | 22.04 | 0.6.24-1ubuntu0.22.04.1 | Not reported | UBUNTU-CVE-2026-40386 | Not reported |
| Ubuntu | libexif | deb | 24.04 | 0.6.24-1ubuntu0.24.04.1 | Not reported | UBUNTU-CVE-2026-40386 | Not reported |
| Ubuntu | libexif | deb | 26.04 | 0.6.25-2ubuntu0.1 | Not reported | UBUNTU-CVE-2026-40386 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libexif12]Fixed
Source package: [libexif]
Details (2)
0.6.24-1+deb12u1· amd64 · bookwormFixed · Fixed:
0.6.24-1+deb12u1nvd · libexif · debian · bookworm; nvd · libexif · debian · 12
0.6.24-1+deb12u1· arm64 · bookwormFixed · Fixed:
0.6.24-1+deb12u1nvd · libexif · debian · bookworm; nvd · libexif · debian · 12
- [libexif-dev]Fixed
Source package: [libexif]
Details (2)
0.6.24-1+deb12u1· amd64 · bookwormFixed · Fixed:
0.6.24-1+deb12u1nvd · libexif · debian · bookworm; nvd · libexif · debian · 12
0.6.24-1+deb12u1· arm64 · bookwormFixed · Fixed:
0.6.24-1+deb12u1nvd · libexif · debian · bookworm; nvd · libexif · debian · 12
- [libexif-doc]Fixed
Source package: [libexif]
Details (2)
0.6.24-1+deb12u1· all · bookwormFixed · Fixed:
0.6.24-1+deb12u1nvd · libexif · debian · bookworm; nvd · libexif · debian · 12
0.6.24-1+deb12u1· all · bookwormFixed · Fixed:
0.6.24-1+deb12u1nvd · libexif · debian · bookworm; nvd · libexif · debian · 12
[Debian 13 (Trixie)]
- [libexif12]Fixed
Source package: [libexif]
Details (2)
0.6.25-1+deb13u1· amd64 · trixieFixed · Fixed:
0.6.25-1+deb13u1nvd · libexif · debian · 13
0.6.25-1+deb13u1· arm64 · trixieFixed · Fixed:
0.6.25-1+deb13u1nvd · libexif · debian · 13
- [libexif-dev]Fixed
Source package: [libexif]
Details (2)
0.6.25-1+deb13u1· amd64 · trixieFixed · Fixed:
0.6.25-1+deb13u1nvd · libexif · debian · 13
0.6.25-1+deb13u1· arm64 · trixieFixed · Fixed:
0.6.25-1+deb13u1nvd · libexif · debian · 13
- [libexif-doc]Fixed
Source package: [libexif]
Details (2)
0.6.25-1+deb13u1· all · trixieFixed · Fixed:
0.6.25-1+deb13u1nvd · libexif · debian · 13
0.6.25-1+deb13u1· all · trixieFixed · Fixed:
0.6.25-1+deb13u1nvd · libexif · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_2837-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-40386]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-40386]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-40386]
- [https://security-tracker.debian.org/tracker/CVE-2026-40386]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40386.json]
- [https://ubuntu.com/security/notices/USN-8531-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1060.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]