Critical Security Update for libexif: Addressing Vulnerabilities CVE-2026-40385 and CVE-2026-40386

libexif Updated 23 Jun 2026

Summary

17/06/2026
N/A
Yes i
Medium
4.0

RHSA-2026:26292: Red Hat Security Advisory: libexif security update. Affects libexif versions < 0:0.6.22-5.el8_4.1. Fixed in 0:0.6.22-5.el8_4.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 Penetration testing for web, API and mobile 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 used for reading and writing EXIF (Exchangeable Image File Format) metadata in image files. It is widely utilized in applications that handle image processing and manipulation, providing essential functionality for managing image metadata. The library is crucial for ensuring that images retain important information such as camera settings, timestamps, and GPS coordinates. However, recent vulnerabilities have been identified that could potentially compromise the security of applications relying on this library.

Vulnerability Detail

The vulnerabilities identified as CVE-2026-40385 and CVE-2026-40386 in libexif stem from improper handling of EXIF data, which could allow an attacker to exploit the library through crafted image files. This could lead to unauthorized access to sensitive information or even remote code execution in certain scenarios. The vulnerabilities are particularly concerning as they can affect any application that utilizes libexif for image processing, making it imperative for developers to address these issues promptly.

How To Fix

Minimum fixed version

0:0.6.22-5.el8_4.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 disabling the functionality that processes EXIF data until the update can be applied. This can be done by modifying the application settings or code to bypass EXIF handling temporarily.

Conclusion

The vulnerabilities in libexif pose significant risks to applications that rely on this library for image metadata handling. It is crucial for developers to update to the latest patched version to ensure the security of their applications. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for libexif →

Share this vulnerability

FAQ

These are identifiers for specific vulnerabilities found in the libexif library, which could lead to security breaches if not addressed.

You can use Vulert, which monitors open-source vulnerabilities in your software by analyzing a manifest file like package-lock.json. Visit Vulert Scanner to check your application without needing to sign up.

The CVSS score for these vulnerabilities is 4.0, indicating a moderate level of severity.

Consider implementing a workaround by disabling EXIF data processing in your application until you can apply the update.

Detailed information can be found in the Red Hat Security Advisory and related CVE entries.

Related vulnerabilities

Recent vulnerabilities recorded for libexif.

How To Fix

Minimum fixed version

0:0.6.22-5.el8_4.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