# JLSEC-2026-1315: Exiv2 has quadratic performance in ICC profile parsing in `JpegBase::readMetadata`

- Severity: Medium 5.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-13T15:55:58.236Z
- Modified: 2026-08-13T16:13:48.191Z
- Related: CVE-2025-55304, EUVD-2025-26206, GHSA-m54q-mm9w-fp6g, PYSEC-2026-1355

## Description

### 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](https://github.com/Exiv2/exiv2/security/policy) for information about Exiv2 security.

(As written by Julia Security Advisories.)

## Affected

- Exiv2_jll (Julia): all versions

## Every score

- Julia Security Advisories: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Julia Security Advisories: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/Exiv2/exiv2/issues/3333> (web)
- <https://github.com/Exiv2/exiv2/pull/3335> (web)
- <https://github.com/Exiv2/exiv2/pull/3345> (web)
- <https://github.com/Exiv2/exiv2/security/advisories/GHSA-m54q-mm9w-fp6g> (web)
- <https://github.com/advisories/GHSA-m54q-mm9w-fp6g> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-55304> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1315](https://osv.dev/vulnerability/JLSEC-2026-1315), CC-BY-4.0, modified 2026-08-13

---

Page: https://cve.day/JLSEC-2026-1315 · Whole record: https://cve.day/JLSEC-2026-1315.json · Rebuilt by cve.day 2026-11-25T22:56:25.936Z
