High severity · published Apr 12, 2026
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…
7.1
CVSS
0.1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.1% · higher than 3% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
libexif · libexif project
through 0.6.25 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-40386
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-40386
Patch
https://github.com/libexif/libexif/commit/dc6eac6e9655d14d0779d99e82d0f5f442d2f34b
More from libexif
9.1
CVE-2020-13112
An issue was discovered in libexif before 0.6.22
9.1
CVE-2017-7544
libexif through 0.6.21 is vulnerable to out-of-bounds heap read vulnerability in exif_data_save_data_entry function in libexif/exif-data.c caused by improper length computation of…
8.2
CVE-2020-13113
An issue was discovered in libexif before 0.6.22
8.1
CVE-2016-6328
A vulnerability was found in libexif
7.8
CVE-2026-32775
libexif through 0.6.25 has a flaw in decoding MakerNotes
