Synced 07 Nov 2026 15:45 UTC Account
← All products

CVE-2007-1886

MEDIUM severity · CVSS 6.8
6.8CVSS MEDIUM

Summary

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."

Impact & exploitability

Attack vectorNetwork
Attack complexity—
Privileges required—
User interaction—
Confidentiality impact—
Integrity impact—
Availability impact—
Exploit probability (EPSS)2%

AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected products we track (1)

PHP

Recommendation

Apply the vendor fix in your normal patch cycle. Open any affected product above for its exact safe version.

Official patch: http://www.php-security.org/MOPB/MOPB-39-2007.html ↗