Live threats

All CVEs / Perl

CVE-2021-22204Perl Exiftool

Remote Code Execution in ExifTool when Processing DjVu Files

High 7.8 KEV High EPSS

Priority
57
CVSS 3.1
7.8
EPSS
100.0%
probability of exploitation in 30 days · percentile 100
Auth required
Yes
In KEV since
Nov 17, 2021
CISA deadline
Dec 1, 2021
Ransomware use
Unknown
Published
Apr 23, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: active · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

ExifTool versions 7.44 through 12.23 contain an improper neutralization flaw in DjVu file handling that allows arbitrary code execution. An attacker can execute malicious commands when processing a specially crafted DjVu image. CISA confirmed this vulnerability as actively exploited.

Show the original NVD text

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

Source text, unmodified. NVD.

Exploitation confirmed by CISA

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

Action required by CISA: Apply updates per vendor instructions.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 12.24

Update ExifTool to version 12.24 or later. Avoid processing DjVu files from untrusted sources until patched.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for Exiftool.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was December 1, 2021.
  3. Check logs for signs of earlier exploitation.

Affected products (CPE)

VendorProductVersions
exiftool_projectexiftool≥ 7.44 < 12.24
debiandebian_linux9.0
debiandebian_linux10.0
fedoraprojectfedora32
fedoraprojectfedora33
fedoraprojectfedora34

Official sources

References

Links published by the sources. Open them with care.