Command Injection Affecting james-heinrich/phpthumb package, versions >=0.0.0


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.15% (78th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-JAMESHEINRICHPHPTHUMB-10734128
  • published14 Jul 2025
  • disclosed11 Jul 2025
  • creditUnknown

Introduced: 11 Jul 2025

NewCVE-2025-52994  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

james-heinrich/phpthumb is a The PHP thumbnail generator

Affected versions of this package are vulnerable to Command Injection via the gif_outputAsJpeg function in phpthumb.gif.php file. An attacker can execute arbitrary operating system commands by supplying a specially crafted parameter value.

References

CVSS Base Scores

version 4.0
version 3.1