{"id":"CVE-2007-1886","aliases":["EUVD-2007-1880","GHSA-cxj5-f766-7wwc"],"status":"published","title":"Integer overflow in the str_replace function in PHP 4.4.5 and PHP 5.2.1 allows context-dependent...","description":"Integer overflow in the str_replace function in PHP 4.4.5 and PHP 5.2.1 allows context-dependent attackers to have an unknown impact via a single character search string in conjunction with a single character replacement string, which causes an \"off by one overflow.\"","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01756,"percentile":0.78099,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2007-04-06T01:00:00Z","modified":"2026-06-16T22:38:30Z","products":[{"vendor":"php","product":"php"}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/33768","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2007/1991","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en\u0026cc=us\u0026objectID=c01056506","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en\u0026cc=us\u0026objectID=c01086137","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2007/2374","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://secunia.com/advisories/25423","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/25850","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.php-security.org/MOPB/MOPB-39-2007.html","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1886"},{"url":"https://github.com/advisories/GHSA-cxj5-f766-7wwc"}],"sources":{"cve":[{"id":"CVE-2007-1886","description":"Integer overflow in the str_replace function in PHP 4.4.5 and PHP 5.2.1 allows context-dependent attackers to have an unknown impact via a single character search string in conjunction with a single character replacement string, which causes an \"off by one overflow.\"","status":"published","published":"2007-04-06T01:00:00Z","modified":"2024-08-07T13:13:41.976Z","updated_at":"2026-11-02T13:33:41.472948Z"}],"euvd":[{"id":"EUVD-2007-1880","description":"Integer overflow in the str_replace function in PHP 4.4.5 and PHP 5.2.1 allows context-dependent attackers to have an unknown impact via a single character search string in conjunction with a single character replacement string, which causes an \"off by one overflow.\"","status":"published","published":"2007-04-06T01:00:00Z","modified":"2024-08-07T13:13:41Z","updated_at":"2026-11-03T01:38:23.856285Z"}],"ghsa":[{"id":"GHSA-cxj5-f766-7wwc","title":"Integer overflow in the str_replace function in PHP 4.4.5 and PHP 5.2.1 allows context-dependent...","description":"Integer overflow in the str_replace function in PHP 4.4.5 and PHP 5.2.1 allows context-dependent attackers to have an unknown impact via a single character search string in conjunction with a single character replacement string, which causes an \"off by one overflow.\"","status":"published","published":"2022-05-01T17:58:01Z","modified":"2023-01-31T05:03:30Z","updated_at":"2026-11-02T14:48:28.814324Z"}],"nvd":[{"id":"CVE-2007-1886","description":"Integer overflow in the str_replace function in PHP 4.4.5 and PHP 5.2.1 allows context-dependent attackers to have an unknown impact via a single character search string in conjunction with a single character replacement string, which causes an \"off by one overflow.\"","status":"published","published":"2007-04-06T01:19:00Z","modified":"2026-06-16T22:38:30.21Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:01:14.732044Z"}]}}
