← Back to KEV catalog

CVE-2021-22204

Exploitation: active CVSS 6.8 MEDIUM

CVSS base score: 6.8 (Medium) vendor CNA · v3.1

Score assigned by the vendor's own CVE Numbering Authority (CNA); CISA's Vulnrichment program adds a score only when the CNA omits one. Vulnrichment source record →

ExifTool Remote Code Execution Vulnerability

Vendor: Perl   Product: Exiftool

Description

Improper neutralization of user data in the DjVu file format in Exiftool versions 7.44 and up allows arbitrary code execution when parsing the malicious image

Research & News Coverage

No mentions found in monitored research blogs or news feeds.

Lifecycle Timeline

Each milestone comes from a different source, so gaps between them are gaps in what those sources publish, not evidence that nothing happened. EPSS history for this CVE holds 310 points from 2021-12-11, tracked daily from 2026-09-09; earlier points are weekly, which dates a spike to within a week. Peak probability 100.0% on 2026-07-25.

Published Applicability

Red Hat CSAF/VEX 0 affected · 0 fixed · 1 not affected
OSV.dev (incl. GHSA) 1 affected · 1 fixed · 0 not affected
CVE List v5 (CNA container) 1 affected · 0 fixed · 0 not affected

Check whether a specific version is affected →

What each source publishes about which product versions carry this vulnerability, kept as written rather than merged. Absence here means no source has published applicability data, not that nothing is affected.

Detection & Exploitation

Network IDS/IPS
none published
Host / SIEM

Coverage across public collections only: Nuclei and OpenVAS NVT (scan); Snort and Suricata ET Open (network); Sigma and YARA (host/SIEM); Metasploit, Exploit-DB, public GitHub repositories and NVD exploit references (exploit). Absence here means nothing public was found, not that detection is impossible.
GitHub PoC repositories are collected automatically by PoC-in-GitHub (CC0) and filtered to repositories that are still online, contain code, and are starred or at least two weeks old. They are still not vetted: some are fakes and some are malware. Treat them as evidence that code was published, not as code to run.
NVD exploit references are links NVD's analysts tag as exploits; they confirm an exploit was referenced but carry no date. This product uses data from the NVD but is not endorsed or certified by the NVD.
OpenVAS coverage derives from the Greenbone Community Feed, made available under the Open Database License (ODbL) v1.0; its individual Vulnerability Tests are licensed GNU GPL v2.

First seenToolEvidenceEarliest reference
2021-05-11 Metasploit Direct — curated exploit code ExifTool DjVu ANT Perl injection +1 more
2021-05-11 GitHub PoC Unvetted — public repository convisolabs/CVE-2021-22204-exiftool +14 more
2022-05-11 Exploit-DB Direct — curated exploit code ExifTool 12.23 - Arbitrary Code Execution

Metasploit is dated by the first commit of the module file, Exploit-DB by its publication date, and GitHub repositories by their creation date. GitHub PoC repositories are filtered (still online, contain code, starred or at least two weeks old) but not vetted: some are fakes and some are malware, so they show that code was published, not that it works or is safe to run. Evidence tiers are explained on the About page.

Distribution Status

Debian · libimage-exiftool-perl bookworm 12.16+dfsg-2 trixie 12.16+dfsg-2 forky 12.16+dfsg-2 sid 12.16+dfsg-2 scope: local

Where the distribution has shipped a fix, and in which version. Green means the release has resolved it, amber that it is still open. Data from the Debian Security Tracker, used under Debian's MIT / GPLv2+ terms. Debian is upstream of several other distributions, so a fix here often precedes theirs.

Fix & Cross-References

Patch and commit links and ecosystem advisory ids as published by OSV.dev. Links are listed as published, not vetted.

CISA Assessment (Vulnrichment / SSVC)

active
no
partial
—
6.8 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
CWE-94 — Improper Control of Generation of Code ('Code Injection')
2025-02-06

Federal Remediation Window (BOD 26-04)

Yes — added 2021-11-17
no
partial control
If the asset isRemediate withinTable 1 row
Publicly exposed 14 days 4 of 16
Not publicly exposed 14 days 12 of 16

BOD 26-04 replaced the single KEV deadline of BOD 22-01 with four inputs: whether the asset is publicly exposed, KEV status, whether exploitation is automatable, and technical impact. Exposure belongs to each agency's asset, not to the CVE, so both outcomes are shown. Automatable and technical impact come from the CISA assessment above. Days are calendar days; for KEV entries the clock starts on the date it was added. Agencies make the final exposure call asset by asset, and may set shorter timelines.

D3FEND Countermeasures

Defensive techniques inferred by MITRE D3FEND from the underlying weakness (CWE-94) — general hardening and detection guidance for this weakness class, not a vendor patch for this specific CVE.

External References