CVE-2025-52994
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 package | Versions | Reported by |
|---|---|---|
| phpThumb project phpThumb | up to 1.7.23 | CVE List |
| james-heinrich/phpthumb (Packagist) | up to 1.7.23 | GitHub Advisory Database |
All scores
| mitre | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N |
| GitHub | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-52994 changed 2025-07-11 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-q745-cfqh-hcrw changed 2025-07-11 | CC-BY-4.0 |
| NVD | CVE-2025-52994 changed 2026-06-17 | Public domain |