{"id":"GHSA-q745-cfqh-hcrw","summary":"phpThumb is vulnerable to Command Injection through its gif_outputAsJpeg function","details":"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.","aliases":["CVE-2025-52994"],"modified":"2025-07-11T23:12:14.156446Z","published":"2025-07-11T15:31:39Z","database_specific":{"nvd_published_at":"2025-07-11T15:15:27Z","cwe_ids":["CWE-78"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2025-07-11T22:36:20Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52994"},{"type":"WEB","url":"https://github.com/JamesHeinrich/phpThumb/commit/cdcbc206ae601b15fd17e7aadf59df51149a0e82"},{"type":"PACKAGE","url":"https://github.com/JamesHeinrich/phpThumb"},{"type":"WEB","url":"https://github.com/JamesHeinrich/phpThumb/releases"},{"type":"WEB","url":"https://safety-online.pl/cve-2025-52994"}],"affected":[{"package":{"name":"james-heinrich/phpthumb","ecosystem":"Packagist","purl":"pkg:composer/james-heinrich/phpthumb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.7.23"}]}],"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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-q745-cfqh-hcrw/GHSA-q745-cfqh-hcrw.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N"}]}