CVE-2025-52994
MEDIUM 4.9CVSS 3.1phpThumb is vulnerable to Command Injection through its gif_outputAsJpeg function
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.
- Published
- 11 Jul 2025
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-78
- Also known as
- GHSA-q745-cfqh-hcrw
- Sources
- NVDJSONOSV GHSA-q745-cfqh-hcrwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | james-heinrich/phpthumb | <= 1.7.23 |
References
- https://github.com/JamesHeinrich/phpThumb/commit/cdcbc206ae601b15fd17e7aadf59df51149a0e82 · WEB
- https://github.com/JamesHeinrich/phpThumb/releases · WEB
- https://safety-online.pl/cve-2025-52994/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-52994 · ADVISORY
- https://github.com/JamesHeinrich/phpThumb · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 11 Jul 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 11 Jul 2025)