# PYSEC-2021-886 - A buffer overflow vulnerability in the Databuf function in types.cpp of Exiv2 v0.27.1 leads to a denial of service (DOS).

Source: https://junglewise.ai/threats/pysec-2021-886-a-buffer-overflow-vulnerability-in-the-databuf-function-6e475317  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-07-13  
License: CC BY 4.0 with a link back

Severity: low · CVSS 3.1 · Published 2021-07-13

A buffer overflow vulnerability in the Databuf function in types.cpp of Exiv2 v0.27.1 leads to a denial of service (DOS).

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 13 July 2021.

**Which products and versions are affected?** exiv2 (PyPI) 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) 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)
