Skip to main content

Libexif CVE-2026-32775

| EUVDEUVD-2026-12345 HIGH
Integer Underflow (CWE-191)
2026-03-16 mitre
7.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Place malicious JPEG on target system
  2. Delivery
    User opens file in vulnerable app
  3. Exploit
    libexif parses MakerNote with zero size
  4. Install
    Integer underflow corrupts buffer bounds
  5. C2
    Overflow overwrites heap metadata
  6. Execute
    Control flow hijacked
  7. Impact
    Execute arbitrary code in app context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
Exploitation Conditions

Exploitation requires the victim application to process attacker-controlled image files containing EXIF MakerNote metadata through libexif versions 0.6.25 or earlier. The vulnerable code path is triggered specifically when exif_mnote_data_get_value is invoked on MakerNote entries with zero-size parameters, which is not the default parsing behavior for well-formed images - the attacker must craft malformed EXIF structures with intentionally invalid size fields. High attack complexity (AC:H) indicates exploitation success depends on precise knowledge of target application memory layout, heap state during parsing, or race conditions that make memory corruption outcomes predictable and exploitable. The local attack vector (AV:L) means the attacker must deliver the malicious image through local file system access, email attachments, messaging apps, web uploads to vulnerable servers, or social engineering to induce file opening. While no privileges are required (PR:N) at the OS level, practical exploitation is limited to contexts where the attacker controls image file inputs and the target application automatically or user-interactively parses EXIF data without sandboxing. Applications that strip or ignore MakerNote tags, or that use alternative EXIF parsers, are not vulnerable through this specific code path.

Impact

CVSS 7.4 HIGH rating reflects maximum technical impact (C:H/I:H/A:H), but real-world exploitability is constrained by local attack vector (AV:L) and high complexity (AC:H). EPSS score of 0.01% (2nd percentile) indicates minimal observed exploitation activity in the wild, aligning with the absence of CISA KEV listing. The AC:H metric suggests successful exploitation requires precise race conditions, memory layout knowledge, or specific application contexts where attacker-controlled image files are processed with predictable memory states. SSVC decision factors: Exploitation=POC (upstream commit exists but no weaponized exploit confirmed), Automatable=No (local vector requires file placement/user interaction in most scenarios), Technical Impact=Total (arbitrary code execution possible). Primary risk exists in automated server-side image processing pipelines that handle untrusted uploads without sandboxing, or desktop applications where users open malicious images from untrusted sources. The PR:N (no privileges required) aspect is misleading - while no OS-level authentication is needed, the attacker must control image file inputs, which constitutes an implicit access requirement. Overall assessment: Medium-priority remediation for internet-facing image processors, lower priority for isolated desktop deployments. The low EPSS score despite 7.4 CVSS suggests this is a defense-in-depth concern rather than an imminent mass-exploitation threat.

Exploit ScenarioDerived

An attacker crafts a JPEG image file containing malicious MakerNote EXIF metadata with a size field set to zero, designed to trigger the integer underflow when parsed by libexif. The victim opens this image in a vulnerable photo management application or uploads it to a web service using libexif for thumbnail generation. During EXIF parsing, exif_mnote_data_get_value performs buffer operations with the underflowed size value, overwriting adjacent heap memory with attacker-controlled data from the MakerNote payload. The attacker leverages this memory corruption to overwrite function pointers or control structures, achieving arbitrary code execution in the context of the image processing application. Publicly available upstream commit 7df372e exists showing the vulnerable code path, lowering the barrier for exploit development.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 21, 2026

Integer underflow in libexif 0.6.25 and earlier allows local attackers to overwrite memory via crafted MakerNote EXIF data in image files. The flaw occurs when exif_mnote_data_get_value receives a zero-size parameter, triggering a buffer overflow that can lead to arbitrary code execution or information disclosure. No active exploitation confirmed (CISA KEV absent), but upstream commit 7df372e exists. EPSS score of 0.01% suggests low widespread exploitation likelihood, though the high-complexity local attack vector (CVSS AV:L/AC:H) limits real-world risk to scenarios where attackers control image file inputs processed by affected applications.

RemediationAI

Upgrade to libexif version newer than 0.6.25 once the maintainers release a tagged version incorporating commit 7df372e9d31d7c993a22b913c813a5f7ec4f3692, which addresses the integer underflow in exif_mnote_data_get_value. The upstream fix is available at https://github.com/libexif/libexif/commit/7df372e9d31d7c993a22b913c813a5f7ec4f3692 and can be backported by Linux distributions or compiled from the main branch for immediate remediation in critical environments. Until official releases propagate through distribution channels, implement compensating controls: configure image processing applications to reject files with MakerNote tags if business logic permits (trade-off: loss of camera-specific metadata), deploy mandatory access control policies (SELinux/AppArmor) to sandbox image parsing processes with no-new-privs and restricted filesystem access (trade-off: operational complexity and potential breakage of legitimate write operations), or preprocess uploads through a separate validation service that strips EXIF data entirely using an alternative parser like exiftool or ImageMagick's identify with resource limits (trade-off: metadata loss and added latency). For server-side deployments, container isolation with minimal capabilities and read-only root filesystems mitigates post-exploitation impact but does not prevent the initial memory corruption. Monitor vendor advisories at the GitHub repository for official patch release announcements.

