CVE-2021-22204 · Known exploited vulnerability

CVE-2021-22204: Perl Exiftool Remote Code Execution

Actively exploited (CISA KEV)Ransomware use: UnknownPatch available

Summary

CVE-2021-22204 is a remote code execution vulnerability in Perl Exiftool, rated high severity with a CVSS base score of 7.8.

CISA added it to the Known Exploited Vulnerabilities catalogue on 17 November 2021, which means there is reliable evidence that attackers have exploited it.

It can be exploited by someone who can already run code or log in on the device without needing an account, although a user would need to take an action such as opening a file or link.

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 catalogue description

Key facts

Affected product
Perl · Exiftool
CVSS severity
High7.8CVSS v3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS (exploitation likelihood, next 30 days)
99.98%Higher than 99.9% of all scored CVEs
Weakness (CWE)
CWE-95
Added to CISA KEV
CISA due date (US federal agencies)
First published (NVD)
NVD status
Analyzed

CISA required action

Apply updates per vendor instructions.

What UK organisations should do

01 Patch or mitigate

  • The vendor has published a fix. Apply the update to every affected instance, starting with internet-facing systems.
  • CISA's required action: Apply updates per vendor instructions. CISA set a remediation due date of 1 December 2021 for US federal agencies; treat it as an indication of urgency rather than a deadline you can wait for.
  • If you cannot patch straight away, record the risk decision, limit access to the affected service and set a review date.

02 Check your exposure

  • Confirm whether you run Perl Exiftool anywhere, including systems managed by suppliers or cloud providers.
  • Check whether management interfaces or web front ends for the product are reachable from the internet, and restrict them to trusted networks or a VPN.
  • Because this vulnerability is known to be exploited, check affected systems for signs of compromise before and after patching, not just for the missing update.

03 Monitor and respond

  • Alert on unexpected child processes, new scheduled tasks, outbound connections and web shells on affected hosts.
  • If you find signs of compromise, follow your incident response plan. UK organisations can report significant incidents to the National Cyber Security Centre (NCSC), and personal data breaches may need to be reported to the ICO within 72 hours.

Same weakness (CWE-95) in other products

  • CVE-2026-33017

    Langflow · Langflow

    Code Injection

    Critical9.8
  • CVE-2025-24893

    XWiki · Platform

    Eval Injection

    Critical9.8
  • CVE-2024-36401

    OSGeo · GeoServer

    GeoTools Eval Injection

    Critical9.8
  • CVE-2023-7101

    Spreadsheet::ParseExcel · Spreadsheet::ParseExcel

    Remote Code Execution

    High7.8
  • CVE-2021-22205

    GitLab · Community and Enterprise Editions

    Remote Code Execution

    RansomwareCritical10.0

Sources and references

Last updated . Summary and guidance are generated from CISA, NVD and FIRST data; always confirm details in the vendor advisory.