Skip to content

CVE-2025-52994 phpThumb is vulnerable to Command Injection through its gif_outputAsJpeg function

MediumCVSS 4.9 EPSS 0.70%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHP

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
james-heinrich/phpthumb(Packagist) <= 1.7.23; = v1.7.12; = v1.7.13; = v1.7.14 +9 more after 1.7.23 Fixed
phpthumb project phpthumb <= 1.7.23 after 1.7.23 Fixed

Affected products

ProductAffected versionsFixed in
james-heinrich/phpthumb(Packagist) <= 1.7.23 No fix listed
james-heinrich/phpthumb(Packagist) = v1.7.12 No fix listed
james-heinrich/phpthumb(Packagist) = v1.7.13 No fix listed
james-heinrich/phpthumb(Packagist) = v1.7.14 No fix listed
james-heinrich/phpthumb(Packagist) = v1.7.15 No fix listed
james-heinrich/phpthumb(Packagist) = v1.7.16 No fix listed
james-heinrich/phpthumb(Packagist) = v1.7.17 No fix listed
james-heinrich/phpthumb(Packagist) = v1.7.18 No fix listed
james-heinrich/phpthumb(Packagist) = v1.7.19 No fix listed
james-heinrich/phpthumb(Packagist) = v1.7.20 No fix listed
james-heinrich/phpthumb(Packagist) = v1.7.21 No fix listed
james-heinrich/phpthumb(Packagist) = v1.7.22 No fix listed
james-heinrich/phpthumb(Packagist) = v1.7.23 No fix listed
phpthumb project phpthumb <= 1.7.23 No fix listed

References