Integer Overflow or Wraparound Affecting libexif package, versions <0:0.6.22-2.0.1.el7_9


Severity

Recommended
medium

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.13% (2nd 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-ORACLE7-LIBEXIF-17959195
  • published13 Jul 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?

Upgrade Oracle:7 libexif to version 0:0.6.22-2.0.1.el7_9 or higher.
This issue was patched in ELSA-2026-26567.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libexif package and not the libexif package as distributed by Oracle. See How to fix? for Oracle:7 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