CVEfocus › CVE database › CVE-2021-22204

CVE-2021-22204

Known exploited (CISA KEV)CVSS 6.8 MediumEPSS 99.9% (in the top 1% of all CVEs)Published 2021-04-23Updated 2025-10-21Assigner: GitLab

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

CWE-94

What to do

This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2021-11-17). If you run an affected version, patch or mitigate now.

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

17Fixed
1Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04libimage-exiftool-perlNot affected
vulnerable_code_not_present
Ubuntu 20.04libimage-exiftool-perlFixed11.88-1ubuntu0.1UBUNTU-CVE-2021-22204
Ubuntu 18.04libimage-exiftool-perlFixed10.80-1ubuntu0.1UBUNTU-CVE-2021-22204
Ubuntu 16.04libimage-exiftool-perlFix pending10.10-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-22204
Debian 14libimage-exiftool-perlFixed12.16+dfsg-2DEBIAN-CVE-2021-22204
Debian 13libimage-exiftool-perlFixed12.16+dfsg-2DEBIAN-CVE-2021-22204
Debian 12libimage-exiftool-perlFixed12.16+dfsg-2DEBIAN-CVE-2021-22204
Alpine Linux 3.24perl-image-exiftoolFixed12.24-r0ALPINE-CVE-2021-22204
Alpine Linux 3.23perl-image-exiftoolFixed12.24-r0ALPINE-CVE-2021-22204
Alpine Linux 3.22perl-image-exiftoolFixed12.24-r0ALPINE-CVE-2021-22204
Alpine Linux 3.21perl-image-exiftoolFixed12.24-r0ALPINE-CVE-2021-22204
Alpine Linux 3.20perl-image-exiftoolFixed12.24-r0ALPINE-CVE-2021-22204
Alpine Linux 3.19perl-image-exiftoolFixed12.24-r0ALPINE-CVE-2021-22204
Alpine Linux 3.18perl-image-exiftoolFixed12.24-r0ALPINE-CVE-2021-22204
Alpine Linux 3.17perl-image-exiftoolFixed12.24-r0ALPINE-CVE-2021-22204
Alpine Linux 3.16perl-image-exiftoolFixed12.24-r0ALPINE-CVE-2021-22204
Alpine Linux 3.15perl-image-exiftoolFixed12.24-r0ALPINE-CVE-2021-22204
Alpine Linux 3.14perl-image-exiftoolFixed12.24-r0ALPINE-CVE-2021-22204
Alpine Linux 3.13perl-image-exiftoolFixed12.24-r0ALPINE-CVE-2021-22204

What the vendor says

As published in the CVE record by GitLab, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.