1.8low
Exiv2 has quadratic performance in ICC profile parsing in JpegBase::readMetadata
- Severity
- 1.8low CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.29% (higher than 23% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-m54q-mm9w-fp6gPYSEC-2026-1355
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Exiv2 exiv2 | < 0.28.6, before 0.28.6 | CVE List, NVD |
| exiv2 (PyPI) | up to 0.17.3 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| GitHub_M | 1.8low 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 |
| GitHub | low 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 |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | Not scored 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 |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Impact
A 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.
Patches
The bug is fixed in version v0.28.6.
References
Issue: https://github.com/Exiv2/exiv2/issues/3333 Fixes: https://github.com/Exiv2/exiv2/pull/3335 (main branch), https://github.com/Exiv2/exiv2/pull/3345 (0.28.x branch)
For more information
Please see our security policy for information about Exiv2 security.
NVD (es)
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.
References
| https://github.com/Exiv2/exiv2/security/advisories/GHSA-m54q-mm9w-fp6g | third-party-advisory, web | |
| https://github.com/Exiv2/exiv2/issues/3333 | exploit, issue-tracking, 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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-55304 changed 2025-08-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m54q-mm9w-fp6g changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2025-55304 changed 2026-10-19 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1355 changed 2026-07-07 | CC-BY-4.0 |