# 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 cras…

- Severity: Medium 4.0 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 2% of CVEs (2026-11-30)
- Published: 2026-04-12T18:19:08.684Z
- Modified: 2026-06-17T10:45:13.903Z
- Weaknesses: CWE-191
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- libexif project libexif: up to 0.6.25
- libexif_project libexif: up to 0.6.25

## Every score

- mitre: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://github.com/libexif/libexif/commit/dc6eac6e9655d14d0779d99e82d0f5f442d2f34b> (patch)

## Sources

- CVE List: [CVE-2026-40386](https://www.cve.org/CVERecord?id=CVE-2026-40386), CVE Terms of Use, modified 2026-04-14
- NVD: [CVE-2026-40386](https://nvd.nist.gov/vuln/detail/CVE-2026-40386), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-40386 · Whole record: https://cve.day/CVE-2026-40386.json · Rebuilt by cve.day 2026-11-25T22:59:18.577Z
