{"id":"GHSA-q745-cfqh-hcrw","aliases":["CVE-2025-52994"],"title":"phpThumb is vulnerable to Command Injection through its gif_outputAsJpeg function","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"MODERATE","description":"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.","severity":"medium","score":4.9,"published":"2025-07-11T15:31:39.000Z","modified":"2025-07-11T23:12:14.156Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"james-heinrich/phpthumb","sources":[{"name":"OSV · GHSA-q745-cfqh-hcrw","url":"https://osv.dev/vulnerability/GHSA-q745-cfqh-hcrw"}],"ranges":[{"events":[{"introduced":"0"},{"last_affected":"1.7.23"}],"type":"ECOSYSTEM"}],"versions":["v1.7.12","v1.7.13","v1.7.14","v1.7.15","v1.7.16","v1.7.17","v1.7.18","v1.7.19","v1.7.20","v1.7.21","v1.7.22","v1.7.23"],"fixed":[]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2025-52994","https://github.com/JamesHeinrich/phpThumb/commit/cdcbc206ae601b15fd17e7aadf59df51149a0e82","https://github.com/JamesHeinrich/phpThumb","https://github.com/JamesHeinrich/phpThumb/releases","https://safety-online.pl/cve-2025-52994"],"sources":[{"name":"OSV","id":"GHSA-q745-cfqh-hcrw","modified":"2025-07-11T23:12:14.156446Z","url":"https://osv.dev/vulnerability/GHSA-q745-cfqh-hcrw"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","score":4.9}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T23:25:34.350Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}