CVE-2007-4657Php
High 7.5 No auth needed
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Php.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | php | ≥ 4.0.0 < 4.4.8 |
| php | php | ≥ 5.0.0 < 5.2.4 |
| debian | debian_linux | 3.1 |
| debian | debian_linux | 4.0 |
| canonical | ubuntu_linux | 6.06 |
| canonical | ubuntu_linux | 6.10 |
| canonical | ubuntu_linux | 7.04 |
| canonical | ubuntu_linux | 7.10 |
Official sources
References
Links published by the sources. Open them with care.
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secunia.com Third Party Advisory
- secweb.se Third Party Advisory
- slackware.com Mailing List Third Party Advisory
- www.debian.org Third Party Advisory
- www.debian.org Third Party Advisory
- www.gentoo.org Third Party Advisory
- www.php.net Vendor Advisory
- www.php.net Patch Vendor Advisory
- www.php.net Vendor Advisory
- www.php.net Vendor Advisory
- www.trustix.org Broken Link
- www.ubuntu.com Broken Link
- www.vupen.com Third Party Advisory
- www.vupen.com Third Party Advisory
- exchange.xforce.ibmcloud.com Third Party Advisory VDB Entry
- exchange.xforce.ibmcloud.com Third Party Advisory VDB Entry
- issues.rpath.com Broken Link
- issues.rpath.com Broken Link
- launchpad.net Third Party Advisory
- usn.ubuntu.com Third Party Advisory