Affected VersionsENISA

libexif 0 ≤0.6.25

Affected Packages

euvd libexif no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

libexif is a widely-deployed C library for parsing EXIF metadata embedded in JPEG and other image formats, used by image viewers, editors, photo management software, and content processing pipelines. The vulnerability resides in the MakerNote parsing logic - proprietary vendor-specific EXIF extensions used by camera manufacturers. CWE-191 (Integer Underflow) occurs when exif_mnote_data_get_value performs arithmetic on a zero-size value without proper bounds checking, causing an integer wrap-around that results in a larger-than-intended memory operation. This leads to a buffer overflow condition where attacker-controlled data from a crafted image file overwrites adjacent memory regions. The CPE identifier cpe:2.3:a:libexif:libexif applies to the library itself, but exploitation impact extends to all downstream applications linking against vulnerable versions - including GNOME gThumb, KDE digiKam, GIMP, and server-side image processing services.

Know when Libexif gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.4 HIGH
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH
Red Hat 5.3 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Analysis Updated
Apr 21, 2026 - 14:15 vuln.today
v1 - CVSS changed
CVE Published
Mar 16, 2026 - 06:31 nvd
HIGH 7.4

DescriptionCVE.org

libexif through 0.6.25 has a flaw in decoding MakerNotes. If the exif_mnote_data_get_value function gets passed in a 0 size, the passed in-buffer would be overwritten due to an integer underflow.

Executive ViewAI

Why It Matters

CVE-2026-32775 affects libexif 0.6.25 and earlier, allowing local attackers to achieve arbitrary code execution through specially crafted image files, posing risk to applications that process untrusted EXIF metadata. Organizations using vulnerable libexif versions in image processing pipelines-particularly those handling user-uploaded photos or automated image analysis-should prioritize patching to prevent potential privilege escalation or data exfiltration on affected systems.

Business Impact: Medium
Compensating Controls

Vendor-released patch: libexif version 0.6.26 or later. If immediate patching is not feasible, implement file input validation to reject EXIF MakerNote data with zero-size parameters, restrict image processing to trusted sources only, and isolate image processing services with minimal privilege and sandboxing.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2017-7544 CRITICAL POC
9.1 Sep 21

libexif through 0.6.21 is vulnerable to out-of-bounds heap read vulnerability in exif_data_save_data_entry function in l

CVE-2020-13112 CRITICAL
9.1 May 21

An issue was discovered in libexif before 0.6.22. Rated critical severity (CVSS 9.1), this vulnerability is remotely exp

CVE-2012-2841 HIGH
7.5 Jul 13

Integer underflow in the exif_entry_get_value function in exif-entry.c in the EXIF Tag Parsing Library (aka libexif) 0.6

CVE-2012-2814 HIGH
7.5 Jul 13

Buffer overflow in the exif_entry_format_value function in exif-entry.c in the EXIF Tag Parsing Library (aka libexif) 0.

CVE-2020-13113 HIGH
8.2 May 21

An issue was discovered in libexif before 0.6.22. Rated high severity (CVSS 8.2), this vulnerability is remotely exploit

CVE-2012-2840 HIGH
7.5 Jul 13

Off-by-one error in the exif_convert_utf16_to_utf8 function in exif-entry.c in the EXIF Tag Parsing Library (aka libexif

CVE-2020-0198 HIGH
7.5 Jun 11

In exif_data_load_data_content of exif-data.c, there is a possible UBSAN abort due to an integer overflow. Rated high se

CVE-2020-0181 HIGH
7.5 Jun 11

In exif_data_load_data_thumbnail of exif-data.c, there is a possible denial of service due to an integer overflow. Rated

CVE-2020-13114 HIGH
7.5 May 21

An issue was discovered in libexif before 0.6.22. Rated high severity (CVSS 7.5), this vulnerability is remotely exploit

CVE-2012-2836 MEDIUM
6.4 Jul 13

The exif_data_load_data function in exif-data.c in the EXIF Tag Parsing Library (aka libexif) before 0.6.21 allows remot

CVE-2012-2812 MEDIUM
6.4 Jul 13

The exif_entry_get_value function in exif-entry.c in the EXIF Tag Parsing Library (aka libexif) before 0.6.21 allows rem

CVE-2012-2813 MEDIUM
6.4 Jul 13

The exif_convert_utf16_to_utf8 function in exif-entry.c in the EXIF Tag Parsing Library (aka libexif) before 0.6.21 allo

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP7 Fixed
SUSE Linux Enterprise Server 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy