Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-22204: ExifTool Remote Code Execution Vulnerability

84
Patch now
MEDIUM 6.8EXPLOITEDWATCHLISTUPGRADEMITIGATEMITIGATE

CVE-2021-22204 is a medium-severity flaw (CVSS 6.8) affecting exiftool, debian linux, fedora, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • EPSS top 1%: very likely to be exploited
  • Exploited in the wild (CISA KEV)
  • Public exploit reference
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score6.8 (Medium)
Attack vectorLocal
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance100.0% (top 1%)
CISA exploited listYes, fix due 2021-12-01
WeaknessCWE-94
Published2021-04-23
Last modified2026-06-17
Publisher (CNA): GitLab Inc. · Vendor: debian · exiftool project · fedoraproject

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

exiftool project exiftool UPGRADE
Affected: >= 7.44 and < 12.24
Fixed in: 12.24
Safe to downgrade to: a release before 7.44
1. Check installed version
apt-cache policy exiftool || rpm -q exiftool || exiftool --version
2. UPGRADE to 12.24 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade exiftool
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade exiftool
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 7.44 (Debian / Ubuntu)
apt-cache madison exiftool sudo apt install exiftool=<VERSION_BEFORE_7.44> sudo apt-mark hold exiftool
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list exiftool sudo dnf downgrade exiftool-<VERSION_BEFORE_7.44> sudo dnf versionlock add exiftool
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
debian debian linux MITIGATE
Affected: 9.0 · 10.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 9.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
fedoraproject fedora MITIGATE
Affected: 32 · 33 · 34
Fixed in: no fixed release known
Safe to downgrade to: a release before 32
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Fedora 46 · bitcoin-core-selinux · FIXED · 0.3-2.fc46 · FEDORA-2026-51fc806272 · source
sudo dnf upgrade --advisory=FEDORA-2026-51fc806272
Fedora ELN · guestfs-tools · FIXED · 1.57.5-1.eln159 · FEDORA-2026-9577c5ec16 · source
sudo dnf upgrade --advisory=FEDORA-2026-9577c5ec16
Ubuntu 22.04 · libimage-exiftool-perl · NOT AFFECTED
Ubuntu 20.04 · libimage-exiftool-perl · FIXED · 11.88-1ubuntu0.1
sudo apt update && sudo apt install --only-upgrade libimage-exiftool-perl dpkg --compare-versions "$(dpkg-query -W -f='${Version}' libimage-exiftool-perl)" ge "11.88-1ubuntu0.1" && echo PATCHED || echo STILL-VULNERABLE
Debian 12 · libimage-exiftool-perl · FIXED · 12.16+dfsg-2
sudo apt update && sudo apt install --only-upgrade libimage-exiftool-perl dpkg --compare-versions "$(dpkg-query -W -f='${Version}' libimage-exiftool-perl)" ge "12.16+dfsg-2" && echo PATCHED || echo STILL-VULNERABLE
Debian 13 · libimage-exiftool-perl · FIXED · 12.16+dfsg-2
sudo apt update && sudo apt install --only-upgrade libimage-exiftool-perl dpkg --compare-versions "$(dpkg-query -W -f='${Version}' libimage-exiftool-perl)" ge "12.16+dfsg-2" && echo PATCHED || echo STILL-VULNERABLE
Alpine 3.20 · perl-image-exiftool · FIXED · perl-image-exiftool-12.24-r0
apk add --upgrade perl-image-exiftool apk info -v perl-image-exiftool
Alpine 3.21 · perl-image-exiftool · FIXED · perl-image-exiftool-12.24-r0
apk add --upgrade perl-image-exiftool apk info -v perl-image-exiftool
Alpine 3.22 · perl-image-exiftool · FIXED · perl-image-exiftool-12.24-r0
apk add --upgrade perl-image-exiftool apk info -v perl-image-exiftool
Alpine 3.23 · perl-image-exiftool · FIXED · perl-image-exiftool-12.24-r0
apk add --upgrade perl-image-exiftool apk info -v perl-image-exiftool

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2021-22204?

exiftool: upgrade to 12.24; debian linux: mitigate or apply the listed mitigation; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2021-22204 being exploited?

Yes. CVE-2021-22204 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.

What does CVE-2021-22204 affect?

CVE-2021-22204 affects exiftool, debian linux, fedora. Severity is medium (CVSS 6.8). 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

How urgent is CVE-2021-22204?

Priority 84/100. EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; On your watchlist

Software pages

Debian vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.