Live threats

All CVEs / Php

CVE-2007-4657Php

High 7.5 No auth needed

Priority
60
CVSS 2.0
7.5
EPSS
3.0%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Sep 4, 2007
Updated
Jun 16, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-119, CWE-189
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp≥ 4.0.0 < 4.4.8
phpphp≥ 5.0.0 < 5.2.4
debiandebian_linux3.1
debiandebian_linux4.0
canonicalubuntu_linux6.06
canonicalubuntu_linux6.10
canonicalubuntu_linux7.04
canonicalubuntu_linux7.10

Official sources

References

Links published by the sources. Open them with care.