CVE-2021-3482

MEDIUM

exiv2 <= 0.27.4-RC1 - Heap-Based Buffer Overflow via JPG EXIF Data

Title source: llm
STIX 2.1

Description

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.

References (5)

Core 5
Core References
Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://bugzilla.redhat.com/show_bug.cgi?id=1946314
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2021/dsa-4958
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2021/08/msg00028.html

Scores

CVSS v3 6.5
EPSS 0.0024
EPSS Percentile 46.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Details

CWE
CWE-20 CWE-787
Status published
Products (7)
debian/debian_linux 9.0
debian/debian_linux 10.0
exiv2/exiv2 0.27.4 rc1
exiv2/exiv2 < 0.27.3
fedoraproject/fedora 33
fedoraproject/fedora 34
redhat/enterprise_linux 8.0
Published Apr 08, 2021
Tracked Since Feb 18, 2026