Skip to main content
VulnerabilityPublished

CVE-2025-52994: phpThumb · OS Command Injection

Affects phpThumbSource CVE Database V5

0

Not known to be exploited · CVSS 4.9 Medium : upgrade to 1.7.23-202506081709 when convenient.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
4.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.7.23-202506081709
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade jamesheinrich/phpThumb to 1.7.23-202506081709.

Affected software

ProductAffectedFixed in
GitHubjamesheinrich/phpThumbpkg:github/jamesheinrich/phpThumbOther threatsAffected
  • <1.7.23-202506081709
Fixed in
  • 1.7.23-202506081709

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately verify their use of phpThumb and identify versions prior to 1.7.23-202506081709. Upgrading to the fixed version is the primary mitigation step. In the absence of an official patch, organizations should implement strict input validation and sanitization on all parameters passed to phpThumb, particularly those related to gif_outputAsJpeg functionality. Employing web application firewalls (WAFs) with custom rules to detect and block suspicious command injection patterns can provide additional protection. Restricting the privileges of the web server user to minimize the impact of potential command execution is also recommended. Regular security audits and monitoring for unusual command execution or system behavior can help detect exploitation attempts early. Finally, organizations should ensure that their incident response plans include scenarios involving web server compromise through command injection.

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.

References

Community reviews

Loading reviews…