cve.bz

CVE-2026-40385 libexif project libexif: Year 2038 problem, Y2K38, Y2038, Epochalypse

7.1 highEPSS 0.10%Fix available

High (7.1) in libexif project libexif. EPSS 0.10% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS
0.10% (unchanged from 0.10% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 1st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-04-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain 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.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
libexif project libexifthrough 0.6.25

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libexif0.6.22-3+deb11u1DLA-4558-1
Debian12libexif0.6.24-1+deb12u1DEBIAN-CVE-2026-40385
Debian13libexif0.6.25-1+deb13u1DEBIAN-CVE-2026-40385
Debian14libexif0.6.26-1DEBIAN-CVE-2026-40385
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 2 morelibexifno fix listedUBUNTU-CVE-2026-40385
Ubuntu22.04:LTSlibexif0.6.24-1ubuntu0.22.04.1UBUNTU-CVE-2026-40385 USN-8531-1
Ubuntu24.04:LTSlibexif0.6.24-1ubuntu0.24.04.1UBUNTU-CVE-2026-40385 USN-8531-1
Ubuntu26.04:LTSlibexif0.6.25-2ubuntu0.1UBUNTU-CVE-2026-40385 USN-8531-1
Red Hatenterprise_linux:8::appstreamlibexif, libexif-debuginfo, libexif-debugsource0:0.6.22-6.el8_10RHSA-2026:20929
Red Hatenterprise_linux:8::crblibexif-devel, libexif-debuginfo, libexif-debugsource0:0.6.22-6.el8_10RHSA-2026:20929
Red Hatenterprise_linux:9::appstreamlibexif, libexif-debuginfo, libexif-debugsource0:0.6.22-6.el9_8.1RHSA-2026:22553
Red Hatenterprise_linux:9::crblibexif-devel, libexif-debuginfo, libexif-debugsource0:0.6.22-6.el9_8.1RHSA-2026:22553
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamlibexif, libexif-debuginfo, libexif-debugsource0:0.6.22-5.el8_4.1RHSA-2026:26292
Red Hatrhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstreamlibexif, libexif-debuginfo, libexif-debugsource0:0.6.22-5.el8_6.1RHSA-2026:26191
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamlibexif, libexif-debuginfo, libexif-debugsource0:0.6.22-5.el8_8.1RHSA-2026:26190
Red Hatrhel_e4s:9.2::appstreamlibexif, libexif-debuginfo, libexif-debugsource0:0.6.22-6.el9_2.1RHSA-2026:26276
Red Hatrhel_e4s:9.4::appstreamlibexif, libexif-debuginfo, libexif-debugsource0:0.6.22-6.el9_4.1RHSA-2026:26192
Red Hatrhel_els:7libexif, libexif-doc, libexif-devel and 1 more0:0.6.22-3.el7_9RHSA-2026:26567
Red Hatrhel_eus:9.6::appstreamlibexif, libexif-debuginfo, libexif-debugsource0:0.6.22-6.el9_6.1RHSA-2026:26224
Red Hatrhel_eus:9.6::crblibexif-devel, libexif-debuginfo, libexif-debugsource0:0.6.22-6.el9_6.1RHSA-2026:26224
SUSELinux Enterprise Module for Desktop Applications 15 SP7, Linux Enterprise Module for Package Hub 15 SP7libexif0.6.22-150000.5.12.1SUSE-SU-2026:2837-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0libexif0.6.26-160000.1.1SUSE-SU-2026:22324-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5libexif0.6.22-8.16.1SUSE-SU-2026:2838-1
openSUSELeap 16.0libexif0.6.26-160000.1.1openSUSE-SU-2026:21023-1
openSUSETumbleweedlibexif0.6.26-1.1openSUSE-SU-2026:10717-1
AlmaLinux8libexif, libexif-devel0.6.22-6.el8_10ALSA-2026:20929
AlmaLinux9libexif, libexif-devel0.6.22-6.el9_8.1ALSA-2026:22553
Rocky Linux8libexif0:0.6.22-6.el8_10RLSA-2026:20929
Rocky Linux9libexif0:0.6.22-6.el9_8.1RLSA-2026:22553
Alpinev3.23libexif0.6.26-r0ALPINE-CVE-2026-40385
Azure Linux3libexif0.6.24-3AZL-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

Red Hat rates this Moderate.

Red Hat's statement

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.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extended Lifecycle Supportlibexif-0:0.6.22-3.el7_9Fixed 2026-06-17RHSA-2026:26567
Red Hat Enterprise Linux 8libexif-0:0.6.22-6.el8_10Fixed 2026-05-26RHSA-2026:20929
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportlibexif-0:0.6.22-5.el8_4.1Fixed 2026-06-16RHSA-2026:26292
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onlibexif-0:0.6.22-5.el8_4.1Fixed 2026-06-16RHSA-2026:26292
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportlibexif-0:0.6.22-5.el8_6.1Fixed 2026-06-16RHSA-2026:26191
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onlibexif-0:0.6.22-5.el8_6.1Fixed 2026-06-16RHSA-2026:26191
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicelibexif-0:0.6.22-5.el8_8.1Fixed 2026-06-16RHSA-2026:26190
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionslibexif-0:0.6.22-5.el8_8.1Fixed 2026-06-16RHSA-2026:26190
Red Hat Enterprise Linux 9libexif-0:0.6.22-6.el9_8.1Fixed 2026-06-03RHSA-2026:22553
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionslibexif-0:0.6.22-6.el9_2.1Fixed 2026-06-16RHSA-2026:26276
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionslibexif-0:0.6.22-6.el9_4.1Fixed 2026-06-16RHSA-2026:26192
Red Hat Enterprise Linux 9.6 Extended Update Supportlibexif-0:0.6.22-6.el9_6.1Fixed 2026-06-16RHSA-2026:26224
Red Hat Enterprise Linux 10libexifNot affected
Red Hat Enterprise Linux 6libexifOut 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.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON