CVE-2025-55304
JSON

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 packageVersionsReported by
Exiv2 exiv2< 0.28.6, before 0.28.6CVE List, NVD
exiv2 (PyPI)up to 0.17.3GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M1.8low CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
GitHublow CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS: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

CWE-407

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

Sources

SourceRecordLicence
CVE ListCVE-2025-55304 changed 2025-08-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-m54q-mm9w-fp6g changed 2026-07-07CC-BY-4.0
NVDCVE-2025-55304 changed 2026-10-19Public domain
PyPA Advisory DatabasePYSEC-2026-1355 changed 2026-07-07CC-BY-4.0