{"id":"CVE-2025-55304","aliases":["CVE-2025-55304","GHSA-m54q-mm9w-fp6g","PYSEC-2026-1355"],"related":[],"kind":"vulnerability","state":"published","title":"Exiv2 has quadratic performance in ICC profile parsing in JpegBase::readMetadata","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Exiv2 es una biblioteca de C++ y una utilidad de línea de comandos para leer, escribir, eliminar y modificar metadatos de imagen Exif, IPTC, XMP e ICC. Se encontró una denegación de servicio en Exiv2 versión 0.28.5: un algoritmo cuadrático en el código de análisis de perfiles ICC en jpegBase::readMetadata() puede hacer que Exiv2 se ejecute durante mucho tiempo. La denegación de servicio se activa cuando se usa Exiv2 para leer los metadatos de un archivo de imagen jpg manipulado. El error está corregido en la versión 0.28.6.","source":"nvd"}],"published":"2025-08-29T14:59:37.000Z","modified":"2026-10-19T17:10:00.173Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":1.8,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":1.8,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-407"],"affected":[{"ranges":[{"version":"< 0.28.6","status":"affected"}],"vendor":"Exiv2","product":"exiv2","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.17.3"}],"ecosystem":"PyPI","package":"exiv2","purl":"pkg:pypi/exiv2","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.28.6"}],"vendor":"exiv2","product":"exiv2","cpe":"cpe:2.3:a:exiv2:exiv2:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.17.3"}],"ecosystem":"PyPI","package":"exiv2","purl":"pkg:pypi/exiv2","source":"pysec"}],"references":[{"url":"https://github.com/Exiv2/exiv2/security/advisories/GHSA-m54q-mm9w-fp6g","tags":["third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/Exiv2/exiv2/issues/3333","tags":["exploit","issue-tracking","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/Exiv2/exiv2/pull/3335","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/Exiv2/exiv2/pull/3345","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55304","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/Exiv2/exiv2","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/exiv2","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-m54q-mm9w-fp6g","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-08-29T15:26:15.679Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-55304","url":"https://www.cve.org/CVERecord?id=CVE-2025-55304","licence":"CVE Terms of Use","modified":"2025-08-29T15:27:17.130Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m54q-mm9w-fp6g","url":"https://github.com/advisories/GHSA-m54q-mm9w-fp6g","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:54.761Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-55304","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55304","licence":"Public domain","modified":"2026-10-19T17:10:00.173Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1355","url":"https://osv.dev/vulnerability/PYSEC-2026-1355","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:35.885Z"}],"updatedAt":"2026-11-25T22:59:03.873Z","epss":{"score":0.00289,"percentile":0.23105,"date":"2026-12-01T12:00:22.000Z"}}