CVE-2025-52994
JSON

4.9medium

phpThumb is vulnerable to Command Injection through its gif_outputAsJpeg function

Severity
4.9medium CVSS:3.1 by mitre
Exploit likelihood
0.69% (higher than 54% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-q745-cfqh-hcrw

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.

Affected

Product or packageVersionsReported by
phpThumb project phpThumbup to 1.7.23CVE List
james-heinrich/phpthumb (Packagist)up to 1.7.23GitHub Advisory Database

All scores

mitre4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
GitHub4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N

Classification

CWE-78

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

gif_outputAsJpeg en phpThumb hasta la versión 1.7.23 permite la inyección de comandos del sistema operativo phpthumb.gif.php mediante un valor de parámetro manipulado. Esto se solucionó en la versión 1.7.23-202506081709.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-52994 changed 2025-07-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-q745-cfqh-hcrw changed 2025-07-11CC-BY-4.0
NVDCVE-2025-52994 changed 2026-06-17Public domain