{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Important\"}"}}}], "affected": [{"vendor": "redhat", "product": "php", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-7.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-bcmath", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-7.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-cli", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-7.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-common", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-7.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-dba", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-7.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-devel", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-7.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-gd", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-7.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-imap", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-7.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-ldap", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-7.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-mbstring", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-7.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-mysql", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-7.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-ncurses", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-7.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-odbc", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-7.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-pdo", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-7.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-pgsql", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-7.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-snmp", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-7.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-soap", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-7.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-xml", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-7.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-xmlrpc", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-7.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2007:0082"}, {"url": "https://access.redhat.com/security/cve/CVE-2007-1285"}], "descriptions": [{"lang": "en", "value": "PHP is an HTML-embedded scripting language commonly used with the Apache\nHTTP Web server. \n\nA number of buffer overflow flaws were found in the PHP session extension;\nthe str_replace() function; and the imap_mail_compose() function. If very\nlong strings were passed to the str_replace() function, an integer\noverflow could occur in memory allocation. If a script used the\nimap_mail_compose() function to create a new MIME message based on an\ninput body from an untrusted source, it could result in a heap overflow.\nAn attacker with access to a PHP application affected by any these issues\ncould trigger the flaws and possibly execute arbitrary code as the\n'apache' user. (CVE-2007-0906)\n\nWhen unserializing untrusted data on 64-bit platforms, the\nzend_hash_init() function could be forced into an infinite loop, consuming\nCPU resources for a limited time, until the script timeout alarm aborted\nexecution of the script. (CVE-2007-0988)\n\nIf the wddx extension was used to import WDDX data from an untrusted\nsource, certain WDDX input packets could expose a random portion of heap\nmemory. (CVE-2007-0908)\n\nIf the odbc_result_all() function was used to display data from a\ndatabase, and the database table contents were under an attacker's\ncontrol, a format string vulnerability was possible which could allow\narbitrary code execution. (CVE-2007-0909)\n\nA one byte memory read always occurs before the beginning of a buffer.\nThis could be triggered, for example, by any use of the header() function\nin a script. However it is unlikely that this would have any effect.\n(CVE-2007-0907)\n\nSeveral flaws in PHP could allow attackers to \"clobber\" certain\nsuper-global variables via unspecified vectors. (CVE-2007-0910)\n\nAn input validation bug allowed a remote attacker to trigger a denial of\nservice attack by submitting an input variable with a deeply-nested-array.\n(CVE-2007-1285)\n\nUsers of PHP should upgrade to these updated packages which contain\nbackported patches to correct these issues."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2007-03-01T00:00:00Z", "x_subShortName": "redhat_5"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 5, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:P", "authentication": "NONE", "integrityImpact": "NONE", "accessComplexity": "LOW", "availabilityImpact": "PARTIAL", "confidentialityImpact": "NONE"}}, {"format": "CVSS", "cvssV3_1": {"scope": "UNCHANGED", "version": "3.1", "baseScore": 7.5, "attackVector": "NETWORK", "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "integrityImpact": "NONE", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "NONE"}}], "affected": [{"cpes": ["cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"], "vendor": "php", "product": "php", "versions": [{"status": "affected", "version": "4.0.0", "lessThan": "4.4.7", "versionType": "custom"}, {"status": "affected", "version": "5.0.0", "lessThan": "5.2.2", "versionType": "custom"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:*"], "vendor": "canonical", "product": "ubuntu_linux", "versions": [{"status": "affected", "version": "7.10"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:novell:suse_linux:10.0:*:*:*:*:*:*:*", "cpe:2.3:o:novell:suse_linux:10.1:*:*:*:*:*:*:*"], "vendor": "novell", "product": "suse_linux", "versions": [{"status": "affected", "version": "10.0"}, {"status": "affected", "version": "10.1"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:redhat:enterprise_linux_desktop:3.0:*:*:*:*:*:*:*", "cpe:2.3:o:redhat:enterprise_linux_desktop:4.0:*:*:*:*:*:*:*"], "vendor": "redhat", "product": "enterprise_linux_desktop", "versions": [{"status": "affected", "version": "3.0"}, {"status": "affected", "version": "4.0"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:redhat:enterprise_linux_server:2.0:*:*:*:*:*:*:*", "cpe:2.3:o:redhat:enterprise_linux_server:3.0:*:*:*:*:*:*:*", "cpe:2.3:o:redhat:enterprise_linux_server:4.0:*:*:*:*:*:*:*"], "vendor": "redhat", "product": "enterprise_linux_server", "versions": [{"status": "affected", "version": "2.0"}, {"status": "affected", "version": "3.0"}, {"status": "affected", "version": "4.0"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:redhat:enterprise_linux_workstation:2.0:*:*:*:*:*:*:*", "cpe:2.3:o:redhat:enterprise_linux_workstation:3.0:*:*:*:*:*:*:*", "cpe:2.3:o:redhat:enterprise_linux_workstation:4.0:*:*:*:*:*:*:*"], "vendor": "redhat", "product": "enterprise_linux_workstation", "versions": [{"status": "affected", "version": "2.0"}, {"status": "affected", "version": "3.0"}, {"status": "affected", "version": "4.0"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:suse:linux_enterprise_server:10:sp1:*:*:*:*:*:*", "cpe:2.3:o:suse:linux_enterprise_server:8:*:*:*:*:*:*:*"], "vendor": "suse", "product": "linux_enterprise_server", "versions": [{"status": "affected", "version": "10"}, {"status": "affected", "version": "8"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://rhn.redhat.com/errata/RHSA-2007-0163.html", "tags": ["broken-link"]}, {"url": "http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136", "tags": ["broken-link"]}, {"url": "http://www.osvdb.org/32769", "tags": ["broken-link"]}, {"url": "http://www.redhat.com/support/errata/RHSA-2007-0082.html", "tags": ["broken-link"]}, {"url": "http://www.redhat.com/support/errata/RHSA-2007-0162.html", "tags": ["broken-link"]}, {"url": "https://issues.rpath.com/browse/RPL-1268", "tags": ["broken-link"]}, {"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11017", "tags": ["broken-link"]}, {"url": "https://usn.ubuntu.com/549-1/", "tags": ["broken-link"]}, {"url": "http://www.php-security.org/MOPB/MOPB-03-2007.html", "tags": ["broken-link", "exploit", "vendor-advisory"]}, {"url": "http://www.securityfocus.com/archive/1/466166/100/0/threaded", "tags": ["broken-link", "third-party-advisory", "vdb-entry"]}, {"url": "http://www.securityfocus.com/bid/22764", "tags": ["broken-link", "third-party-advisory", "vdb-entry"]}, {"url": "http://www.securitytracker.com/id?1017771", "tags": ["broken-link", "third-party-advisory", "vdb-entry"]}, {"url": "http://secunia.com/advisories/24909", "tags": ["broken-link", "vendor-advisory"]}, {"url": "http://secunia.com/advisories/24910", "tags": ["broken-link", "vendor-advisory"]}, {"url": "http://secunia.com/advisories/24924", "tags": ["broken-link", "vendor-advisory"]}, {"url": "http://secunia.com/advisories/24941", "tags": ["broken-link", "vendor-advisory"]}, {"url": "http://secunia.com/advisories/24945", "tags": ["broken-link", "vendor-advisory"]}, {"url": "http://secunia.com/advisories/25445", "tags": ["broken-link", "vendor-advisory"]}, {"url": "http://secunia.com/advisories/26048", "tags": ["broken-link", "vendor-advisory"]}, {"url": "http://secunia.com/advisories/26642", "tags": ["broken-link", "vendor-advisory"]}, {"url": "http://secunia.com/advisories/27864", "tags": ["broken-link", "vendor-advisory"]}, {"url": "http://secunia.com/advisories/28936", "tags": ["broken-link", "vendor-advisory"]}, {"url": "https://launchpad.net/bugs/173043", "tags": ["exploit", "issue-tracking"]}, {"url": "http://lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.html", "tags": ["mailing-list"]}, {"url": "http://us2.php.net/releases/4_4_7.php", "tags": ["release-notes"]}, {"url": "http://us2.php.net/releases/5_2_2.php", "tags": ["release-notes"]}, {"url": "http://www.php.net/ChangeLog-4.php", "tags": ["release-notes"]}, {"url": "http://www.php.net/ChangeLog-5.php#5.2.4", "tags": ["release-notes"]}, {"url": "http://www.php.net/releases/4_4_8.php", "tags": ["release-notes"]}, {"url": "http://www.php.net/releases/5_2_4.php", "tags": ["release-notes"]}, {"url": "http://rhn.redhat.com/errata/RHSA-2007-0154.html", "tags": ["third-party-advisory"]}, {"url": "http://rhn.redhat.com/errata/RHSA-2007-0155.html", "tags": ["third-party-advisory"]}, {"url": "http://security.gentoo.org/glsa/glsa-200705-19.xml", "tags": ["third-party-advisory"]}, {"url": "http://www.mandriva.com/security/advisories?name=MDKSA-2007:087", "tags": ["third-party-advisory"]}, {"url": "http://www.mandriva.com/security/advisories?name=MDKSA-2007:088", "tags": ["third-party-advisory"]}, {"url": "http://www.mandriva.com/security/advisories?name=MDKSA-2007:089", "tags": ["third-party-advisory"]}, {"url": "http://www.mandriva.com/security/advisories?name=MDKSA-2007:090", "tags": ["third-party-advisory"]}, {"url": "http://www.ubuntu.com/usn/usn-549-2", "tags": ["third-party-advisory"]}], "descriptions": [{"lang": "en", "value": "The Zend Engine in PHP 4.x before 4.4.7, and 5.x before 5.2.2, allows remote attackers to cause a denial of service (stack exhaustion and PHP crash) via deeply nested arrays, which trigger deep recursion in the variable destruction routines."}, {"lang": "es", "value": "El motor Zend en PHP versión 4.x anterior a  4.4.7, y versión  5.x anterior a  5.2.2, permite que los atacantes remotos causen una denegación de servicio (agotamiento de pila y bloqueo de PHP) por medio de matrices profundamente anidadas, que desencadenan una profunda recursión en la variable de rutinas de destrucción."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-674", "description": "CWE-674"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2007-03-06T20:19:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2007-1285", "state": "PUBLISHED", "dateUpdated": "2025-04-09T00:30:58Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2007-03-06T20:19:00Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}