Security Resilience

CVE-2026-32775

Memory Safety in Libexif Project Libexif ≤ 0.6.25

Public PoCMemory Safety
Published
16 March 2026
Modified
21 April 2026
Patch / advisory
CVSS Score v3.1 7.4
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0017 6th percentile
Risk Priority 52 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-32775 is a high-severity Wrap or Wraparound (CWE-191) vulnerability in Libexif Project Libexif. Its CVSS base score is 7.4 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Network Devices (T1584.008); ranked at the 6th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-8 (Security and Privacy Engineering Principles) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-32775 is an integer underflow vulnerability in the libexif library, specifically in the exif_mnote_data_get_value function during MakerNotes decoding. When a zero size is passed, the function causes an underflow that overwrites the input buffer. The flaw affects libexif versions through 0.6.25 and is classified under CWE-191 (Integer Underflow), with a CVSS v3.1 base score of 7.4 (AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).

A local attacker can exploit this vulnerability without privileges or user interaction, though it requires high attack complexity. Successful exploitation leads to high-impact confidentiality, integrity, and availability violations, potentially allowing arbitrary code execution or system compromise via crafted EXIF data processed by affected applications.

Mitigation is available via a patch in libexif commit 7df372e9d31d7c993a22b913c813a5f7ec4f3692, as detailed in GitHub issue #247. Security practitioners should update to a patched version of libexif and audit dependent applications that parse EXIF metadata from untrusted sources.

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1584.008 Network Devices Resource Development
Adversaries may compromise third-party network devices that can be used during targeting.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1189 Drive-by Compromise Initial Access
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-40386Same product: Libexif Project Libexif
CVE-2026-40385Same product: Libexif Project Libexif
CVE-2024-23313Shared CWE-191
CVE-2026-18355Shared CWE-191
CVE-2026-2369Shared CWE-191
CVE-2024-5256Shared CWE-191
CVE-2024-0565Shared CWE-191
CVE-2024-52558Shared CWE-191
CVE-2026-23748Shared CWE-191
CVE-2023-20635Shared CWE-191

Affected Assets

libexif project
libexif
≤ 0.6.25

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

Developer testing and static/dynamic analysis directly find integer underflow defects before code is released.

Security engineering principles require use of safe arithmetic constructs or language features that structurally eliminate integer underflow during subtraction.

Input validation can reject or sanitize values that would cause a subtraction to underflow the representable range.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 full match
blocks

Secure SDLC practices directly prevent integer underflow defects via input validation, bounds checking, and static analysis.

ID.RA-01 partial match
blocks

Vulnerability scanning and code analysis can surface underflow flaws after they are introduced.

PR.PS-02 partial match
blocks

Routine patching can remediate known underflow bugs once they are discovered in deployed software.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing in development catches integer underflow defects before release.

prevents

Secure coding standards directly prescribe safe integer handling and overflow/underflow prevention.

References