Back
CVE-2008-7068
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…
Medium6.4EPSS 1.6%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
- EPSS (exploitation in 30 days)
- 1.6% · top 24% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.4.
Weakness
Affected products
n/a
- affected n/a
References (7)
- 20081206 Re: SecurityReason : PHP 5.2.6 dba_replace() destroying file (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- php-dbareplace-file-corruption(47316) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 52206 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- 20081127 PHP 5.2.6 dba_replace() destroying file (opens in a new tab)third-party-advisoryx_refsource_SREASONRESx_transferred
- 20081127 SecurityReason : PHP 5.2.6 dba_replace() destroying file (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1313&r2=1.2027.2.547.2.1314& (opens in a new tab)x_refsource_CONFIRMx_transferred
- 20081206 Re: SecurityReason : PHP 5.2.6 dba_replace() destroying file (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2008-7068)Record last updated .