What’s Vulnerable › Vulnerabilities
CVE-2008-7068
- Severity: medium (CVSS 6.4 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2009-08-25 · updated 2026-06-16
- Weakness: CWE-20
Description
The dba_replace function in PHP 5.2.6 and 4.x allows context-dependent attackers to cause a denial of service (file truncation) via a key with the NULL byte. NOTE: this might only be a vulnerability in limited circumstances in which the attacker can modify or add database entries but does not have permissions to truncate the file.
Affected products
- PHP: 4.0, 4.0-beta_4_patch1, 4.0-beta1, 4.0-beta2, 4.0-beta3, 4.0-beta4 (+49)
References
- http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1313&r2=1.2027.2.547.2.1314&
- http://securityreason.com/achievement_securityalert/58
- http://www.osvdb.org/52206
- http://www.securityfocus.com/archive/1/498746/100/0/threaded
- http://www.securityfocus.com/archive/1/498981/100/0/threaded
- http://www.securityfocus.com/archive/1/498982/100/0/threaded
- https://exchange.xforce.ibmcloud.com/vulnerabilities/47316
- http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1313&r2=1.2027.2.547.2.1314&
- http://securityreason.com/achievement_securityalert/58
- http://www.osvdb.org/52206
- http://www.securityfocus.com/archive/1/498746/100/0/threaded
- http://www.securityfocus.com/archive/1/498981/100/0/threaded
Get alerted when CVE-2008-7068 or the next vulnerability affects your stack