Back to CVE catalog
CVE-2007-4657

Multiple integer overflows in PHP

Multiple products

At a glance

Multiple integer overflows in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, allow remote attackers to obtain sensitive information (memory contents) or cause a denial of service (thread crash) via a large len value to the (1) strspn or (2) strcspn function, which triggers an out-of-bounds read. NOTE: this affects different product versions than CVE-2007-3996.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityPartial
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

7.5High
Published:
Updated:
EPSS:
2.994%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:phpphpAffected versions:
≥ 4.0.0, < 4.4.8Show full version range for php
≥ 5.0.0, < 5.2.4
Vendor:Canonicalubuntu linuxAffected versions:
6.06Show full version range for ubuntu linux
6.107.047.10
Vendor:Debiandebian linuxAffected versions:
3.1Show full version range for debian linux
4.0

1–3 of 3 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd · Wazuh CTI (cna)7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

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

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories33

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences