libexif up to 0.6.25 MakerNote Decoding integer underflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.0$0-$5k1.52-

Summaryinfo

A vulnerability, which was classified as critical, has been found in libexif up to 0.6.25. Impacted is an unknown function of the component MakerNote Decoding. This manipulation causes integer underflow. This vulnerability appears as CVE-2026-40386. The attack may be initiated remotely. There is no available exploit. To fix this issue, it is recommended to deploy a patch.

Detailsinfo

A vulnerability has been found in libexif up to 0.6.25 and classified as critical. Affected by this vulnerability is an unknown functionality of the component MakerNote Decoding. The manipulation with an unknown input leads to a integer underflow vulnerability. The CWE definition for the vulnerability is CWE-191. The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

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.

It is possible to read the advisory at github.com. This vulnerability is known as CVE-2026-40386 since 04/12/2026. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. The technical details are unknown and an exploit is not publicly available.

The vulnerability scanner Nessus provides a plugin with the ID 306059 (Linux Distros Unpatched Vulnerability : CVE-2026-40386), which helps to determine the existence of the flaw in a target environment.

Applying the patch dc6eac6e9655d14d0779d99e82d0f5f442d2f34b is able to eliminate this problem. The bugfix is ready for download at github.com.

The vulnerability is also documented in the vulnerability database at Tenable (306059). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.2
VulDB Meta Temp Score: 5.0

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA Base Score: 4.0
CNA Vector (MITRE): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Integer underflow
CWE: CWE-191 / CWE-189
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 306059
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-40386

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔒

Patch: dc6eac6e9655d14d0779d99e82d0f5f442d2f34b

Timelineinfo

04/12/2026 Advisory disclosed
04/12/2026 +0 days CVE reserved
04/12/2026 +0 days VulDB entry created
04/13/2026 +1 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: dc6eac6e9655d14d0779d99e82d0f5f442d2f34b
Status: Confirmed

CVE: CVE-2026-40386 (🔒)
GCVE (CVE): GCVE-0-2026-40386
GCVE (VulDB): GCVE-100-357043

Entryinfo

Created: 04/12/2026 21:27
Updated: 04/13/2026 16:13
Changes: 04/12/2026 21:27 (65), 04/13/2026 16:13 (2)
Complete: 🔍
Cache ID: 216:737:103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!