CVE-2021-3482 json
A flaw was found in Exiv2 in versions before and including 0.27.4-RC1.
published 2021-04-08 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-26804
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- exiv2 Debian 14, Debian 13, Debian 12 0.27.5-1
debian advisories DEBIAN-CVE-2021-3482
- exiv2 Ubuntu 18.04 LTS 0.25-3.1ubuntu0.18.04.7
- exiv2 Ubuntu 20.04 LTS 0.27.2-8ubuntu2.2
- exiv2 Ubuntu Pro 16.04 LTS 0.25-2.1ubuntu16.04.7+esm1
ubuntu advisories UBUNTU-CVE-2021-3482
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- exiv2 RHEL 8 0.27.4-5.el8
- exiv2-libs RHEL 8 0.27.4-5.el8
red hat advisories RHSA-2021:4173
- exiv2 AlmaLinux 8 0.27.4-5.el8
- exiv2-libs AlmaLinux 8 0.27.4-5.el8
almalinux advisories ALSA-2021:4173
- exiv2 Rocky Linux 8 0.27.4-5.el8
rocky linux advisories RLSA-2021:4173
- exiv2 Alpine 3.24, Alpine 3.23, Alpine 3.22 +9 more 0.27.3-r1
alpine advisories ALPINE-CVE-2021-3482
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- exiv2 CBL-Mariner 2.0 0.27.5-1
azure linux advisories AZL-7217
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- exiv2 Arch Linux 0.27.4-1
arch linux advisories AVG-1772
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-3482 updated cvss 6.5
exiv2: Heap-based buffer overflow in Jp2Image::readMetadata()
-
Red Hat Enterprise Linux 6 exiv2, exiv2-libs Red Hat Enterprise Linux 7 exiv2, exiv2-libsaffected: no fix planned “Out of support scope”
-
Red Hat CodeReady Linux Builder (v. 8) exiv2-doc 0.27.4-5.el8, exiv2-devel 0.27.4-5.el8, exiv2-debuginfo 0.27.4-5.el8, exiv2-debugsource 0.27.4-5.el8, exiv2-libs-debuginfo 0.27.4-5.el8 Red Hat Enterprise Linux AppStream (v. 8) exiv2 0.27.4-5.el8, exiv2-libs 0.27.4-5.el8fixed: vendor fix RHSA-2021:4173
-
Red Hat Enterprise Linux 9 exiv2, exiv2-libsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.21% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:P/I:N/A:P |
Affected products
- n/a exiv2
Classification
References
-
bugzilla.redhat.com
/show_bug.cgi?id=1946314
issue-tracking, patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/2XQT5F5IINTDYDAFGVGQZ7PMMLG7I5ZZ/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/P2A5GMJEXQ5Q76JK6F6VKK5JYCLVFGKN/
vendor-advisory
-
debian.org
/security/2021/dsa-4958
vendor-advisory, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2021/08/msg00028.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2021-3482
- NVD CVE-2021-3482
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.