All vulnerabilities

Servers and applications

CVE-2008-5844

PHP 5.2.7 contains an incorrect change to the FILTER_UNSAFE_RAW functionality, and unintentionally disables magic_quotes_gpc regardless of the actual magic_quotes_gpc setting, which might make it easier for context-dependent attackers to conduct SQL injection attacks and unspecified other attacks.

Severity
High 7.5
Published
5 Jan 2009
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
1.7% in the next 30 daysHigher than 77% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-16
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Sources
NVD

Affected software

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

References

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