{"id":"CVE-2025-55304","aliases":["GHSA-m54q-mm9w-fp6g","PYSEC-2026-1355"],"url":"https://o3.security/vulnerability/CVE-2025-55304","summary":"Exiv2 has quadratic performance in ICC profile parsing in JpegBase::readMetadata","details":"### Impact\nA denial-of-service was found in Exiv2 version v0.28.5: a quadratic algorithm in the ICC profile parsing code in `jpegBase::readMetadata()` can cause Exiv2 to run for a long time. Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. The denial-of-service is triggered when Exiv2 is used to read the metadata of a crafted jpg image file.\n\n### Patches\nThe bug is fixed in version v0.28.6.\n\n### References\nIssue: https://github.com/Exiv2/exiv2/issues/3333\nFixes: https://github.com/Exiv2/exiv2/pull/3335 (main branch), https://github.com/Exiv2/exiv2/pull/3345 (0.28.x branch)\n\n### For more information\nPlease see our [security policy](https://github.com/Exiv2/exiv2/security/policy) for information about Exiv2 security.","published":"2025-08-29T15:00:05.975Z","modified":"2026-08-12T03:51:47.103638469Z","cvss":null,"epss":{"score":0.00242,"percentile":0.15099,"asOf":"2026-08-24"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"exiv2","fixedVersion":null}],"fix":{"url":"https://github.com/Exiv2/exiv2/pull/3335","label":"Exiv2/exiv2#3335"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55304.json"},{"type":"ADVISORY","url":"https://github.com/Exiv2/exiv2/security/advisories/GHSA-m54q-mm9w-fp6g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55304"},{"type":"REPORT","url":"https://github.com/Exiv2/exiv2/issues/3333"},{"type":"FIX","url":"https://github.com/Exiv2/exiv2/pull/3335"},{"type":"FIX","url":"https://github.com/Exiv2/exiv2/pull/3345"},{"type":"PACKAGE","url":"https://github.com/Exiv2/exiv2"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:47.103638469Z"}}