CVE-2026-40385: Integer Overflow

Published Apr 12, 2026
·
Updated

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.

Affected Software

6 affected componentsFixes available
libexif libexif<=0.6.25
Libexif Project Libexif<=0.6.25
Microsoft azl3 libexif 0.6.24-2
Microsoft cbl2 libexif 0.6.24-2
Microsoft azl3 libexif 0.6.24-3
debian/libexif<=0.6.22-3
0.6.22-3+deb11u10.6.24-1+deb12u10.6.25-1+deb13u10.6.26-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libexif to a version that resolves this vulnerability.

    Fixed in 0.6.22-3+deb11u1Fixed in 0.6.24-1+deb12u1Fixed in 0.6.25-1+deb13u1Fixed in 0.6.26-1
  2. Upgrade

    Upgrade libexif to a version that resolves this vulnerability.

    Fixed in 0.6.25
  3. Compensating control

    Limit exposure on 32-bit systems only, since the unsigned 32-bit integer overflow in Nikon MakerNote handling affects 32-bit systems.

Event History

Apr 12, 2026
CVE Published
via MITRE·06:16 PM
Data Sourced
via MITRE·06:16 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·07:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 14, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:01 AM
Affected Software
Updated
via Microsoft·08:01 AM
Severity
Jul 14, 2026
Data Sourced
via Ubuntu·02:23 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·02:24 PM
Description
Data Sourced
via Debian·02:24 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-40385?

CVE-2026-40385 is classified as a potential medium severity vulnerability due to the risk of crashes and information leaks.

2

How do I fix CVE-2026-40385?

To fix CVE-2026-40385, upgrade to libexif version 0.6.26 or later.

3

Who is affected by CVE-2026-40385?

CVE-2026-40385 specifically affects users running vulnerable versions of libexif on 32-bit systems.

4

What could be the impact of CVE-2026-40385?

Exploiting CVE-2026-40385 could lead to application crashes or the exposure of sensitive information.

5

Is CVE-2026-40385 present in earlier versions of libexif?

Yes, CVE-2026-40385 exists in all libexif versions up to and including 0.6.25.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203