{"id":"CVE-2025-52994","aliases":["EUVD-2025-21154","GHSA-q745-cfqh-hcrw"],"status":"published","title":"phpThumb is vulnerable to Command Injection through its gif_outputAsJpeg function","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":{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00678,"percentile":0.52646,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-78"],"published":"2025-07-11T00:00:00Z","modified":"2026-10-28T02:31:07Z","affected":[{"source":"ghsa","ecosystem":"Packagist","package":"james-heinrich/phpthumb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.7.23"}]}]},{"source":"osv","ecosystem":"Packagist","package":"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"]}],"products":[{"vendor":"phpthumb project","product":"phpthumb"}],"references":[{"url":"https://github.com/JamesHeinrich/phpThumb/releases","tags":["package","web"]},{"url":"https://safety-online.pl/cve-2025-52994/","tags":["web"]},{"url":"https://github.com/JamesHeinrich/phpThumb/commit/cdcbc206ae601b15fd17e7aadf59df51149a0e82","tags":["fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52994","tags":["advisory"]},{"url":"https://safety-online.pl/cve-2025-52994","tags":["web"]},{"url":"https://github.com/advisories/GHSA-q745-cfqh-hcrw"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52994.json","tags":["advisory"]},{"url":"https://github.com/JamesHeinrich/phpThumb","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-52994","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.","status":"published","published":"2025-07-11T00:00:00Z","modified":"2025-07-11T15:06:03.756Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:32:31.309974Z"}],"euvd":[{"id":"EUVD-2025-21154","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.","status":"published","published":"2025-07-11T00:00:00Z","modified":"2025-07-11T15:06:03Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:32:09.102762Z"}],"ghsa":[{"id":"GHSA-q745-cfqh-hcrw","title":"phpThumb is vulnerable to Command Injection through its gif_outputAsJpeg function","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.","status":"published","published":"2025-07-11T15:31:39Z","modified":"2025-07-11T22:36:21Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:38:49.837727Z"}],"nvd":[{"id":"CVE-2025-52994","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.","status":"published","published":"2025-07-11T15:15:27.167Z","modified":"2026-06-17T09:37:26.327Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:11:18.285862Z"}],"osv":[{"id":"CVE-2025-52994","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.","status":"published","published":"2025-07-11T00:00:00Z","modified":"2026-10-28T02:31:07.044310928Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:44:50.45326Z"},{"id":"GHSA-q745-cfqh-hcrw","title":"phpThumb is vulnerable to Command Injection through its gif_outputAsJpeg function","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.","status":"published","published":"2025-07-11T15:31:39Z","modified":"2025-07-11T23:12:14.156446Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:46:54.055966Z"}]}}
