Skip to content
Fencer Intel
medium 4.0

CVE-2026-40385 json

In libexif through 0.6.25, an unsigned 32bit integer overflow in Nikon MakerNote handling could be...

published 6mo ago modified 3mo ago also EUVD-2026-21732 , GHSA-j9xr-5c85-xjhm , JLSEC-2026-151

cvss
4.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.1%
EPSS 0.1% chance of exploitation in 30 days, percentile 0%
public exploits
0
none known

Summary

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.

Patch / fix

  • julia libexif_jll 0.6.26+0
  • libexif Debian 12 0.6.24-1+deb12u1
  • libexif Debian 13 0.6.25-1+deb13u1
  • libexif Debian 14 0.6.26-1

debian advisories DEBIAN-CVE-2026-40385

  • libexif Ubuntu 22.04 LTS 0.6.24-1ubuntu0.22.04.1
  • libexif Ubuntu 24.04 LTS 0.6.24-1ubuntu0.24.04.1
  • libexif Ubuntu 26.04 LTS 0.6.25-2ubuntu0.1

ubuntu advisories UBUNTU-CVE-2026-40385

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libexif RHEL 9 0.6.22-6.el9_8.1
  • libexif RHEL 8 0.6.22-6.el8_10
  • libexif RHEL 7 ELS 0.6.22-3.el7_9
  • libexif RHEL 9.2 E4S 0.6.22-6.el9_2.1
  • libexif RHEL 8.4 EUS_LONG_LIFE, RHEL 8.4 AUS 0.6.22-5.el8_4.1
  • libexif RHEL 9.6 EUS 0.6.22-6.el9_6.1
  • libexif RHEL 8.8 TUS, RHEL 8.8 E4S 0.6.22-5.el8_8.1
  • libexif RHEL 9.4 E4S 0.6.22-6.el9_4.1

red hat advisories RHSA-2026:26567RHSA-2026:26276RHSA-2026:26292RHSA-2026:26224RHSA-2026:26190RHSA-2026:26192

  • libexif SLE Module for Package Hub 15 SP7, SLE Module for Desktop Applications 15 SP7 0.6.22-150000.5.12.1
  • libexif SLES for SAP applications 16.0, SLES 16.0 0.6.26-160000.1.1
  • libexif SLES LTSS Extended Security 12 SP5 0.6.22-8.16.1

suse advisories SUSE-SU-2026:2838-1SUSE-SU-2026:2837-1SUSE-SU-2026:22324-1

  • libexif openSUSE Leap 16.0 0.6.26-160000.1.1
  • libexif openSUSE Tumbleweed 0.6.26-1.1

opensuse advisories openSUSE-SU-2026:21023-1openSUSE-SU-2026:10717-1

  • libexif AlmaLinux 9 0.6.22-6.el9_8.1
  • libexif AlmaLinux 8 0.6.22-6.el8_10

almalinux advisories ALSA-2026:22553ALSA-2026:20929

  • libexif Rocky Linux 9 0.6.22-6.el9_8.1
  • libexif Rocky Linux 8 0.6.22-6.el8_10

rocky linux advisories RLSA-2026:22553RLSA-2026:20929

  • libexif Alpine 3.23 0.6.26-r0

alpine advisories ALPINE-CVE-2026-40385

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libexif Azure Linux 3.0 0.6.24-3

azure linux advisories AZL-82685

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2026-40385 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-40385 updated cvss 4.0

libexif: libexif: Information disclosure and crashes via integer overflow in Nikon MakerNote handling

  • Red Hat Enterprise Linux 6 libexif
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat CodeReady Linux Builder EUS (v.9.6) libexif-devel 0.6.22-6.el9_6.1, libexif-debuginfo 0.6.22-6.el9_6.1, libexif-debugsource 0.6.22-6.el9_6.1
    fixed: vendor fix RHSA-2026:26224
  • Red Hat Enterprise Linux AppStream (v. 8) libexif 0.6.22-6.el8_10
    fixed: vendor fix RHSA-2026:20929
  • Red Hat Enterprise Linux AppStream (v. 9) libexif 0.6.22-6.el9_8.1
    fixed: vendor fix RHSA-2026:22553
  • Red Hat Enterprise Linux AppStream AUS (v.8.4) libexif 0.6.22-5.el8_4.1
    fixed: vendor fix RHSA-2026:26292
  • Red Hat Enterprise Linux AppStream AUS (v.8.6) libexif 0.6.22-5.el8_6.1
    fixed: vendor fix RHSA-2026:26191
  • Red Hat Enterprise Linux AppStream E4S (v.8.8) libexif 0.6.22-5.el8_8.1
    fixed: vendor fix RHSA-2026:26190
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) libexif 0.6.22-6.el9_2.1
    fixed: vendor fix RHSA-2026:26276
show 9 more
  • Red Hat Enterprise Linux AppStream E4S (v.9.4) libexif 0.6.22-6.el9_4.1
    fixed: vendor fix RHSA-2026:26192
  • Red Hat Enterprise Linux AppStream EUS (v.9.6) libexif 0.6.22-6.el9_6.1
    fixed: vendor fix RHSA-2026:26224
  • Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) libexif 0.6.22-5.el8_4.1
    fixed: vendor fix RHSA-2026:26292
  • Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6) libexif 0.6.22-5.el8_6.1
    fixed: vendor fix RHSA-2026:26191
  • Red Hat Enterprise Linux AppStream TUS (v.8.8) libexif 0.6.22-5.el8_8.1
    fixed: vendor fix RHSA-2026:26190
  • Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) libexif-devel 0.6.22-6.el9_8.1, libexif-debuginfo 0.6.22-6.el9_8.1, libexif-debugsource 0.6.22-6.el9_8.1
    fixed: vendor fix RHSA-2026:22553
  • Red Hat Enterprise Linux CRB (v. 8) libexif-devel 0.6.22-6.el8_10, libexif-debuginfo 0.6.22-6.el8_10, libexif-debugsource 0.6.22-6.el8_10
    fixed: vendor fix RHSA-2026:20929
  • Red Hat Enterprise Linux Server (v. 7 ELS) libexif 0.6.22-3.el7_9 Red Hat Enterprise Linux Server Optional (v. 7 ELS) libexif-doc 0.6.22-3.el7_9, libexif-devel 0.6.22-3.el7_9, libexif-debuginfo 0.6.22-3.el7_9
    fixed: vendor fix RHSA-2026:26567
  • Red Hat Enterprise Linux 10 libexif
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
6mo ago

Exploit prediction

0.10% chance of exploitation in the next 30 days, higher than 0% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 4.0 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
NVD 3.1 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
OSV 3.1 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected packages

ecosystem package affected fixed in
julia libexif_jll
<0.6.26+0
0.6.26+0

Affected products

  • libexif project libexif

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.