CVSS 3.1
7.1 highCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HHigh (7.1) in libexif project libexif. EPSS 0.10% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HExplain CVE-2026-40385 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40385?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40385?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40385 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| libexif project libexif | through 0.6.25 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | libexif | 0.6.22-3+deb11u1 | DLA-4558-1 |
| Debian | 12 | libexif | 0.6.24-1+deb12u1 | DEBIAN-CVE-2026-40385 |
| Debian | 13 | libexif | 0.6.25-1+deb13u1 | DEBIAN-CVE-2026-40385 |
| Debian | 14 | libexif | 0.6.26-1 | DEBIAN-CVE-2026-40385 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 2 more | libexif | no fix listed | UBUNTU-CVE-2026-40385 |
| Ubuntu | 22.04:LTS | libexif | 0.6.24-1ubuntu0.22.04.1 | UBUNTU-CVE-2026-40385 USN-8531-1 |
| Ubuntu | 24.04:LTS | libexif | 0.6.24-1ubuntu0.24.04.1 | UBUNTU-CVE-2026-40385 USN-8531-1 |
| Ubuntu | 26.04:LTS | libexif | 0.6.25-2ubuntu0.1 | UBUNTU-CVE-2026-40385 USN-8531-1 |
| Red Hat | enterprise_linux:8::appstream | libexif, libexif-debuginfo, libexif-debugsource | 0:0.6.22-6.el8_10 | RHSA-2026:20929 |
| Red Hat | enterprise_linux:8::crb | libexif-devel, libexif-debuginfo, libexif-debugsource | 0:0.6.22-6.el8_10 | RHSA-2026:20929 |
| Red Hat | enterprise_linux:9::appstream | libexif, libexif-debuginfo, libexif-debugsource | 0:0.6.22-6.el9_8.1 | RHSA-2026:22553 |
| Red Hat | enterprise_linux:9::crb | libexif-devel, libexif-debuginfo, libexif-debugsource | 0:0.6.22-6.el9_8.1 | RHSA-2026:22553 |
| Red Hat | rhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstream | libexif, libexif-debuginfo, libexif-debugsource | 0:0.6.22-5.el8_4.1 | RHSA-2026:26292 |
| Red Hat | rhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstream | libexif, libexif-debuginfo, libexif-debugsource | 0:0.6.22-5.el8_6.1 | RHSA-2026:26191 |
| Red Hat | rhel_e4s:8.8::appstream, rhel_tus:8.8::appstream | libexif, libexif-debuginfo, libexif-debugsource | 0:0.6.22-5.el8_8.1 | RHSA-2026:26190 |
| Red Hat | rhel_e4s:9.2::appstream | libexif, libexif-debuginfo, libexif-debugsource | 0:0.6.22-6.el9_2.1 | RHSA-2026:26276 |
| Red Hat | rhel_e4s:9.4::appstream | libexif, libexif-debuginfo, libexif-debugsource | 0:0.6.22-6.el9_4.1 | RHSA-2026:26192 |
| Red Hat | rhel_els:7 | libexif, libexif-doc, libexif-devel and 1 more | 0:0.6.22-3.el7_9 | RHSA-2026:26567 |
| Red Hat | rhel_eus:9.6::appstream | libexif, libexif-debuginfo, libexif-debugsource | 0:0.6.22-6.el9_6.1 | RHSA-2026:26224 |
| Red Hat | rhel_eus:9.6::crb | libexif-devel, libexif-debuginfo, libexif-debugsource | 0:0.6.22-6.el9_6.1 | RHSA-2026:26224 |
| SUSE | Linux Enterprise Module for Desktop Applications 15 SP7, Linux Enterprise Module for Package Hub 15 SP7 | libexif | 0.6.22-150000.5.12.1 | SUSE-SU-2026:2837-1 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | libexif | 0.6.26-160000.1.1 | SUSE-SU-2026:22324-1 |
| SUSE | Linux Enterprise Server LTSS Extended Security 12 SP5 | libexif | 0.6.22-8.16.1 | SUSE-SU-2026:2838-1 |
| openSUSE | Leap 16.0 | libexif | 0.6.26-160000.1.1 | openSUSE-SU-2026:21023-1 |
| openSUSE | Tumbleweed | libexif | 0.6.26-1.1 | openSUSE-SU-2026:10717-1 |
| AlmaLinux | 8 | libexif, libexif-devel | 0.6.22-6.el8_10 | ALSA-2026:20929 |
| AlmaLinux | 9 | libexif, libexif-devel | 0.6.22-6.el9_8.1 | ALSA-2026:22553 |
| Rocky Linux | 8 | libexif | 0:0.6.22-6.el8_10 | RLSA-2026:20929 |
| Rocky Linux | 9 | libexif | 0:0.6.22-6.el9_8.1 | RLSA-2026:22553 |
| Alpine | v3.23 | libexif | 0.6.26-r0 | ALPINE-CVE-2026-40385 |
| Azure Linux | 3 | libexif | 0.6.24-3 | AZL-82685 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
This Moderate impact vulnerability in libexif affects 32-bit systems. A local attacker could trigger an integer overflow in the Nikon MakerNote handling, potentially leading to application crashes or information disclosure.
On 32-bit systems, avoid processing untrusted image files that contain Nikon MakerNotes. This operational control reduces the risk of exploitation by preventing vulnerable applications from parsing malicious EXIF data.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | libexif-0:0.6.22-3.el7_9 | Fixed 2026-06-17 | RHSA-2026:26567 |
| Red Hat Enterprise Linux 8 | libexif-0:0.6.22-6.el8_10 | Fixed 2026-05-26 | RHSA-2026:20929 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | libexif-0:0.6.22-5.el8_4.1 | Fixed 2026-06-16 | RHSA-2026:26292 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | libexif-0:0.6.22-5.el8_4.1 | Fixed 2026-06-16 | RHSA-2026:26292 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | libexif-0:0.6.22-5.el8_6.1 | Fixed 2026-06-16 | RHSA-2026:26191 |
| Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | libexif-0:0.6.22-5.el8_6.1 | Fixed 2026-06-16 | RHSA-2026:26191 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | libexif-0:0.6.22-5.el8_8.1 | Fixed 2026-06-16 | RHSA-2026:26190 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | libexif-0:0.6.22-5.el8_8.1 | Fixed 2026-06-16 | RHSA-2026:26190 |
| Red Hat Enterprise Linux 9 | libexif-0:0.6.22-6.el9_8.1 | Fixed 2026-06-03 | RHSA-2026:22553 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | libexif-0:0.6.22-6.el9_2.1 | Fixed 2026-06-16 | RHSA-2026:26276 |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | libexif-0:0.6.22-6.el9_4.1 | Fixed 2026-06-16 | RHSA-2026:26192 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | libexif-0:0.6.22-6.el9_6.1 | Fixed 2026-06-16 | RHSA-2026:26224 |
| Red Hat Enterprise Linux 10 | libexif | Not affected | |
| Red Hat Enterprise Linux 6 | libexif | Out of support scope |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-40385.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.