Exiv2 Segmentation Faults in Exiv2::EpsImage::writeMetadata() via crafted EPS file
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Partial Red Hat: 5 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. An out-of-bounds read was found in Exiv2 versions 0.28.5 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service by crashing Exiv2, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when writing the metadata, which is a less frequently used Exiv2 operation than reading the metadata. The bug is fixed in version 0.28.6.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Exiv2 | exiv2 | before 0.28.6 | 0.28.6 | Patch available | CNA |
| — | Exiv2 (PyPI) | up to 0.17.3 | — | No fix listed | GHSA-496f-x7cq-cq39 |
- exiv2 VendorExiv2 Affected before 0.28.6 Fixed in 0.28.6 Patch available CNA
- Exiv2 (PyPI) Vendor— Affected up to 0.17.3 Fixed in — No fix listed GHSA-496f-x7cq-cq39
Remediation
- Fix · CNA exiv2 (Exiv2) Fixed in 0.28.6
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-54080
- 2026-10-03 Alias added: GHSA-496f-x7cq-cq39
References
More Exiv2 vulnerabilities
- 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-2019-06608 An issue was discovered in Exiv2 0.27. CVSS 3.0HIGH 8.8
- TI-2019-06607 An issue was discovered in Exiv2 0.27. CVSS 3.0HIGH 8.8
Sources
- CVE-2025-54080 · CVE Program
- CVE-2025-54080 · NVD
- FIRST EPSS
- GHSA-496f-x7cq-cq39 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-54080 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences