Skip to content
Fencer Vulns
high 7.8

CVE-2022-23935 json

lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /\|$/ check, leading to command injection.

published 2022-01-25 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-28854

cvss
7.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
7.6%
EPSS 7.6% chance of exploitation in 30 days, percentile 94%
public exploits
0
none known

Summary

lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /\|$/ check, leading to command injection.

Patch / fix

  • exiftool_project exiftool 12.38
  • libimage-exiftool-perl Debian 14, Debian 13, Debian 12 12.38+dfsg-1

debian advisories DEBIAN-CVE-2022-23935

  • exiftool openSUSE Tumbleweed 12.39-1.1

opensuse advisories openSUSE-SU-2024:11794-1

  • perl-image-exiftool Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 12.40-r0

alpine advisories ALPINE-CVE-2022-23935

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-23935 updated cvss 6.2

perl-Image-ExifTool: lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /\|$/ check

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

7.58% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • gist.github.com https://gist.github.com/ert-plus/1414276e4cb5d56dd431c2f0429e4429 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 7.6 AV:N/AC:H/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.