Buffer Over-read in libexif - CVE-2026-40385

 

Buffer Over-read in libexif - CVE-2026-40385

Published: April 14, 2026


Vulnerability identifier: #VU125896
CSH Severity: High
CVSS v4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-40385
CWE-ID: CWE-126
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service or disclose sensitive information.

The vulnerability exists due to buffer over-read in Nikon MakerNotes processing when decoding or displaying Exif data with MakerNotes on 32-bit systems. A remote attacker can supply specially crafted Exif data to cause a denial of service or disclose sensitive information.

Only 32-bit systems are affected.


Affected software

libexif
Anolis OS
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libexif
libexif-debuginfo
libexif-debugsource
libexif-devel
libexif-help
libexif (Red Hat package)
libexif-doc

How to mitigate CVE-2026-40385

Install security update from vendor's website.

libexif - update to 0.6.26
libexif - update to 0.6.21-28
libexif-debuginfo - update to 0.6.21-28
libexif-debugsource - update to 0.6.21-28
libexif-devel - update to 0.6.21-28
libexif-help - update to 0.6.21-28
libexif (Red Hat package) - addressed in versions 0.6.22-3.el7_9, 0.6.22-5.el8_4.1, 0.6.22-5.el8_6.1, 0.6.22-5.el8_8.1, 0.6.22-6.el8_10, 0.6.22-6.el9_2.1, 0.6.22-6.el9_4.1, 0.6.22-6.el9_6.1
libexif-doc - addressed in versions 0.6.22-6, 0.6.24-7
libexif-devel - addressed in versions 0.6.22-6, 0.6.24-7
libexif - addressed in versions 0.6.22-6, 0.6.24-7
libexif - addressed in versions 0.6.26-1.fc42, 0.6.26-1.fc43, 0.6.26-1.fc44

External References

Related Security Bulletins