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

medium Affects james-heinrich/phpthumb. Feed 2026.10.29.4, updated 2026-10-29; published .

phpThumb is vulnerable to Command Injection through its gif_outputAsJpeg function

Package
james-heinrich/phpthumb Composer
Affected versions
<=1.7.23
Fixed in
no fix recorded
Severity
medium  CVSS 4.9
Exploitation
not on CISA KEV · EPSS 1% (52.2th percentile)
Published
2025-07-11
Source
osv.dev

References

CWE-78
NVD recordjames-heinrich/phpthumb advisories

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories