Moderate Vulnerability in libexif: Information Disclosure and Denial of Service Risks

libexif Updated 27 May 2026

Summary

26/05/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:20929: Moderate: libexif security update. Affects libexif versions < 0.6.22-6.el8_10. Fixed in 0.6.22-6.el8_10. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

libexif is a library designed to extract additional information from image files, particularly those in the EXIF format. It is widely used in applications that handle image processing and manipulation. The library's ability to read metadata from images makes it a valuable tool for developers, but it also exposes potential vulnerabilities if not properly managed. Recent security updates have highlighted critical issues within libexif that could lead to information disclosure and application crashes.

Vulnerability Detail

The vulnerabilities identified in libexif stem from improper handling of Nikon MakerNote data. Specifically, an integer overflow can occur, leading to information disclosure and potential crashes (CVE-2026-40385). Additionally, an integer underflow in MakerNote decoding can result in denial of service and further information leakage (CVE-2026-40386). These vulnerabilities can be exploited by attackers to manipulate image files, potentially compromising sensitive information or causing application failures.

How To Fix

Minimum fixed version

0.6.22-6.el8_10

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

As a temporary measure, users can avoid processing untrusted image files that may contain malicious MakerNote data until the package is updated. Additionally, implementing strict validation checks on image files before processing can help mitigate risks.

Conclusion

The vulnerabilities in libexif present significant risks that can lead to information disclosure and denial of service. It is crucial for users to update to the latest patched version to safeguard their applications. By understanding the nature of these vulnerabilities and implementing the recommended fixes, users can protect their systems from potential exploitation.

See every vulnerability recorded for libexif →

Share this vulnerability

FAQ

libexif is a library used for reading and writing EXIF metadata in image files, allowing applications to extract additional information from images.

The vulnerabilities can lead to information disclosure, application crashes, and denial of service, potentially allowing attackers to exploit these weaknesses.

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

If an immediate update is not possible, avoid processing untrusted image files and implement validation checks to reduce the risk of exploitation.

For detailed information about the vulnerabilities, including CVSS scores and acknowledgments, refer to the CVE pages linked in the advisory.

Related vulnerabilities

Recent vulnerabilities recorded for libexif.

How To Fix

Minimum fixed version

0.6.22-6.el8_10

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