{"id":"CVE-2022-23935","published":"2022-01-25T05:10:12Z","modified":"2024-08-03T03:59:23Z","title":"lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /\\|$/ check, leading to command injection","vendor":null,"product":null,"tier":"tail","description":{"text":"lib/Image/ExifTool.pm in ExifTool before 12.38 mishandles a $file =~ /\\|$/ check, leading to command injection.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0775,"percentile":0.94768,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/exiftool/exiftool/commit/74dbab1d2766d6422bb05b033ac6634bf8d1f582","tags":["x_refsource_MISC"]},{"url":"https://gist.github.com/ert-plus/1414276e4cb5d56dd431c2f0429e4429","tags":["x_refsource_MISC"]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":18.95},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":3,"skipped":1,"earliest":"2023-01-28","earliestUrl":"https://github.com/dpbe32/CVE-2022-23935-PoC-Exploit","repos":[{"name":"BKreisel/CVE-2022-23935","url":"https://github.com/BKreisel/CVE-2022-23935","stars":11,"created":"2023-02-10"},{"name":"cowsecurity/CVE-2022-23935","url":"https://github.com/cowsecurity/CVE-2022-23935","stars":8,"created":"2023-02-07"},{"name":"dpbe32/CVE-2022-23935-PoC-Exploit","url":"https://github.com/dpbe32/CVE-2022-23935-PoC-Exploit","stars":1,"created":"2023-01-28"}]},"first":{"date":"2023-01-28","source":"PoC-in-GitHub","url":"https://github.com/dpbe32/CVE-2022-23935-PoC-Exploit"},"provenance":"source"},"summary":{"text":"The flaw is in lib/Image/ExifTool.pm, the core module of the ExifTool metadata reader, where a $file =~ /\\|$/ check is mishandled, leading to command injection.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:57:20Z"},"euvd":{"id":"EUVD-2022-28854","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-perl-exiftool-cve-2021-22204","parents":[{"from":"CVE-2021-22204","to":"CVE-2022-23935","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["META.json","exiftool","html/ExifTool.pdf","html/Shift.pdf","html/TagNames/index.html"],"commits":["https://github.com/exiftool/exiftool/commit/cf0f4e7dcd024ca99615bfd1102a841a25dde031","https://github.com/exiftool/exiftool/commit/74dbab1d2766d6422bb05b033ac6634bf8d1f582"],"basis":"rarely changed file"}]}]}}