CVE-2025-52994 Details
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.
A command injection vulnerability has been identified in the phpThumb library, specifically in versions prior to 1.7.23. The issue arises in the gif_outputAsJpeg function, where a crafted parameter can be used to inject and execute arbitrary operating system commands. This vulnerability allows for unauthorized code execution on the server.
Users are advised to update phpThumb to version 1.7.23-202506081709 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 11, 2025CISA-ADP
Assessed Jul 11, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/JamesHeinrich/phpThumb/commit/cdcbc206ae601b15fd17e7aadf59df51149a0e82 | [email protected] | Source CodeVendor |
| https://github.com/JamesHeinrich/phpThumb/releases | [email protected] | Release NotesVendor |
| https://safety-online.pl/cve-2025-52994/ | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| JamesHeinrich phpThumb | <= 1.7.23 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 11, 2025 | New CVE Received | [email protected] |
Volerion