Read the docs
TI-2026-22013 Aliases CVE-2026-27631

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

Priority LOW 19CWE-248Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · Low · None
Fix status
Partial Red Hat: 5 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-248.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00292 21st percentileScored 2026-11-07
Fix Partial exiv2 (Exiv2): 0.28.8Red Hat: 5 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Exiv2exiv2before 0.28.80.28.8Patch availableCNA
  • exiv2 VendorExiv2 Affected before 0.28.8 Fixed in 0.28.8 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:exiv2:exiv2:*:*:*:*:*:*:*:*up to 0.28.8VulnerableExiv2
  • cpe:2.3:a:exiv2:exiv2:*:*:*:*:*:*:*:* Versions up to 0.28.8 Vulnerable ·Exiv2

Remediation

  • Fix · CNA exiv2 (Exiv2) Fixed in 0.28.8

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 6AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-27631

References

  • TI-2020-13478 Buffer Overflow vulnerability in tEXtToDataBuf function in pngimage.cpp in Exiv2 0.27.1… CVSS 3.1HIGH 7.8
  • TI-2025-19560 Use After Free in Exiv2 CVSS 4.0MEDIUM 5.3
  • TI-2020-13491 An uncontrolled memory allocation in DataBufdata(subBox.length-sizeof(box)) function of… CVSS 3.1MEDIUM 6.5
  • TI-2018-08245 Exiv2 0.26 has a heap-based buffer overflow in getData in preview.cpp. CVSS 3.0CRITICAL 9.8
  • TI-2025-33923 Exiv2 Segmentation Faults in Exiv2::EpsImage::writeMetadata() via crafted EPS file CVSS 4.0LOW 1.8
  • TI-2019-06608 An issue was discovered in Exiv2 0.27. CVSS 3.0HIGH 8.8
See all 123 →

Sources