CVE-2007-4657 Numeric Errors
No CVSS score yet. EPSS 3.0% estimated probability of exploitation activity in the next 30 days.
On this page
- EPSS
- 3.0% (unchanged from 3.0% a week ago; 3.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWEs
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-189 Numeric Errors - Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian: fixed package versions per release
- Patch: http://www.php.net/ChangeLog-5.php#5.2.4
- Vendor advisory: http://www.php.net/ChangeLog-4.php
- Vendor advisory: http://www.php.net/ChangeLog-5.php#5.2.4
- Vendor advisory: http://www.php.net/releases/4_4_8.php
Ask an AI about this CVE
Show the prompt
Explain CVE-2007-4657 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2007-4657?via=ask-ai-copy and https://cve.bz/cve/CVE-2007-4657?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2007-4657 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| php:php | from 4.0.0 before 4.4.8 |
| php:php | from 5.0.0 before 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 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 4.0 | php4 | 6:4.4.4-8+etch6 | DSA-1578-1 |
| Debian | 4.0 | php5 | 5.2.0-8+etch9 | DSA-1444-1 |
| Debian | 5.0 | php5 | 5.2.3-1+lenny1 | DTSA-61-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
Red Hat
The only effect of this bug is to cause the process to read from a random segment of memory, if a large "length" parameter is passed to the strspn/strcspn function, which is under the control of the script author. This bug has no security impact.
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2007-4657.
Attack patterns (CAPEC)
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).
References
- http://www.php.net/ChangeLog-5.php#5.2.4
- http://www.php.net/ChangeLog-4.php
- http://www.php.net/releases/4_4_8.php
- http://www.php.net/releases/5_2_4.php
- http://secunia.com/advisories/26642
- http://secunia.com/advisories/26822
- http://secunia.com/advisories/26838
- http://secunia.com/advisories/27102
- http://secunia.com/advisories/27377
- http://secunia.com/advisories/27864
- http://secunia.com/advisories/28249
- http://secunia.com/advisories/28318
- http://secunia.com/advisories/28936
- http://secunia.com/advisories/30288
- http://secweb.se/en/advisories/php-strcspn-information-leak-vulnerability/
- http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136
- http://www.debian.org/security/2008/dsa-1444
- http://www.debian.org/security/2008/dsa-1578
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
- http://www.trustix.org/errata/2007/0026/
- http://www.ubuntu.com/usn/usn-549-2
- http://www.vupen.com/english/advisories/2007/3023
- http://www.vupen.com/english/advisories/2008/0059
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36388
- https://exchange.xforce.ibmcloud.com/vulnerabilities/39399
- https://issues.rpath.com/browse/RPL-1693
- https://issues.rpath.com/browse/RPL-1702
- https://launchpad.net/bugs/173043
- https://usn.ubuntu.com/549-1/