# CVE-2025-55304: Exiv2 has quadratic performance in ICC profile parsing in JpegBase::readMetadata

- Severity: Low 1.8 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-29T14:59:37.000Z
- Modified: 2026-10-19T17:10:00.173Z
- Also known as: GHSA-m54q-mm9w-fp6g, PYSEC-2026-1355
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. A denial-of-service was found in Exiv2 version 0.28.5: a quadratic algorithm in the ICC profile parsing code in jpegBase::readMetadata() can cause Exiv2 to run for a long time. The denial-of-service is triggered when Exiv2 is used to read the metadata of a crafted jpg image file. The bug is fixed in version 0.28.6.

(As written by CVE List.)

## Affected

- Exiv2 exiv2: < 0.28.6; before 0.28.6
- exiv2 (PyPI): up to 0.17.3

## Every score

- GitHub_M: CVSS:4.0 1.8 Low `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/Exiv2/exiv2/issues/3333> (exploit, issue-tracking, web)
- <https://github.com/Exiv2/exiv2/security/advisories/GHSA-m54q-mm9w-fp6g> (third-party-advisory, web)
- <https://github.com/Exiv2/exiv2/pull/3335> (patch, web)
- <https://github.com/Exiv2/exiv2/pull/3345> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-55304> (advisory)
- <https://github.com/Exiv2/exiv2> (package)
- <https://pypi.org/project/exiv2> (package)
- <https://github.com/advisories/GHSA-m54q-mm9w-fp6g> (advisory)

## Sources

- CVE List: [CVE-2025-55304](https://www.cve.org/CVERecord?id=CVE-2025-55304), CVE Terms of Use, modified 2025-08-29
- GitHub Advisory Database: [GHSA-m54q-mm9w-fp6g](https://github.com/advisories/GHSA-m54q-mm9w-fp6g), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2025-55304](https://nvd.nist.gov/vuln/detail/CVE-2025-55304), Public domain, modified 2026-10-19
- PyPA Advisory Database: [PYSEC-2026-1355](https://osv.dev/vulnerability/PYSEC-2026-1355), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-55304 · Whole record: https://cve.day/CVE-2025-55304.json · Rebuilt by cve.day 2026-11-25T22:59:03.873Z
