CVE-2021-3482

NameCVE-2021-3482
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2750-1, DSA-4958-1
Debian Bugs986888

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
exiv2 (PTS)bullseye0.27.3-3+deb11u2fixed
bullseye (security)0.27.3-3+deb11u1vulnerable
bookworm0.27.6-1fixed
trixie, sid0.28.3+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
exiv2sourcestretch0.25-3.1+deb9u3DLA-2750-1
exiv2sourcebuster0.25-4+deb10u2DSA-4958-1
exiv2sourcebullseye0.27.3-3+deb11u2
exiv2source(unstable)0.27.5-1986888

Notes

https://github.com/Exiv2/exiv2/issues/1522
https://github.com/Exiv2/exiv2/commit/22ea582c6b74ada30bec3a6b15de3c3e52f2b4da
https://github.com/Exiv2/exiv2/commit/cac151ec052d44da3dc779e9e4028e581acb128a

Search for package or bug name: Reporting problems