cve.bz

CVE-2021-3482 Out-of-bounds Write

6.5 mediumEPSS 2.2%Fix available

Medium (6.5). EPSS 2.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
EPSS
2.2% (unchanged from 2.2% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-787 Out-of-bounds Write
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3482 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3482?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3482?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3482 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
exiv2:exiv2through 0.27.3
exiv2:exiv20.27.4:rc1
redhat:enterprise_linux8.0
fedoraproject:fedora33
fedoraproject:fedora34
debian:debian_linux9.0
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9exiv20.25-3.1+deb9u3DLA-2750-1
Debian10exiv20.25-4+deb10u2DSA-4958-1
Debian12, 13, 14exiv20.27.5-1DEBIAN-CVE-2021-3482
Ubuntu18.04:LTSexiv20.25-3.1ubuntu0.18.04.7UBUNTU-CVE-2021-3482 USN-4941-1
Ubuntu20.04:LTSexiv20.27.2-8ubuntu2.2UBUNTU-CVE-2021-3482 USN-4941-1
UbuntuPro:16.04:LTSexiv20.25-2.1ubuntu16.04.7+esm1UBUNTU-CVE-2021-3482 USN-4941-1
Red Hatenterprise_linux:8::appstreamexiv2, exiv2-libs, exiv2-debuginfo and 2 more0:0.27.4-5.el8RHSA-2021:4173
Red Hatenterprise_linux:8::crbexiv2-doc, exiv2-devel, exiv2-debuginfo and 2 more0:0.27.4-5.el8RHSA-2021:4173
AlmaLinux8exiv2, exiv2-doc, exiv2-libs and 1 more0.27.4-5.el8ALSA-2021:4173
Rocky Linux8exiv20:0.27.4-5.el8RLSA-2021:4173
Alpinev3.13, v3.14, v3.15 and 9 moreexiv20.27.3-r1ALPINE-CVE-2021-3482
Azure Linux2exiv20.27.5-1AZL-7217

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8exiv2-0:0.27.4-5.el8Fixed 2021-11-09RHSA-2021:4173
Red Hat Enterprise Linux 6exiv2Out of support scope
Red Hat Enterprise Linux 7exiv2Out of support scope
Red Hat Enterprise Linux 9exiv2Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3482.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON