{"id":"CVE-2025-52994","published":"2025-07-11T00:00:00Z","modified":"2025-07-11T15:06:03Z","title":"gif_outputAsJpeg in phpThumb through 1.7.23 allows phpthumb.gif.php OS Command Injection via a crafted parameter value","vendor":"phpThumb project","product":"phpThumb","tier":"tail","description":{"text":"gif_outputAsJpeg in phpThumb through 1.7.23 allows phpthumb.gif.php OS Command Injection via a crafted parameter value. This is fixed in 1.7.23-202506081709.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01287,"percentile":0.70203,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/JamesHeinrich/phpThumb/releases","tags":[]},{"url":"https://safety-online.pl/cve-2025-52994/","tags":[]},{"url":"https://github.com/JamesHeinrich/phpThumb/commit/cdcbc206ae601b15fd17e7aadf59df51149a0e82","tags":[]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":14.04},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"phpthumb-project","affectedVersions":[{"vendor":"phpThumb project","product":"phpThumb","versions":["<= 1.7.23"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-11T15:05:52.756606Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"james-heinrich/phpthumb","vulnerableRanges":["<=1.7.23"],"patched":[],"from":["GHSA-q745-cfqh-hcrw"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-21154","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-phpthumb-cve-2013-6919","parents":[{"from":"CVE-2013-6919","to":"CVE-2025-52994","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["phpthumb.class.php"],"commits":["https://github.com/JamesHeinrich/phpThumb/commit/457a37d4a22ac9cdbbfe19577376622e58df81b0","https://github.com/JamesHeinrich/phpThumb/commit/cdcbc206ae601b15fd17e7aadf59df51149a0e82"],"basis":"shared function","functions":["phpthumb"]},{"kind":"similar","provenance":"machine","score":0.39,"basis":"same package + description similarity"}]}]}}