{"id":"PYSEC-2026-1355","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","GHSA-m54q-mm9w-fp6g"],"modified":"2026-07-07T17:46:30.539064187Z","published":"2026-07-07T16:03:02.626933Z","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"},{"type":"PACKAGE","url":"https://pypi.org/project/exiv2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-m54q-mm9w-fp6g"}],"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/pypa/advisory-database/blob/main/vulns/exiv2/PYSEC-2026-1355.yaml"}}],"schema_version":"1.7.5","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"}]}