CVE-2021-3482
exiv2: Heap-based buffer overflow in Jp2Image::readMetadata()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 5, 2021
Updated · June 27, 2026
Description
A flaw was found in Exiv2. Improper input validation of the rawData.size property in the Jp2Image::readMetadata() function in jp2image.cpp can lead to a heap-based buffer overflow via a crafted JPG image containing malicious EXIF data. The highest threat from this vulnerability is to confidentiality and system availability.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
CWE-1284 · Improper Validation of Specified Quantity in Input