Security Vulnerability in libexif: Denial of Service and Information Disclosure

libexif Updated 05 Jun 2026

Summary

02/06/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:22529: Moderate: libexif security update. Affects libexif versions < 0.6.24-9.el10_2.1. Fixed in 0.6.24-9.el10_2.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libexif is a library designed for extracting metadata from image files, such as EXIF data. It is widely used in applications that handle image processing and manipulation. The library allows developers to access additional information embedded in images, enhancing the functionality of image-related software. However, vulnerabilities in libexif can lead to significant security risks, including denial of service and information disclosure, particularly when handling malformed image files.

Vulnerability Detail

The vulnerability identified as CVE-2026-40386 is an integer underflow issue that occurs during the decoding of MakerNote data in libexif. This flaw can be exploited by an attacker to craft a malicious image file that, when processed by an application using libexif, may lead to a denial of service or expose sensitive information. The ramifications of this vulnerability can affect the stability of applications and compromise user data, making it critical to address promptly.

How To Fix

Minimum fixed version

0.6.24-9.el10_2.1

This is the first release that contains the fix.

sudo dnf update libexif

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate patching is not feasible, consider implementing input validation to ensure that only trusted image files are processed by applications using libexif. This can help mitigate the risk of exploitation until the package is updated.

Conclusion

The libexif library has a critical vulnerability that can lead to denial of service and information disclosure. It is essential to update to the latest patched version to mitigate these risks. Users should also consider implementing workarounds to protect their applications until the update can be applied.

See every vulnerability recorded for libexif →

Share this vulnerability

FAQ

CVE-2026-40386 is a security vulnerability in the libexif library that can lead to denial of service and information disclosure due to an integer underflow in MakerNote decoding.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The vulnerability can cause applications to crash or behave unexpectedly, and it may expose sensitive information from image files, posing a risk to user data.

Yes, a patch is available in the form of an updated package version 0.6.24-9.el10_2.1 for libexif.

Implement input validation to restrict the processing of untrusted image files until you can apply the necessary updates.

Related vulnerabilities

Recent vulnerabilities recorded for libexif.

How To Fix

Minimum fixed version

0.6.24-9.el10_2.1

This is the first release that contains the fix.

sudo dnf update libexif

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback