CVEvulnerability

CVE-2021-3482

6.5 MEDIUM Published 2021-04-08 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-04-08
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
CVSS 2.0 ([email protected])
6.4 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:P
Weaknesses
CWE-20, CWE-787

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.

Affected configurations

• exiv2 exiv2 (<= 0.27.3) • exiv2 exiv2 0.27.4 • redhat enterprise linux 8.0 • fedoraproject fedora 33 • fedoraproject fedora 34 • debian debian linux 9.0 • debian debian linux 10.0

Related

Weakness · CWE (2)

  • CWE-20 Improper Input Validation weakness
  • CWE-787 Out-of-bounds Write weakness

References