Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. exiv2
  4. ›
  5. CVE-2025-54080

CVE-2025-54080: Exiv2 Segmentation Faults in Exiv2::EpsImage::writeMetadata() via crafted EPS file

August 29, 2025

An out-of-bounds read was found in Exiv2 versions v0.28.5 and earlier. Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. 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. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as delete.

References

  • github.com/Exiv2/exiv2
  • github.com/Exiv2/exiv2/commit/e737332427711f15bcdc4e903203d6b7493eaec0
  • github.com/Exiv2/exiv2/security/advisories/GHSA-496f-x7cq-cq39
  • github.com/advisories/GHSA-496f-x7cq-cq39
  • nvd.nist.gov/vuln/detail/CVE-2025-54080

Code Behaviors & Features

Detect and mitigate CVE-2025-54080 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.17.3

Solution

Unfortunately, there is no solution available yet.

Weakness

  • CWE-125: Out-of-bounds Read

Source file

pypi/exiv2/CVE-2025-54080.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 30 Aug 2025 00:18:25 +0000.