# CVE-2021-22204 — ExifTool

**CISA KEV**

> As of 2026-05-20, CVE-2021-22204 is a MEDIUM-severity vulnerability in ExifTool, CVSS v3.1 6.8, EPSS 99.9% (99.9th percentile). It is listed in the CISA Known Exploited Vulnerabilities catalog (added 2021-11-17), with a US federal remediation deadline of 2021-12-01. Threadlinqs Intelligence links 1 tracked threat campaign to CVE-2021-22204, most recently “ExifTool macOS Command Injection CVE-2026-3102 — Malicious Image Metadata Triggers system() Sink via Unsanitized FileCreateDate in SetMacOSTags”.

**Last updated:** 2026-05-20

## What is CVE-2021-22204?

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

The record classifies CVE-2021-22204 under weakness class [CWE-94](https://intel.threadlinqs.com/cwe/CWE-94). Its CVSS v3 base vector states that the flaw requires local access to the host, needs no prior authentication, needs no user interaction. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 2036 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 6.8 — MEDIUM (`CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L`)
- **EPSS (FIRST):** 99.9% probability of exploitation in the next 30 days, higher than 99.9% of all scored CVEs
- **CISA KEV:** Listed since 2021-11-17, federal remediation deadline 2021-12-01
- **Threadlinqs priority:** 9/10 — CISA KEV-listed, which Threadlinqs floors at 9
- **Published:** 2021-04-23

## Is CVE-2021-22204 being exploited?

CISA added CVE-2021-22204 to the Known Exploited Vulnerabilities catalog on 2021-11-17, which means the agency holds evidence of exploitation in the wild; US federal civilian agencies had to remediate it by 2021-12-01 under BOD 22-01. Weaponised exploit code for CVE-2021-22204 is publicly available. 11 public proof-of-concept repositories are tracked for this identifier. It currently carries a trending score of 48 in the Threadlinqs vulnerability feed.

- [convisolabs/CVE-2021-22204-exiftool](https://github.com/convisolabs/CVE-2021-22204-exiftool) (github)
- [UNICORDev/exploit-CVE-2021-22204](https://github.com/UNICORDev/exploit-CVE-2021-22204) (github)
- [AssassinUKG/CVE-2021-22204](https://github.com/AssassinUKG/CVE-2021-22204) (github)
- [se162xg/CVE-2021-22204](https://github.com/se162xg/CVE-2021-22204) (github)
- [mr-tuhin/CVE-2021-22204-exiftool](https://github.com/mr-tuhin/CVE-2021-22204-exiftool) (github)
- [bilkoh/POC-CVE-2021-22204](https://github.com/bilkoh/POC-CVE-2021-22204) (github)
- [Akash7350/CVE-2021-22204](https://github.com/Akash7350/CVE-2021-22204) (github)
- [PenTestical/CVE-2021-22204](https://github.com/PenTestical/CVE-2021-22204) (github)

## Affected products and versions

- **ExifTool**: ExifTool

## How to fix CVE-2021-22204

The record marks a vendor fix as available for CVE-2021-22204. Patch reference: [https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800](https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800). Vendor advisory: [https://www.debian.org/security/2021/dsa-4910](https://www.debian.org/security/2021/dsa-4910). Because CVE-2021-22204 is KEV-listed, US federal civilian agencies were required to apply the vendor fix, or stop using the product, by 2021-12-01. Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.

## Threat activity tracking CVE-2021-22204

1 tracked threat in the Threadlinqs corpus references CVE-2021-22204, either in the campaign’s CVE list or as an indicator on the campaign record.

- [ExifTool macOS Command Injection CVE-2026-3102 — Malicious Image Metadata Triggers system() Sink via Unsanitized FileCreateDate in SetMacOSTags](https://intel.threadlinqs.com/threat/TL-2026-0539) — HIGH · 2026-05-20

## Sources

Enriched from CVE.org, NVD, FIRST EPSS, CISA KEV, GitHub Security Advisories, public proof-of-concept repositories. This product uses the NVD API but is not endorsed or certified by the NVD.

**Vendor advisory and patch**

- [gitlab.com](https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22204.json)
- [debian.org — vendor advisory](https://www.debian.org/security/2021/dsa-4910)
- [lists.fedoraproject.org — vendor advisory](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U4RF6PJCJ6NQOVJJJF6HN6BORUQVIXY6/)
- [lists.fedoraproject.org — vendor advisory (DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL)](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDKDLJLBTBBR66OOPXSXCG2PQRM5KCZL/)
- [lists.fedoraproject.org — vendor advisory (F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV)](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6UOBPU3LSHAPRRJNISNVXZ5DSUIALLV/)

**Mailing list and disclosure**

- [openwall.com — mailing list](http://www.openwall.com/lists/oss-security/2021/05/09/1)
- [openwall.com — mailing list (5)](http://www.openwall.com/lists/oss-security/2021/05/10/5)
- [lists.debian.org — mailing list](https://lists.debian.org/debian-lts-announce/2021/05/msg00018.html)

**Other references**

- [github.com](https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031#diff-fa0d652d10dbcd246e6b1df16c1e992931d3bb717a7e36157596b76bdadb3800)
- [hackerone.com](https://hackerone.com/reports/1154542)
- [packetstormsecurity.com](http://packetstormsecurity.com/files/162558/ExifTool-DjVu-ANT-Perl-Injection.html)
- [packetstormsecurity.com (GitLab Unauthenticated Remote ExifTool C)](http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html)
- [packetstormsecurity.com (GitLab 13.10.2 Remote Code Execution)](http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html)

_Showing 13 of 14 recorded references._

Canonical: https://intel.threadlinqs.com/cve/CVE-2021-22204
Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Sign up free (Blue): https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds (https://threadlinqs.com/tl-creds); MCP access for AI agents needs Purple: https://intel.threadlinqs.com/mcp
