Skip to content
OpenAdvisories
Medium · 6.8 Known exploited Public exploit CVE-2021-22204 EUVD-2021-9350GHSA-9377-7hwr-p4w6

Improper neutralization of user data in the DjVu file format in ExifTool versions 7.44 and up allows arbitrary code execution when parsing …

Published Apr 23, 2021 · Updated Oct 21, 2025 · Assigned by GitLab

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

Affected products

VendorProductAffectedFixed
ExifTool ExifTool >=7.44, <12.24 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libimage-exiftool-perl 12.16+dfsg-2 —
Debian 13 libimage-exiftool-perl 12.16+dfsg-2 —
Debian 12 libimage-exiftool-perl 12.16+dfsg-2 —
Debian 10 libimage-exiftool-perl 11.16-1+deb10u1 DSA-4910-1
Debian 9 libimage-exiftool-perl 10.40-1+deb9u1 DLA-2663-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libimage-exiftool-perl 11.88-1ubuntu0.1 USN-4987-1
Ubuntu 18.04 LTS libimage-exiftool-perl 10.80-1ubuntu0.1 USN-4987-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS libimage-exiftool-perl 10.10-1ubuntu0.1~esm1 USN-4987-2
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP2 perl-Image-ExifTool 12.25-bp152.4.3.1 openSUSE-SU-2021:0707-1
SUSE Package Hub 15 SP1 perl-Image-ExifTool 12.25-bp152.4.3.1 openSUSE-SU-2021:0707-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.2 perl-Image-ExifTool 12.25-bp152.4.3.1 openSUSE-SU-2021:0707-1
ReleasePackageFixed inAdvisory
Alpine v3.24 perl-image-exiftool 12.24-r0 —
Alpine v3.23 perl-image-exiftool 12.24-r0 —
Alpine v3.22 perl-image-exiftool 12.24-r0 —
Alpine v3.21 perl-image-exiftool 12.24-r0 —
Alpine v3.20 perl-image-exiftool 12.24-r0 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 perl-image-exiftool 12.24-r0 —
Alpine v3.18 perl-image-exiftool 12.24-r0 —
Alpine v3.17 perl-image-exiftool 12.24-r0 —
Alpine v3.16 perl-image-exiftool 12.24-r0 —
Alpine v3.15 perl-image-exiftool 12.24-r0 —
Alpine v3.14 perl-image-exiftool 12.24-r0 —
Alpine v3.13 perl-image-exiftool 12.24-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 2 modules

Exploit-DB 1

GitHub 17 repositories · most starred shown

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 5

References