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.1% 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-40386 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40386?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40386?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-40386 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-40386 |
| Debian | 13 | libexif | 0.6.25-1+deb13u1 | DEBIAN-CVE-2026-40386 |
| Debian | 14 | libexif | 0.6.26-1 | DEBIAN-CVE-2026-40386 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 2 more | libexif | no fix listed | UBUNTU-CVE-2026-40386 |
| Ubuntu | 22.04:LTS | libexif | 0.6.24-1ubuntu0.22.04.1 | UBUNTU-CVE-2026-40386 USN-8531-1 |
| Ubuntu | 24.04:LTS | libexif | 0.6.24-1ubuntu0.24.04.1 | UBUNTU-CVE-2026-40386 USN-8531-1 |
| Ubuntu | 26.04:LTS | libexif | 0.6.25-2ubuntu0.1 | UBUNTU-CVE-2026-40386 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 | enterprise_linux:10.2 | libexif, libexif-doc, libexif-devel and 2 more | 0:0.6.24-9.el10_2.1 | RHSA-2026:22529 |
| Red Hat | enterprise_linux_eus:10.0 | libexif, libexif-doc, libexif-devel and 2 more | 0:0.6.24-9.el10_0.1 | RHSA-2026:26274 |
| 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 |
| 2 more for Red Hat in the JSON and on Red Hat's page. | ||||
| 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 |
| AlmaLinux | 10 | libexif, libexif-doc, libexif-devel | 0.6.24-9.el10_2.1 | ALSA-2026:22529 |
| 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 |
| Rocky Linux | 10 | libexif | 0:0.6.24-9.el10_2.1 | RLSA-2026:22529 |
| Alpine | v3.23 | libexif | 0.6.26-r0 | ALPINE-CVE-2026-40386 |
| Azure Linux | 3 | libexif | 0.6.24-3 | AZL-82682 |
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.
Moderate impact. An integer underflow in libexif's Fuji and Olympus MakerNote decoding could allow an attacker to cause a denial of service or information disclosure. This vulnerability affects programs that process specially crafted image files utilizing libexif.
To mitigate this issue, users should avoid processing untrusted image files with applications that utilize libexif. Restricting the source of image files to trusted origins can reduce the risk of exploitation.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | libexif-0:0.6.24-9.el10_2.1 | Fixed 2026-06-03 | RHSA-2026:22529 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | libexif-0:0.6.24-9.el10_0.1 | Fixed 2026-06-16 | RHSA-2026:26274 |
| 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 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-40386.