CVE-2026-40386
libexif: libexif: Denial of Service and information disclosure via integer underflow in MakerNote decoding
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 13, 2026
Updated · July 12, 2026
Description
A flaw was found in libexif. An integer underflow vulnerability in the size checking mechanism for Fuji and Olympus MakerNote decoding could allow attackers to exploit programs using libexif. This could lead to a Denial of Service (DoS) by crashing the program or result in information disclosure, potentially exposing sensitive data.
Statement
Moderate impact. An integer underflow in libexif's Fuji and Olympus MakerNote decoding could allow an attacker to cause a denial of service or information disclosure. This vulnerability affects programs that process specially crafted image files utilizing libexif.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, users should avoid processing untrusted image files with applications that utilize libexif. Restricting the source of image files to trusted origins can reduce the risk of exploitation.
CVSS / CWE
CVSS 3.1 · 4CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
CWE-191 · Integer Underflow (Wrap or Wraparound)