CISA list

As of , CVE-2021-22204 in Perl Exiftool is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.

CVE-2021-22204

Perl Exiftool: Remote Code Execution. Exploited, and in our Patch this week group.

Our patch-first group

Patch this week

  • Metasploit module
  • EPSS 0.99

CISA's required action

Apply updates per vendor instructions.

Patch infofixed versions and vendor advice

What to install

  • Affects ExifTool from 7.44 before 12.24.

    Fixed in 12.24.

EPSS score
0.99
Higher than 99% of the CVEs EPSS scores.

EPSS estimates the chance of exploitation activity in the next 30 days.

Exploited
Yes CISA listed it on 17 November 2021
US federal deadline
1 December 2021 14 days after CISA listed it. US federal civilian agencies must fix it by then.
Used in ransomware campaigns
Not known to CISA
EPSS when listed
Not available CISA listed it before 4 February 2022, where the EPSS files we read begin.
Public exploit
2 Metasploit modules and 1 Exploit-DB entry

Since listing

EPSS since listing

0.000.501.000.50: EPSS line for Patch this weekEPSS model v2023.03.01EPSS model v2025.03.14EPSS model v2026.06.1520232024202520260.000.501.00EPSS model v2023.03.01EPSS model v2025.03.14EPSS model v2026.06.1520232025

EPSS for CVE-2021-22204 since our EPSS history begins, on the days its value to 2 decimals changed. EPSS scores by FIRST.

Show the numbers
FromEPSS
0.42
0.31
0.50
0.31
0.92
0.91
0.81
0.83
0.91
0.90
0.91
0.88
0.91
0.92
0.90
0.89
0.88
0.97
0.96
0.93
0.94
0.93
0.99

Timeline

What happened when

  1. The CVE record was published.
  2. CISA added it to its list of exploited vulnerabilities.
  3. The US federal deadline to fix it.
  4. Exploit-DB published an exploit (EDB-ID 50911).

CISA's required action

What CISA says to do

Apply updates per vendor instructions.

Read further: CISA's catalog

The flaw

What the flaw is

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

CISA's 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

The CVE record's description, from GitLab

CVE published
23 April 2021
Assigned by
GitLab
CVSS
6.8 Medium (CVSS 3.1, from the CNA)
CWE-94
Improper Control of Generation of Code
CWE-95
Improper Neutralization of Directives in Dynamically Evaluated Code
CISA SSVC, exploitation
active
CISA SSVC, automatable
no
CISA SSVC, technical impact
partial

Public exploits

Public exploits

Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.

Metasploit
GitLab Unauthenticated Remote ExifTool Command Injection
exploit module, rank excellent
Metasploit
ExifTool DjVu ANT Perl injection
exploit module, rank excellent
Exploit-DB
ExifTool 12.23 - Arbitrary Code Execution
EDB-ID 50911, 11 May 2022
Sources
  • CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
  • CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
  • EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)