CVE-2022-23935
lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /\|$/ check.
lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /|$/ check, leading to command injection.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /|$/ check, leading to command injection.
- Record
CVE-2022-23935- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.6 High
AV:N/AC:H/Au:N/C:C/I:C/A:C - Weakness
- CWE-78
- Updated
- 2026-11-02
CVE List No score
lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /|$/ check, leading to command injection.
- Record
CVE-2022-23935- Updated
- 2026-11-02
EUVDEUVD-2022-28854 No score
lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /|$/ check, leading to command injection.
- Record
EUVD-2022-28854- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-jx53-3cxj-386g
9.8
lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /\|$/ check.
lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /|$/ check.
- Record
GHSA-jx53-3cxj-386g- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
OSVALPINE-CVE-2022-23935
7.8
lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /|$/ check, leading to command injection.
- Record
ALPINE-CVE-2022-23935- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVDEBIAN-CVE-2022-23935
7.8
lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /|$/ check, leading to command injection.
- Record
DEBIAN-CVE-2022-23935- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
Show 4 moreShow less
OSVUBUNTU-CVE-2022-23935
7.8
lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /|$/ check, leading to command injection.
- Record
UBUNTU-CVE-2022-23935- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV No score
lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /|$/ check, leading to command injection.
- Record
CVE-2022-23935- Updated
- 2026-11-02
OSVMGASA-2022-0381 No score
Updated perl-Image-ExifTool packages fix security vulnerability
lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /|$/ check, leading to command injection. (CVE-2022-23935)
- Record
MGASA-2022-0381- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11794-1 No score
exiftool-12.39-1.1 on GA media
These are all security issues fixed in the exiftool-12.39-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11794-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
perl-image-exiftoolAlpine:v3.16 |
before 12.40-r0 | 12.40-r0 |
perl-image-exiftoolAlpine:v3.17 |
before 12.40-r0 | 12.40-r0 |
perl-image-exiftoolAlpine:v3.18 |
before 12.40-r0 | 12.40-r0 |
perl-image-exiftoolAlpine:v3.19 |
before 12.40-r0 | 12.40-r0 |
perl-image-exiftoolAlpine:v3.20 |
before 12.40-r0 | 12.40-r0 |
perl-image-exiftoolAlpine:v3.21 |
before 12.40-r0 | 12.40-r0 |
perl-image-exiftoolAlpine:v3.22 |
before 12.40-r0 | 12.40-r0 |
perl-image-exiftoolAlpine:v3.23 |
before 12.40-r0 | 12.40-r0 |
perl-image-exiftoolAlpine:v3.24 |
before 12.40-r0 | 12.40-r0 |
libimage-exiftool-perlDebian:12 |
before 12.38+dfsg-1 | 12.38+dfsg-1 |
Show 8 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libimage-exiftool-perlDebian:13 |
before 12.38+dfsg-1 | 12.38+dfsg-1 |
libimage-exiftool-perlDebian:14 |
before 12.38+dfsg-1 | 12.38+dfsg-1 |
perl-Image-ExifToolMageia:8 |
before 12.0.0-1.2.mga8 | 12.0.0-1.2.mga8 |
libimage-exiftool-perlUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 10.00-110.02-110.04-110.05-110.07-1 Show 4 moreShow less10.08-110.09-110.10-110.10-1ubuntu0.1~esm1 |
None known |
libimage-exiftool-perlUbuntu:18.04:LTS |
All versions, plus listed versions 10.60-110.64-110.65-110.67-110.75-110.79-110.80-110.80-1ubuntu0.1 |
None known |
libimage-exiftool-perlUbuntu:20.04:LTS |
All versions, plus listed versions 11.65-111.70-111.74-111.75-111.76-1 Show 7 moreShow less11.77-111.78-111.79-111.80-111.87-111.88-111.88-1ubuntu0.1 |
None known |
libimage-exiftool-perlUbuntu:22.04:LTS |
All versions, plus listed versions 12.16+dfsg-212.34+dfsg-112.35+dfsg-112.36+dfsg-112.39+dfsg-112.40+dfsg-1 |
None known |
exiftoolopenSUSE:Tumbleweed |
before 12.39-1.1 | 12.39-1.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | dpbe32/CVE-2022-23935-PoC-Exploit | 2023-01-28 |
| PoC in GitHub | cowsecurity/CVE-2022-23935 | 2023-02-07 |
| PoC in GitHub | BKreisel/CVE-2022-23935 | 2023-02-10 |
| PoC in GitHub | antisecc/CVE-2022-23935 | 2023-03-16 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| exploits | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-23935 is a high vulnerability (CVSS 7.8) in Exiftool Project Exiftool, published January 25, 2022. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 7.58%, the 94th percentile. Fixed in perl-image-exiftool 12.40-r0.
References
github.com/exiftool/exiftool/commit/74dbab1d2766d6422bb05b033ac6634bf8d1f582
gist.github.com/ert-plus/1414276e4cb5d56dd431c2f0429e4429
nvd.nist.gov/vuln/detail/CVE-2022-23935
github.com/advisories/GHSA-jx53-3cxj-386g
security.alpinelinux.org/vuln/CVE-2022-23935
github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23935.json
Show 7 moreShow less
security-tracker.debian.org/tracker/CVE-2022-23935
advisories.mageia.org/MGASA-2022-0381.html
bugs.mageia.org/show_bug.cgi?id=29999
lists.fedoraproject.org/archives/list/[email protected]/thread/BKMOJHTMTSAYV7B2A27CBMM7IBAZIRWE
ubuntu.com/security/CVE-2022-23935
cve.org/CVERecord?id=CVE-2022-23935
suse.com/security/cve/CVE-2022-23935