Every CVE Search/ Get API key

CVE-2025-52994

phpThumb is vulnerable to Command Injection through its gif_outputAsJpeg function

4.9 Medium

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

0.68%Unchanged since Jul 12, 2025
90%50%10%1%

What each source reports

CVE List Score used 4.9

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.

Record
CVE-2025-52994
CVSS 3.1
4.9 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-78
Updated
2026-11-02
EUVDEUVD-2025-21154 4.9

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.

Record
EUVD-2025-21154
CVSS 3.1
4.9 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-q745-cfqh-hcrw 4.9

phpThumb 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.

Record
GHSA-q745-cfqh-hcrw
CVSS 3.1
4.9 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-78
Updated
2026-11-02
NVD 4.9

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.

Record
CVE-2025-52994
CVSS 3.1
4.9 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-78
Updated
2026-11-02
OSV 4.9

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.

Record
CVE-2025-52994
CVSS 3.1
4.9 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-78
Updated
2026-11-02
OSVGHSA-q745-cfqh-hcrw 4.9

phpThumb 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.

Record
GHSA-q745-cfqh-hcrw
CVSS 3.1
4.9 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-78
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
james-heinrich/phpthumb
Packagist
through 1.7.23 None known
james-heinrich/phpthumb
Packagist
through 1.7.23, plus listed versions
v1.7.12v1.7.13v1.7.14v1.7.15v1.7.16
Show 7 moreShow less
v1.7.17v1.7.18v1.7.19v1.7.20v1.7.21v1.7.22v1.7.23
None known

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-52994 is a medium vulnerability (CVSS 4.9) in Phpthumb Project Phpthumb, published July 11, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.68%, the 52nd percentile. No source names a fixed version.

References

MoveEnter Open