SecurityContext

CVE-2007-1886: PHP - Integer Overflow

  • Cve: CVE-2007-1886
  • Name: PHP - Integer Overflow
  • 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."
  • Impact: Potential for memory corruption or unpredictable behavior due to off-by-one overflow when exploited with specific inputs.
  • Remediation: Update to the latest PHP version where this issue is fixed.
  • Vulnerability type: integer_overflow
  • Vulnerability impact: out_of_bounds_rw
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.8
  • Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
  • Epss score: 0.01756
  • Epss percentile: 0.78534
  • Assignee: [email protected]
  • Published at: 2007-04-06T01:19:00Z
  • Age in days: 7172
  • Modified at: 2026-06-16T22:38:30Z
  • Patch available: yes
  • References total: 8
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2007-1886
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
NVD-CWE-Other—

References

Same in every row:

  • Source: nvd
UrlTags
http://www.php-security.org/MOPB/MOPB-39-2007.htmlPatch, Vendor Advisory
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137
http://secunia.com/advisories/25423
http://secunia.com/advisories/25850
http://www.vupen.com/english/advisories/2007/1991
http://www.vupen.com/english/advisories/2007/2374
https://exchange.xforce.ibmcloud.com/vulnerabilities/33768

Products

ProductAffectedPlatform boundSourcesUrl
php:php= 5.2.1, = 4.4.5nonvd/v1/products/php/php

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 6175026
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports