| Name | CVE-2021-3482 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-2750-1, DSA-4958-1 |
| Debian Bugs | 986888 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| exiv2 (PTS) | bullseye | 0.27.3-3+deb11u2 | fixed |
| bullseye (security) | 0.27.3-3+deb11u1 | vulnerable | |
| bookworm | 0.27.6-1 | fixed | |
| trixie | 0.28.5+dfsg-1 | fixed | |
| forky, sid | 0.28.7+dfsg-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| exiv2 | source | stretch | 0.25-3.1+deb9u3 | DLA-2750-1 | ||
| exiv2 | source | buster | 0.25-4+deb10u2 | DSA-4958-1 | ||
| exiv2 | source | bullseye | 0.27.3-3+deb11u2 | |||
| exiv2 | source | (unstable) | 0.27.5-1 | 986888 |
https://github.com/Exiv2/exiv2/issues/1522
https://github.com/Exiv2/exiv2/commit/22ea582c6b74ada30bec3a6b15de3c3e52f2b4da
https://github.com/Exiv2/exiv2/commit/cac151ec052d44da3dc779e9e4028e581acb128a