Skip to content
CVE Tracker
Back

CVE-2007-1885

Integer overflow in the str_replace function in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 allows context-dependent attackers to execute…

High7.5EPSS 4.3%
Published
Updated
Reserved
Assigned by
mitre

Description

Integer overflow in the str_replace function in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 allows context-dependent attackers to execute arbitrary code via a single character search string in conjunction with a long replacement string, which overflows a 32 bit length counter. NOTE: this is probably the same issue as CVE-2007-0906.6.

Scores

CVSS scores of CVE-2007-1885, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified2.0High7.5AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS (exploitation in 30 days)
4.3% · top 8.8% of all CVEs (3 Nov 2026)

Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.

Weakness

  • n/a

Affected products

  • n/a

    • affected n/a

References (10)

Sources

The same CVE in the primary databases and aggregators, to check against.

Record last updated .