CVE-2021-3482

Published: 08 April 2021

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.

Priority

Medium

CVSS 3 base score: 6.5

Status

Package Release Status
exiv2
Launchpad, Ubuntu, Debian
Upstream Needs triage

Ubuntu 21.04 (Hirsute Hippo)
Released (0.27.3-3ubuntu1.1)
Ubuntu 20.10 (Groovy Gorilla)
Released (0.27.3-3ubuntu0.2)
Ubuntu 20.04 LTS (Focal Fossa)
Released (0.27.2-8ubuntu2.2)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (0.25-3.1ubuntu0.18.04.7)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (0.25-2.1ubuntu16.04.7+esm1)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

Patches:
Upstream: https://github.com/Exiv2/exiv2/commit/22ea582c6b74ada30bec3a6b15de3c3e52f2b4da
Upstream: https://github.com/Exiv2/exiv2/commit/cac151ec052d44da3dc779e9e4028e581acb128a