CVE-2008-5844
Status: ModifiedHigh (7.5)—
Severity7.5High · CVSS 2.0
Exploitation probability1.66 %higher than 77% of CVEs
Active exploitationNonot in the CISA catalog
Public exploitNot knownno public code found
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.
CVSS
- Base score
- 7.5
- Version
- 2.0
- Vector
- AV:N/AC:L/Au:N/C:P/I:P/A:P
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days
- 1.66 %
- Percentile among all scored CVEs
- 77
- Score date
- 10/24/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
Affected technologies (1)
CWEs
- CWE-16
References
Show 14 references
- http://bugs.php.net/bug.php?id=42718
- http://bugs.php.net/bug.php?id=46759
- http://www.php.net/ChangeLog-5.php#5.2.8
- http://www.php.net/archive/2008.php#id2008-12-07-1
- http://www.php.net/archive/2008.php#id2008-12-08-1
- http://www.securityfocus.com/bid/32673
- http://www.securitytracker.com/id?1021393
- http://bugs.php.net/bug.php?id=42718
- http://bugs.php.net/bug.php?id=46759
- http://www.php.net/ChangeLog-5.php#5.2.8
- http://www.php.net/archive/2008.php#id2008-12-07-1
- http://www.php.net/archive/2008.php#id2008-12-08-1
- http://www.securityfocus.com/bid/32673
- http://www.securitytracker.com/id?1021393
Raw JSON (NVD)
Show
{
"id": "CVE-2008-5844",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 7.5,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"authentication": "NONE",
"integrityImpact": "PARTIAL",
"accessComplexity": "LOW",
"availabilityImpact": "PARTIAL",
"confidentialityImpact": "PARTIAL"
},
"acInsufInfo": false,
"impactScore": 6.4,
"baseSeverity": "HIGH",
"obtainAllPrivilege": false,
"exploitabilityScore": 10,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": true,
"userInteractionRequired": false
}
]
},
"affected": [
{
"source": "cve@mitre.org",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2009-01-05T20:30:02.313",
"references": [
{
"url": "http://bugs.php.net/bug.php?id=42718",
"tags": [
"Exploit"
],
"source": "cve@mitre.org"
},
{
"url": "http://bugs.php.net/bug.php?id=46759",
"source": "cve@mitre.org"
},
{
"url": "http://www.php.net/ChangeLog-5.php#5.2.8",
"source": "cve@mitre.org"
},
{
"url": "http://www.php.net/archive/2008.php#id2008-12-07-1",
"source": "cve@mitre.org"
},
{
"url": "http://www.php.net/archive/2008.php#id2008-12-08-1",
"source": "cve@mitre.org"
},
{
"url": "http://www.securityfocus.com/bid/32673",
"source": "cve@mitre.org"
},
{
"url": "http://www.securitytracker.com/id?1021393",
"source": "cve@mitre.org"
},
{
"url": "http://bugs.php.net/bug.php?id=42718",
"tags": [
"Exploit"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://bugs.php.net/bug.php?id=46759",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.php.net/ChangeLog-5.php#5.2.8",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.php.net/archive/2008.php#id2008-12-07-1",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.php.net/archive/2008.php#id2008-12-08-1",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/bid/32673",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securitytracker.com/id?1021393",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-16"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "PHP v5.2.7 contiene un cambio incorrecto de la funcionalidad FILTER_UNSAFE_RAW, y de forma no intencionada desactiva la opción magic_quotes_gpc, sin importar la actual configuración de magic_quotes_gpc, lo cual facilita a los atacantes, dependiendo del contexto, provocar ataques de inyección SQL y otros ataques no especificados."
}
],
"lastModified": "2026-06-16T23:01:05.413",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:php:php:5.2.7:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1C0E7E2A-4770-4B68-B74C-5F5A6E1876DC"
}
],
"operator": "OR"
}
]
}
],
"vendorComments": [
{
"comment": "Not vulnerable. This issue did not affect the versions of the php package, as shipped with Red Hat Enterprise Linux 2.1, 3, 4, 5, and with\nRed Hat Application Stack v1 and v2. Only PHP version 5.2.7 was affected by this flaw.",
"lastModified": "2009-01-23T00:00:00",
"organization": "Red Hat"
}
],
"sourceIdentifier": "cve@mitre.org"
}