{"id":"CVE-2007-1777","published":"2007-03-30T01:00:00Z","modified":"2024-08-07T13:06:26Z","title":"Integer overflow in the zip_read_entry function in PHP 4 before 4.4.5 allows remote attackers to execute arbitrary…","vendor":null,"product":null,"tier":"tail","description":{"text":"Integer overflow in the zip_read_entry function in PHP 4 before 4.4.5 allows remote attackers to execute arbitrary code via a ZIP archive that contains an entry with a length value of 0xffffffff, which is incremented before use in an emalloc call, triggering a heap overflow.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.15539,"percentile":0.96904,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.debian.org/security/2007/dsa-1283","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.php-security.org/MOPB/MOPB-35-2007.html","tags":["x_refsource_MISC"]},{"url":"http://secunia.com/advisories/25062","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/23169","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/33652","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.debian.org/security/2007/dsa-1282","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:130","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/25025","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"priority":{"score":24.4,"factors":[{"name":"EPSS percentile","points":19.38},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2007-03-27"},"first":{"date":"2007-03-27","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/29788"},"provenance":"source"},"summary":{"text":"The flaw is an integer overflow in the zip_read_entry function of PHP 4 before 4.4.5, in its ZIP archive handling. An attacker can achieve arbitrary code execution remotely by supplying a ZIP archive containing an entry with a length value of 0xffffffff, which is incremented before use in an emalloc call and triggers a heap overflow.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:48:59Z"},"euvd":{"id":"EUVD-2007-1771","exploited":false,"provenance":"source"},"exploits":[{"id":29788,"url":"https://www.exploit-db.com/exploits/29788","title":"PHP 4.4.4 - 'Zip_Entry_Read()' Integer Overflow","date":"2007-03-27","verified":true,"provenance":"source"}]}