{"id":"GHSA-m54q-mm9w-fp6g","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.","aliases":["CVE-2025-55304","PYSEC-2026-1355"],"modified":"2026-07-07T17:57:26.232313214Z","published":"2025-08-29T14:59:37Z","database_specific":{"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2025-08-29T14:59:37Z","nvd_published_at":"2025-08-29T15:15:35Z","cwe_ids":["CWE-407"]},"references":[{"type":"WEB","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":"WEB","url":"https://github.com/Exiv2/exiv2/issues/3333"},{"type":"WEB","url":"https://github.com/Exiv2/exiv2/pull/3335"},{"type":"WEB","url":"https://github.com/Exiv2/exiv2/pull/3345"},{"type":"PACKAGE","url":"https://github.com/Exiv2/exiv2"}],"affected":[{"package":{"name":"exiv2","ecosystem":"PyPI","purl":"pkg:pypi/exiv2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.17.3"}]}],"versions":["0.1","0.11.0","0.11.1","0.11.2","0.11.3","0.12.0","0.12.1","0.13.0","0.13.1","0.13.2","0.14.0","0.14.1","0.15.0","0.16.0","0.16.1","0.16.2","0.16.2.post1","0.16.3","0.16.3.post1","0.17.0","0.17.1","0.17.2","0.17.3","0.2","0.3","0.3.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-m54q-mm9w-fp6g/GHSA-m54q-mm9w-fp6g.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}