home / blog
2026-11-21 · medium
CVE-2021-22204: Code execution vulnerability in ExifTool
CVE-2021-22204 in ExifTool allows code execution when parsing malicious images. CVSS 6.8.

CVE-2021-22204 affects ExifTool, a popular utility for reading and writing metadata from files. The vulnerability allows arbitrary code execution when the application parses malicious images in DjVu format. It's important to note that this vulnerability exists in ExifTool versions 7.44 and higher, software widely used by both professionals and casual users.
The severity of this vulnerability is classified as medium with a CVSS score of 6.8. Recent signals indicate there are public repositories that claim to contain exploits associated with this CVE, though no confirmed cases of active exploitation in the wild have been reported. The fact that the vulnerability has been known for several years but continues to receive attention suggests it may represent a persistent threat to unpatched systems.
As defenders, it's crucial to keep ExifTool updated to the latest patched version. Additionally, implement strict restrictions on files from untrusted sources, especially DjVu files that might contain malicious payloads. Monitor official developer communications for timely information on available patches and mitigation procedures.
At a glance
- What
- 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
- Severity
- CVSS 6.8 (medium)
- Affected versions
- ExifTool versions 7.44 and up
- Fix
- Not reported
- Status
- Officially published in NVD on 2021-04-23
- Action
- Apply patches or update ExifTool to the correct version as soon as available
Sources: NVD, CVE-2021-22204