Integer Overflow or Wraparound Affecting libexif package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.09% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-LIBEXIF-16062209
  • published22 Apr 2026
  • disclosed12 Apr 2026

Introduced: 12 Apr 2026

CVE-2026-40385  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:20.04 libexif.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libexif package and not the libexif package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

In libexif through 0.6.25, an unsigned 32bit integer overflow in Nikon MakerNote handling could be used by local attackers to cause crashes or information leaks. This only affects 32bit systems.

CVSS Base Scores

version 3.1