Every CVE Search/ Get API key

CVE-2007-1886

Integer overflow in the str_replace function in PHP 4.4.5 and PHP 5.2.1 allows context-dependent...

6.8 Medium

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

Exploit likelihood

1.76%Up 0.2 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.8

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

Record
CVE-2007-1886
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Updated
2026-11-02
CVE List No score

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

Record
CVE-2007-1886
Updated
2026-11-02
EUVDEUVD-2007-1880 No score

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

Record
EUVD-2007-1880
Updated
2026-11-03
GitHub AdvisoriesGHSA-cxj5-f766-7wwc No score

Integer overflow in the str_replace function in PHP 4.4.5 and PHP 5.2.1 allows context-dependent...

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

Record
GHSA-cxj5-f766-7wwc
Updated
2026-11-02

Affected products

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2007-1886 is a medium vulnerability (CVSS 6.8) in Php, published April 6, 2007. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.76%, the 78th percentile. No source names a fixed version.

References

Show 4 moreShow less
MoveEnter Open