All vulnerabilities

Servers and applications

CVE-2007-1886

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
Medium 6.8
Published
6 Apr 2007
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
1.8% in the next 30 daysHigher than 78% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 4.4.5
  • Version 5.2.1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-1886
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-1886