Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2007-4657

20
FAUCET Score

CVE-2007-4657 describes multiple integer overflow vulnerabilities in PHP versions prior to 4.4.8 and 5.2.4, affecting various distributions including Canonical and Debian. Remote attackers can exploit these flaws by providing a large 'len' value to the 'strspn' or 'strcspn' functions, leading to an out-of-bounds read. This can result in information disclosure (memory contents) or a denial of service (thread crash). The vulnerability has a CVSS score of 7.5, indicating high severity with a network-based attack vector and low attack complexity, requiring no authentication. The potential impact includes partial confidentiality, integrity, and availability compromise. Despite its severity, there is no evidence of active exploitation, and no public exploit code is available in Metasploit, Nuclei, or ExploitDB. Furthermore, the vulnerability has received minimal community discussion and media coverage, suggesting a low level of public attention.

Impacted Technologies

VendorProductVersion(s)CPE
>= 4.0.0, < 4.4.8CPE matchmatch criteria
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 5.0.0, < 5.2.4CPE matchmatch criteria
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
3.1CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:*
4.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*
6.06CPE matchmatch criteria
cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:*

CVSS Data

CVSS version used by this source: 2.0

7.5HIGH

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

Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Exploitability Score
10.0
Impact Score
6.4
CvssVersion
2.0

Exploit Intelligence

EPSS Score
2.99%
Probability of exploitation in next 30 days
EPSS Percentile
85.9%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0299 is in the 75th percentile among its peer group of 51,506 CVEs.

Social Chatter

No social media mentions found for this CVE.

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Vendor Advisories (1)

redhatCVE-2007-4657

php integer overflow in strspn/strcspn

References

secunia.com / advisories/26642
Third Party Advisory
secunia.com / advisories/26822
Third Party Advisory
secunia.com / advisories/26838
Third Party Advisory
secunia.com / advisories/27102
Third Party Advisory
secunia.com / advisories/27377
Third Party Advisory
secunia.com / advisories/27864
Third Party Advisory
secunia.com / advisories/28249
Third Party Advisory
secunia.com / advisories/28318
Third Party Advisory
secunia.com / advisories/28936
Third Party Advisory
secunia.com / advisories/30288
Third Party Advisory
secweb.se / en/advisories/php-strcspn-information-leak-vulnerability
Third Party Advisory
exchange.xforce.ibmcloud.com / vulnerabilities/36388
Third Party AdvisoryVDB Entry
exchange.xforce.ibmcloud.com / vulnerabilities/39399
Third Party AdvisoryVDB Entry
issues.rpath.com / browse/RPL-1693
Broken Link
issues.rpath.com / browse/RPL-1702
Broken Link
slackware.com / security/viewer.php
Mailing ListThird Party Advisory
launchpad.net / bugs/173043
Third Party Advisory
usn.ubuntu.com / 549-1
Third Party Advisory
debian.org / security/2008/dsa-1444
Third Party Advisory
debian.org / security/2008/dsa-1578
Third Party Advisory
gentoo.org / security/en/glsa/glsa-200710-02.xml
Third Party Advisory
php.net / ChangeLog-4.php
Vendor Advisory
php.net / ChangeLog-5.php
PatchVendor Advisory
php.net / releases/4_4_8.php
Vendor Advisory
php.net / releases/5_2_4.php
Vendor Advisory
trustix.org / errata/2007/0026
Broken Link
ubuntu.com / usn/usn-549-2
Broken Link
vupen.com / english/advisories/2007/3023
Third Party Advisory
vupen.com / english/advisories/2008/0059
Third Party Advisory