CVE-2021-3482: A flaw was found in Exiv2 in versions before and including 0.27.4-RC1.
Noroxi assessment
Priority: Monitor (action score 27/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.2% (FIRST EPSS); higher than 83.2% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: exiv2 (AlmaLinux:8) 0.27.4-5.el8; exiv2-devel (AlmaLinux:8) 0.27.4-5.el8; exiv2-doc (AlmaLinux:8) 0.27.4-5.el8.
Low priority for now. Upgrade to exiv2 (AlmaLinux:8) 0.27.4-5.el8; exiv2-devel (AlmaLinux:8) 0.27.4-5.el8; exiv2-doc (AlmaLinux:8) 0.27.4-5.el8 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Apr 8, 2021
- Updated
- Jun 17, 2026
- EPSS
- 2.2% · 83th percentile
- CWE
- CWE-20
Report tools
Action score
27
Monitor
Low priority for now.
- CVSS
- 26 / 40 · 6.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.2%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| exiv2 | exiv2 | cpe:2.3:a:exiv2:exiv2 |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- debian debian linux9.0
- exiv2 exiv2up to 0.27.3 inclusive
- exiv2 exiv20.27.4
- fedoraproject fedora33
- fedoraproject fedora34
- redhat enterprise linux8.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
n/a exiv2
- exiv2 0.27.4RC2affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | exiv2 | before 0.27.4-5.el8 | 0.27.4-5.el8 |
| AlmaLinux:8 | exiv2-devel | before 0.27.4-5.el8 | 0.27.4-5.el8 |
| AlmaLinux:8 | exiv2-doc | before 0.27.4-5.el8 | 0.27.4-5.el8 |
| AlmaLinux:8 | exiv2-libs | before 0.27.4-5.el8 | 0.27.4-5.el8 |
| Debian:10 | exiv2 | before 0.25-4+deb10u2 | 0.25-4+deb10u2 |
| Debian:12 | exiv2 | before 0.27.5-1 | 0.27.5-1 |
| Debian:9 | exiv2 | before 0.25-3.1+deb9u3 | 0.25-3.1+deb9u3 |
| Red Hat:enterprise_linux:8::appstream | exiv2 | before 0:0.27.4-5.el8 | 0:0.27.4-5.el8 |
| Red Hat:enterprise_linux:8::appstream | exiv2-debuginfo | before 0:0.27.4-5.el8 | 0:0.27.4-5.el8 |
| Red Hat:enterprise_linux:8::appstream | exiv2-debugsource | before 0:0.27.4-5.el8 | 0:0.27.4-5.el8 |
| Red Hat:enterprise_linux:8::appstream | exiv2-libs | before 0:0.27.4-5.el8 | 0:0.27.4-5.el8 |
| Red Hat:enterprise_linux:8::appstream | exiv2-libs-debuginfo | before 0:0.27.4-5.el8 | 0:0.27.4-5.el8 |
| Red Hat:enterprise_linux:8::crb | exiv2-devel | before 0:0.27.4-5.el8 | 0:0.27.4-5.el8 |
| Red Hat:enterprise_linux:8::crb | exiv2-doc | before 0:0.27.4-5.el8 | 0:0.27.4-5.el8 |
| Rocky Linux:8 | exiv2 | before 0:0.27.4-5.el8 | 0:0.27.4-5.el8 |
Same product
exiv2: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-11531Exiv2 0.26 has a heap-based buffer overflow in getData in preview.cpp.40Plan
- CVE-2019-9144An issue was discovered in Exiv2 0.27.36Monitor
- CVE-2019-9143An issue was discovered in Exiv2 0.27.36Monitor
Published before and after this one in the same product
- ← EarlierCVE-2019-17402Oct 9, 2019 · Exiv2 0.27.2 allows attackers to trigger a crash in Exiv2::getULong in types.cpp when called from Exiv2::Internal::CiffDirectory::readDirect27Monitor
- ← EarlierCVE-2019-20421Jan 27, 2020 · In Jp2Image::readMetadata() in jp2image.cpp in Exiv2 0.27.2, an input file can result in an infinite loop and hang, with high CPU consumptio31Monitor
- Later →CVE-2021-29457Apr 19, 2021 · Heap buffer overflow in Exiv2::Jp2Image::doWriteMetadata32Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:exiv2 | 0.27.4-5.el8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:exiv2-devel | 0.27.4-5.el8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:exiv2-doc | 0.27.4-5.el8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:exiv2-libs | 0.27.4-5.el8 · AlmaLinux:8 | Package registry (OSV) |
| debian:exiv2 | 0.27.5-1 · Debian:12 | Package registry (OSV) |
| red hat:exiv2 | 0:0.27.4-5.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:exiv2-debuginfo | 0:0.27.4-5.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:exiv2-debugsource | 0:0.27.4-5.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:exiv2-devel | 0:0.27.4-5.el8 · Red Hat:enterprise_linux:8::crb | Package registry (OSV) |
| red hat:exiv2-doc | 0:0.27.4-5.el8 · Red Hat:enterprise_linux:8::crb | Package registry (OSV) |
| red hat:exiv2-libs | 0:0.27.4-5.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:exiv2-libs-debuginfo | 0:0.27.4-5.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| rocky linux:exiv2 | 0:0.27.4-5.el8 · Rocky Linux:8 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- none
- Availability
- low · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- Low
- Integrity impact
- None
- Availability impact
- Low
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (4 more)Show less
- lists.debian.org/debian-lts-announce/2021/08/msg00028.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2XQT5F5IINTDYDAFGVGQZ7PMMLG7I5ZZ/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P2A5GMJEXQ5Q76JK6F6VKK5JYCLVFGKN/
- www.debian.org/security/2021/dsa-4958
Vendor advisories and official records. Exploit/PoC links are deliberately left out.