# PYSEC-2020-344 - In Jp2Image::readMetadata() in jp2image.cpp in Exiv2 0.27.2, an input file can result in an infinite…

Source: https://junglewise.ai/threats/pysec-2020-344-in-jp2image-readmetadata-in-jp2image-cpp-in-exiv2-0-27-2-26b3aa30  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2020-01-27  
License: CC BY 4.0 with a link back

Severity: low · CVSS 3.1 · Published 2020-01-27

In Jp2Image::readMetadata() in jp2image.cpp in Exiv2 0.27.2, an input file can result in an infinite loop and hang, with high CPU consumption. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted file.

Technologies: [exiv2 (PyPI)](https://junglewise.ai/threats/technologies/exiv2). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Low severity, with a CVSS score of 3.1, published 27 January 2020.

**Which products and versions are affected?** exiv2 (PyPI) GIT:introduced=0,fixed=a82098f4f90cd86297131b5663c3dec6a34470e8|ECOSYSTEM:introduced=0.

**Is there a fix for This vulnerability?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected?** Check whether you run exiv2 (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- exiv2 (PyPI) GIT:introduced=0,fixed=a82098f4f90cd86297131b5663c3dec6a34470e8|ECOSYSTEM:introduced=0

## Related threats

- [PYSEC-2026-1355 - Exiv2 has quadratic performance in ICC profile parsing in JpegBase::readMetadata](https://junglewise.ai/threats/cve-2025-55304-exiv2-has-quadratic-performance-in-icc-profile-parsing-in)
- [PYSEC-2026-1354 - Exiv2 Segmentation Faults in Exiv2::EpsImage::writeMetadata() via crafted EPS file](https://junglewise.ai/threats/cve-2025-54080-exiv2-segmentation-faults-in-exiv2-epsimage-writemetadata-via)
- [PYSEC-2026-1353 - Exiv2 allows Use After Free](https://junglewise.ai/threats/cve-2025-26623-exiv2-use-after-free-in-tiffsubifd)
- [Exiv2 has a denial of service due to unbounded recursion in QuickTimeVideo::multipleEntriesDecoder](https://junglewise.ai/threats/cve-2024-25112-exiv2-has-a-denial-of-service-due-to-unbounded-recursion-in)
- [Exiv2 has an out-of-bounds read in QuickTimeVideo::NikonTagsDecoder](https://junglewise.ai/threats/cve-2024-24826-exiv2-has-an-out-of-bounds-read-in-quicktimevideo)
