Integer Overflow or Wraparound Affecting libexif package, versions <0:0.6.22-6.el8_10


Severity

Recommended
medium

Based on AlmaLinux 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-ALMALINUX8-LIBEXIF-16960085
  • published28 May 2026
  • disclosed2 Jun 2026

Introduced: 28 May 2026

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

How to fix?

Upgrade AlmaLinux:8 libexif to version 0:0.6.22-6.el8_10 or higher.
This issue was patched in ALSA-2026:20929.

NVD Description

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