Skip to content
OpenAdvisories
Medium · 4.0 CVE-2026-40386 EUVD-2026-21734GHSA-p6wp-hhx9-7jj5

In libexif through 0.6.25, an integer underflow in size checking for Fuji and Olympus MakerNote decoding could be used by attackers to cras…

Published Apr 12, 2026 · Updated Apr 14, 2026 · Assigned by mitre

Description

In libexif through 0.6.25, an integer underflow in size checking for Fuji and Olympus MakerNote decoding could be used by attackers to crash or leak information out of libexif-using programs.

Affected products

VendorProductAffectedFixed
libexif project libexif ≤ 0.6.25 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libexif 0.6.26-1 —
Debian 13 libexif 0.6.25-1+deb13u1 —
Debian 12 libexif 0.6.24-1+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS libexif 0.6.25-2ubuntu0.1 USN-8531-1
Ubuntu 25.10 libexif No fix yet —
Ubuntu 24.04 LTS libexif 0.6.24-1ubuntu0.24.04.1 USN-8531-1
Ubuntu 22.04 LTS libexif 0.6.24-1ubuntu0.22.04.1 USN-8531-1
Ubuntu 20.04 LTS libexif No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libexif No fix yet —
Ubuntu 16.04 LTS libexif No fix yet —
Ubuntu Pro 14.04 LTS libexif No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 libexif +2 0.6.24-9.el10_2.1 RHSA-2026:22529
RHEL 9 libexif +1 0.6.22-6.el9_8.1 RHSA-2026:22553
RHEL 8 libexif +1 0.6.22-6.el8_10 RHSA-2026:20929
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 10.0 EUS libexif +2 0.6.24-9.el10_0.1 RHSA-2026:26274
RHEL 9.6 EUS libexif +1 0.6.22-6.el9_6.1 RHSA-2026:26224
RHEL 9.4 E4S libexif 0.6.22-6.el9_4.1 RHSA-2026:26192
RHEL 9.2 E4S libexif 0.6.22-6.el9_2.1 RHSA-2026:26276
RHEL 8.8 TUS libexif 0.6.22-5.el8_8.1 RHSA-2026:26190
RHEL 8.8 E4S libexif 0.6.22-5.el8_8.1 RHSA-2026:26190
RHEL 8.6 EUS Long Life libexif 0.6.22-5.el8_6.1 RHSA-2026:26191
RHEL 8.6 AUS libexif 0.6.22-5.el8_6.1 RHSA-2026:26191
RHEL 8.4 EUS Long Life libexif 0.6.22-5.el8_4.1 RHSA-2026:26292
RHEL 8.4 AUS libexif 0.6.22-5.el8_4.1 RHSA-2026:26292
RHEL 7 ELS libexif +2 0.6.22-3.el7_9 RHSA-2026:26567

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 libexif +2 0.6.24-9.el10_2.1 ALSA-2026:22529
AlmaLinux 9 libexif +1 0.6.22-6.el9_8.1 ALSA-2026:22553
AlmaLinux 8 libexif +1 0.6.22-6.el8_10 ALSA-2026:20929

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 libexif 0.6.24-9.el10_2.1 RLSA-2026:22529
Rocky Linux 9 libexif 0.6.22-6.el9_8.1 RLSA-2026:22553
Rocky Linux 8 libexif 0.6.22-6.el8_10 RLSA-2026:20929
ReleasePackageFixed inAdvisory
SLES 15 SP7 libexif 0.6.22-150000.5.12.1 SUSE-SU-2026:2837-1
SLES 12 SP5 libexif 0.6.22-8.16.1 SUSE-SU-2026:2838-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 libexif 0.6.26-160000.1.1 SUSE-SU-2026:22324-1
SLES 16.0 libexif 0.6.26-160000.1.1 SUSE-SU-2026:22324-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libexif 0.6.26-1.1 openSUSE-SU-2026:10717-1
openSUSE Leap 16.0 libexif 0.6.26-160000.1.1 openSUSE-SU-2026:21023-1
ReleasePackageFixed inAdvisory
Alpine v3.23 libexif 0.6.26-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libexif 0.6.24-3 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 libexif +2 0.6.24-9.el10_2.1 ELSA-2026-22529
Oracle Linux 9 libexif +1 0.6.22-6.el9_8.1 ELSA-2026-22553
Oracle Linux 8 libexif +1 0.6.22-6.el8_10 ELSA-2026-20929
Oracle Linux 7 libexif +2 0.6.22-2.0.1.el7_9 ELSA-2026-26567

Advisories 28

References