Out-of-bounds read in libexif - CVE-2026-40386

 

Out-of-bounds read in libexif - CVE-2026-40386

Published: April 14, 2026


Vulnerability identifier: #VU125897
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2026-40386
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: libexif.sourceforge.net
Affected software:
libexif

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to out-of-bounds read in Olympus and Fuji MakerNotes decoders when parsing EXIF data. A remote attacker can supply specially crafted EXIF data to cause a denial of service.


How to mitigate CVE-2026-40386

Install security update from vendor's website.

Sources