Live threats

All CVEs / Exiv2

CVE-2021-3482Exiv2

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
2.1%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Apr 8, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-787
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

What happens

A flaw was found in Exiv2 in versions before and including 0.27.4-RC1. Improper input validation of the rawData.size property in Jp2Image::readMetadata() in jp2image.cpp can lead to a heap-based buffer overflow via a crafted JPG image containing malicious EXIF data.

Original NVD text.

What to do

  1. Apply the vendor's security update for Exiv2.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
exiv2exiv2≤ 0.27.3
exiv2exiv20.27.4
redhatenterprise_linux8.0
fedoraprojectfedora33
fedoraprojectfedora34
debiandebian_linux9.0
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.