MEDIUM4.9
GHSA-q745-cfqh-hcrw
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/james-heinrich/phpthumb
Introduced in:
0No fixed version published yet for james-heinrich/phpthumb (composer). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-52994[ADVISORY]
- https://github.com/JamesHeinrich/phpThumb/commit/cdcbc206ae601b15fd17e7aadf59df51149a0e82[WEB]
- https://github.com/JamesHeinrich/phpThumb[PACKAGE]
- https://github.com/JamesHeinrich/phpThumb/releases[WEB]
- https://safety-online.pl/cve-2025-52994[WEB]