Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2007-4657

published

php integer overflow in strspn/strcspn

Title from Red Hat VEX

Published
04 Sep 2007, 22:00:00 UTC
Updated
07 Aug 2024, 15:01:10 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Debian etch php4 Advisory build 6:4.4.4-8+etch6 DSA-1578-1
Debian etch php5 Advisory build 5.2.0-8+etch9 DSA-1444-1

Description

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

29
  • 26642 http://secunia.com/advisories/26642 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 26822 http://secunia.com/advisories/26822 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 26838 http://secunia.com/advisories/26838 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 27102 http://secunia.com/advisories/27102 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 27377 http://secunia.com/advisories/27377 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 27864 http://secunia.com/advisories/27864 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 28249 http://secunia.com/advisories/28249 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 28318 http://secunia.com/advisories/28318 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 28936 http://secunia.com/advisories/28936 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • 30288 http://secunia.com/advisories/30288 third-party-advisory, x_refsource_SECUNIA, x_transferred Contributors: mitre (cna), CVE (adp)
  • http://secweb.se/en/advisories/php-strcspn-information-leak-vulnerability/ x_refsource_MISC, x_transferred Contributors: mitre (cna), CVE (adp)
  • SSA:2008-045-03 http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136 vendor-advisory, x_refsource_SLACKWARE, x_transferred Contributors: mitre (cna), CVE (adp)
  • DSA-1444 http://www.debian.org/security/2008/dsa-1444 vendor-advisory, x_refsource_DEBIAN, x_transferred Contributors: mitre (cna), CVE (adp)
  • DSA-1578 http://www.debian.org/security/2008/dsa-1578 vendor-advisory, x_refsource_DEBIAN, x_transferred Contributors: mitre (cna), CVE (adp)
  • GLSA-200710-02 http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml vendor-advisory, x_refsource_GENTOO, x_transferred Contributors: mitre (cna), CVE (adp)
  • http://www.php.net/ChangeLog-4.php x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • http://www.php.net/ChangeLog-5.php#5.2.4 x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • http://www.php.net/releases/4_4_8.php x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • http://www.php.net/releases/5_2_4.php x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • 2007-0026 http://www.trustix.org/errata/2007/0026/ vendor-advisory, x_refsource_TRUSTIX, x_transferred Contributors: mitre (cna), CVE (adp)
  • USN-549-2 http://www.ubuntu.com/usn/usn-549-2 vendor-advisory, x_refsource_UBUNTU, x_transferred Contributors: mitre (cna), CVE (adp)
  • ADV-2007-3023 http://www.vupen.com/english/advisories/2007/3023 vdb-entry, x_refsource_VUPEN, x_transferred Contributors: mitre (cna), CVE (adp)
  • ADV-2008-0059 http://www.vupen.com/english/advisories/2008/0059 vdb-entry, x_refsource_VUPEN, x_transferred Contributors: mitre (cna), CVE (adp)
  • php-strcspn-overflow(36388) https://exchange.xforce.ibmcloud.com/vulnerabilities/36388 vdb-entry, x_refsource_XF, x_transferred Contributors: mitre (cna), CVE (adp)
  • php-strcspn-strspn-unspecified(39399) https://exchange.xforce.ibmcloud.com/vulnerabilities/39399 vdb-entry, x_refsource_XF, x_transferred Contributors: mitre (cna), CVE (adp)
  • https://issues.rpath.com/browse/RPL-1693 x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • https://issues.rpath.com/browse/RPL-1702 x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • https://launchpad.net/bugs/173043 x_refsource_CONFIRM, x_transferred Contributors: mitre (cna), CVE (adp)
  • USN-549-1 https://usn.ubuntu.com/549-1/ vendor-advisory, x_refsource_UBUNTU, x_transferred Contributors: mitre (cna), CVE (adp)

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
6f97eb1efcddb9670ed7327e7743d1fd025705aca7bb3520532bd16a149786b6
Ingested
23 Sep 2026, 07:38:16 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected