{"id":"CVE-2008-7068","aliases":["DTSA-188-1","EUVD-2008-7027","GHSA-r7m8-6r5m-4fqh"],"status":"published","title":"The dba_replace function in PHP 5.2.6 and 4.x allows context-dependent attackers to cause a...","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.","severity":{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01591,"percentile":0.75841,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-20"],"published":"2009-01-28T00:00:00Z","modified":"2026-06-16T23:03:32Z","affected":[{"source":"osv","ecosystem":"Debian:5.0","package":"php5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.6.dfsg.1-1+lenny2"}]}],"bundled":5}],"products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://www.securityfocus.com/archive/1/498982/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/47316","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.osvdb.org/52206","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://securityreason.com/achievement_securityalert/58","tags":["third-party-advisory","x_refsource_SREASONRES","x_transferred","Exploit"]},{"url":"http://www.securityfocus.com/archive/1/498746/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1313\u0026r2=1.2027.2.547.2.1314\u0026","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"http://www.securityfocus.com/archive/1/498981/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-7068"},{"url":"https://github.com/advisories/GHSA-r7m8-6r5m-4fqh"}],"sources":{"cve":[{"id":"CVE-2008-7068","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.","status":"published","published":"2009-08-25T10:00:00Z","modified":"2024-08-07T11:56:14.17Z","updated_at":"2026-11-02T14:34:48.505097Z"}],"euvd":[{"id":"EUVD-2008-7027","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.","status":"published","published":"2009-08-25T10:00:00Z","modified":"2024-08-07T11:56:14Z","updated_at":"2026-11-03T01:38:33.536876Z"}],"ghsa":[{"id":"GHSA-r7m8-6r5m-4fqh","title":"The dba_replace function in PHP 5.2.6 and 4.x allows context-dependent attackers to cause a...","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.","status":"published","published":"2022-05-14T02:16:07Z","modified":"2023-02-02T05:05:15Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:52:03.631935Z"}],"nvd":[{"id":"CVE-2008-7068","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.","status":"published","published":"2009-08-25T10:30:00.377Z","modified":"2026-06-16T23:03:32.027Z","cvss":[{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:01:32.081314Z"}],"osv":[{"id":"DTSA-188-1","title":"php5 - several vulnerabilities","status":"published","published":"2009-01-28T00:00:00Z","modified":"2026-03-09T01:00:51.012573Z","updated_at":"2026-11-02T15:46:18.716547Z"}]}}
