# GHSA-q95h-cqrv-8jv5: ExifTool vulnerable to arbitrary code execution

- Severity: High 7.8 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-01-20T19:33:40.000Z
- Modified: 2024-11-29T05:41:08.593Z
- Weaknesses: CWE-74

## Description

### Impact
Arbitrary code execution can occur when running `exiftool` against files with hostile metadata payloads

### Patches
ExifTool has already been patched in version 12.24. `exiftool_vendored.rb`, which vendors ExifTool, includes this patch in [v12.25.0](https://github.com/exiftool-rb/exiftool_vendored.rb/releases/tag/v12.25.0).

### Workarounds
No

### References
https://twitter.com/wcbowling/status/1385803927321415687
https://nvd.nist.gov/vuln/detail/CVE-2021-22204

### For more information
If you have any questions or comments about this advisory:

Open an issue in [exiftool_vendored.rb](https://github.com/exiftool-rb/exiftool_vendored.rb/issues)

(As written by GitHub Advisory Database.)

## Affected

- exiftool_vendored (RubyGems): before 12.25.0

## References

- <https://github.com/exiftool-rb/exiftool_vendored.rb/security/advisories/GHSA-q95h-cqrv-8jv5> (web)
- <https://github.com/exiftool-rb/exiftool_vendored.rb> (package)
- <https://twitter.com/wcbowling/status/1385803927321415687> (web)

## Sources

- GitHub Advisory Database: [GHSA-q95h-cqrv-8jv5](https://github.com/advisories/GHSA-q95h-cqrv-8jv5), CC-BY-4.0, modified 2024-11-29

---

Page: https://cve.day/GHSA-q95h-cqrv-8jv5 · Whole record: https://cve.day/GHSA-q95h-cqrv-8jv5.json · Rebuilt by cve.day 2026-11-25T22:56:41.458Z
