CVE-2026-27631

Exiv2: Uncaught exception - cannot create std::vector larger than max_size()

MEDIUM
5.3
CVSS Score
Published: March 2, 2026 at 07:40 PM UTC
Updated: June 17, 2026 at 10:27 AM UTC
1 product affected across 1 vendorExiv2

Using exiv2 by Exiv2?

Get instant alerts when new vulnerabilities affect exiv2 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. Prior to version 0.28.8, an uncaught exception was found in Exiv2. The vulnerability is in the preview component, which is only triggered when running Exiv2 with an extra command line argument, like -pp. Due to an integer overflow, the code attempts to create a huge std::vector, which causes Exiv2 to crash with an uncaught exception. This issue has been patched in version 0.28.8.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≤ 0.28.8v < 0.28.8
Affected range stops below 0.28.8, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (4)

x_refsource_CONFIRMPatchVendor Advisory
Source: cverecord
https://github.com/Exiv2/exiv2/security/advisories/GHSA-p2pw-7935-c73j
x_refsource_MISCIssue Tracking
Source: cverecord
https://github.com/Exiv2/exiv2/issues/3513
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/Exiv2/exiv2/pull/3514

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-248

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card