{"dataType": "CVE_RECORD", "containers": {"cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 7.5, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}], "affected": [{"cpes": ["cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"], "vendor": "php", "product": "php", "versions": [{"status": "affected", "version": "4.0.0", "lessThan": "4.4.8", "versionType": "custom"}, {"status": "affected", "version": "5.0.0", "lessThan": "5.2.4", "versionType": "custom"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:*", "cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:*", "cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*", "cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:*"], "vendor": "canonical", "product": "ubuntu_linux", "versions": [{"status": "affected", "version": "6.06"}, {"status": "affected", "version": "6.10"}, {"status": "affected", "version": "7.04"}, {"status": "affected", "version": "7.10"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:*", "cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*"], "vendor": "debian", "product": "debian_linux", "versions": [{"status": "affected", "version": "3.1"}, {"status": "affected", "version": "4.0"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://www.trustix.org/errata/2007/0026/", "tags": ["broken-link"]}, {"url": "http://www.ubuntu.com/usn/usn-549-2", "tags": ["broken-link"]}, {"url": "https://issues.rpath.com/browse/RPL-1693", "tags": ["broken-link"]}, {"url": "https://issues.rpath.com/browse/RPL-1702", "tags": ["broken-link"]}, {"url": "http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136", "tags": ["mailing-list", "third-party-advisory"]}, {"url": "http://www.php.net/ChangeLog-5.php#5.2.4", "tags": ["patch", "vendor-advisory"]}, {"url": "http://secunia.com/advisories/26642", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/26822", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/26838", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/27102", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/27377", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/27864", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/28249", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/28318", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/28936", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/30288", "tags": ["third-party-advisory"]}, {"url": "http://secweb.se/en/advisories/php-strcspn-information-leak-vulnerability/", "tags": ["third-party-advisory"]}, {"url": "http://www.debian.org/security/2008/dsa-1444", "tags": ["third-party-advisory"]}, {"url": "http://www.debian.org/security/2008/dsa-1578", "tags": ["third-party-advisory"]}, {"url": "http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml", "tags": ["third-party-advisory"]}, {"url": "http://www.vupen.com/english/advisories/2007/3023", "tags": ["third-party-advisory"]}, {"url": "http://www.vupen.com/english/advisories/2008/0059", "tags": ["third-party-advisory"]}, {"url": "https://launchpad.net/bugs/173043", "tags": ["third-party-advisory"]}, {"url": "https://usn.ubuntu.com/549-1/", "tags": ["third-party-advisory"]}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/36388", "tags": ["third-party-advisory", "vdb-entry"]}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/39399", "tags": ["third-party-advisory", "vdb-entry"]}, {"url": "http://www.php.net/ChangeLog-4.php", "tags": ["vendor-advisory"]}, {"url": "http://www.php.net/releases/4_4_8.php", "tags": ["vendor-advisory"]}, {"url": "http://www.php.net/releases/5_2_4.php", "tags": ["vendor-advisory"]}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "Múltiples desbordamientos de entero en PHP 4 anterior a 4.4.8, y PHP 5 anterior a 5.2.4, permite a atacantes remotos obtener información sensible (contenido de memoria) o provocar denegación de servicio (caida de hilo) a través de un valor de len grande en la función (1) strspn o (2) strcspn, lo cual dispara un lectura fuera de límite. NOTA: estos afecta a diferentes versiones de producto que al CVE-2007-3996."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-119", "description": "CWE-119"}, {"lang": "en", "cweId": "CWE-189", "description": "CWE-189"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2007-09-04T22:17:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2007-4657", "state": "PUBLISHED", "dateUpdated": "2025-04-09T00:30:58Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2007-09-04T22:17:00Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}