GitHub Advisoryadvisory · Packagist

GHSA-q745-cfqh-hcrw phpThumb is vulnerable to Command Injection through its gif_outputAsJpeg function

MEDIUM Published 2025-07-11 Modified 2025-07-11 Official page ↗
Aliases
CVE-2025-52994
Ecosystem
Packagist
Packages
james-heinrich/phpthumb
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
Weaknesses
CWE-78
Reviewed
2025-07-11

Affected packages

• Packagist james-heinrich/phpthumb: <= 1.7.23 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2025-52994 gif_outputAsJpeg in phpThumb through 1.7.23 allows phpthumb.gif.php OS Command Injection via a crafted parameter value. vulnerability

Weakness · CWE (1)

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References