CVE-2026-40386: Integer Underflow

Published Apr 12, 2026
·
Updated

In libexif through 0.6.25, an integer underflow in size checking for Fuji and Olympus MakerNote decoding could be used by attackers to crash or leak information out of libexif-using programs.

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

Event History

Apr 12, 2026
CVE Published
via MITRE·06:19 PM
Data Sourced
via MITRE·06:19 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 Debian·02:24 PM
DescriptionAffected Software
Data Sourced
via Launchpad·02:24 PM
Description
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-40386?

CVE-2026-40386 has a severity rating that indicates a potential for serious impacts due to integer underflow vulnerabilities.

2

How do I fix CVE-2026-40386?

To fix CVE-2026-40386, update libexif to version 0.6.26 or later.

3

What types of programs are affected by CVE-2026-40386?

Programs that utilize libexif versions up to 0.6.25 for decoding Fuji and Olympus MakerNotes are affected by CVE-2026-40386.

4

What are the potential impacts of CVE-2026-40386?

The potential impacts of CVE-2026-40386 include crashing the application or leaking sensitive information.

5

Is CVE-2026-40386 related to specific camera manufacturers?

Yes, CVE-2026-40386 specifically affects the decoding of MakerNotes from Fuji and Olympus cameras.

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