Description
lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /\|$/ check, leading to command injection.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libimage-exiftool-perl | 12.38+dfsg-1 | — |
| Debian 13 | libimage-exiftool-perl | 12.38+dfsg-1 | — |
| Debian 12 | libimage-exiftool-perl | 12.38+dfsg-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | libimage-exiftool-perl | No fix yet | — |
| Ubuntu 20.04 LTS | libimage-exiftool-perl | No fix yet | — |
| Ubuntu 18.04 LTS | libimage-exiftool-perl | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | libimage-exiftool-perl | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | exiftool | 12.39-1.1 | openSUSE-SU-2024:11794-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | perl-image-exiftool | 12.40-r0 | — |
| Alpine v3.23 | perl-image-exiftool | 12.40-r0 | — |
| Alpine v3.22 | perl-image-exiftool | 12.40-r0 | — |
| Alpine v3.21 | perl-image-exiftool | 12.40-r0 | — |
| Alpine v3.20 | perl-image-exiftool | 12.40-r0 | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | perl-image-exiftool | 12.40-r0 | — |
| Alpine v3.18 | perl-image-exiftool | 12.40-r0 | — |
| Alpine v3.17 | perl-image-exiftool | 12.40-r0 | — |
| Alpine v3.16 | perl-image-exiftool | 12.40-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.
GitHub 4 repositories
-
BKreisel/CVE-2022-23935 ★ 11 · Feb 10, 2023
🐍 Python Exploit for CVE-2022-23935
-
cowsecurity/CVE-2022-23935 ★ 8 · Feb 7, 2023
CVE-2022-23935 exploit PoC exiftool version 12.37 written in python
-
dpbe32/CVE-2022-23935-PoC-Exploit ★ 1 · Jan 28, 2023
CVE-2022-23935 exploit PoC exiftool version 12.37
-
antisecc/CVE-2022-23935 ★ 0 · Mar 16, 2023
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- openSUSE-SU-2024:11794-1 exiftool-12.39-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026