All vulnerabilities

Servers and applications

CVE-2007-4528

The Foreign Function Interface (ffi) extension in PHP 5.0.5 does not follow safe_mode restrictions, which allows context-dependent attackers to execute arbitrary code by loading an arbitrary DLL and calling a function, as demonstrated by kernel32.dll and the WinExec function. NOTE: this issue does not cross privilege boundaries in most contexts, so perhaps it should not be included in CVE.

Severity
Medium 4.3
Published
25 Aug 2007
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
4.8% in the next 30 daysHigher than 92% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Over the network · No login needed
Attacker can
Change some data
CVSS vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 5.0.5

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-4528
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-4528