Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. james-heinrich/phpthumb
  4. ›
  5. CVE-2025-52994

CVE-2025-52994: phpThumb is vulnerable to Command Injection through its gif_outputAsJpeg function

July 11, 2025

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

  • github.com/JamesHeinrich/phpThumb
  • github.com/JamesHeinrich/phpThumb/commit/cdcbc206ae601b15fd17e7aadf59df51149a0e82
  • github.com/JamesHeinrich/phpThumb/releases
  • github.com/advisories/GHSA-q745-cfqh-hcrw
  • nvd.nist.gov/vuln/detail/CVE-2025-52994
  • safety-online.pl/cve-2025-52994

Code Behaviors & Features

Detect and mitigate CVE-2025-52994 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.7.23

Solution

Unfortunately, there is no solution available yet.

Impact 4.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/james-heinrich/phpthumb/CVE-2025-52994.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:04 +0000.