CVE-2008-7068
The dba_replace function in PHP 5.2.6 and 4.x allows context-dependent attackers to cause a...
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.
Exploit likelihood
What each source reports
NVD Score used
6.4
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.
- Record
CVE-2008-7068- CVSS 2.0
- 6.4 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2008-7068- Updated
- 2026-11-02
EUVDEUVD-2008-7027 No score
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.
- Record
EUVD-2008-7027- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-r7m8-6r5m-4fqh No score
The dba_replace function in PHP 5.2.6 and 4.x allows context-dependent attackers to cause a...
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.
- Record
GHSA-r7m8-6r5m-4fqh- Weakness
- CWE-20
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
php5Debian:5.0 From an advisory covering 5 CVEs |
before 5.2.6.dfsg.1-1+lenny2 | 5.2.6.dfsg.1-1+lenny2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2008-7068 is a medium vulnerability (CVSS 6.4) in Php, published January 28, 2009. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.59%, the 75th percentile. No source names a fixed version.
References
securityfocus.com/archive/1/498982/100/0/threaded
exchange.xforce.ibmcloud.com/vulnerabilities/47316
osvdb.org/52206
securityreason.com/achievement_securityalert/58
securityfocus.com/archive/1/498746/100/0/threaded
cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1313&r2=1.2027.2.547.2.1314&
securityfocus.com/archive/1/498981/100/0/threaded
nvd.nist.gov/vuln/detail/CVE-2008-7068
github.com/advisories/GHSA-r7m8-6r5m-4fqh