{"id":"CVE-2007-1399","aliases":["DSA-1330-1","EUVD-2007-1395","GHSA-39ch-q5j8-9rjh"],"status":"published","title":"Stack-based buffer overflow in the zip:// URL wrapper in PECL ZIP 1.8.3 and earlier, as bundled...","description":"Stack-based buffer overflow in the zip:// URL wrapper in PECL ZIP 1.8.3 and earlier, as bundled with PHP 5.2.0 and 5.2.1, allows remote attackers to execute arbitrary code via a long zip:// URL, as demonstrated by actively triggering URL access from a remote PHP interpreter via avatar upload or blog pingback.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.20098,"percentile":0.97467,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2007-03-10T22:00:00Z","modified":"2026-06-16T22:37:30Z","exploits":[{"source":"exploitdb","id":"EDB-3440","title":"PHP 5.2.0 / PHP with PECL ZIP 1.8.3 - 'zip://' URL Wrapper Buffer Overflow","type":"local","platform":"linux","date":"2007-03-09","verified":true,"url":"https://www.exploit-db.com/exploits/3440"}],"affected":[{"source":"osv","ecosystem":"Debian:4.0","package":"php5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.0-8+etch7"}]}],"versions":["5.2.0-8+etch1","5.2.0-8+etch3","5.2.0-8+etch4","5.2.0-8+etch5~pu1","5.2.0-8+etch6"],"bundled":2}],"products":[{"vendor":"php","product":"php"},{"vendor":"pierrejoye","product":"php_zip"}],"references":[{"url":"http://www.php-security.org/MOPB/MOPB-16-2007.html","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory"]},{"url":"http://secunia.com/advisories/24514","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Not Applicable"]},{"url":"http://www.osvdb.org/32782","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","Broken Link"]},{"url":"http://www.securityfocus.com/bid/22883","tags":["vdb-entry","x_refsource_BID","x_transferred","Broken Link"]},{"url":"http://lists.suse.com/archive/suse-security-announce/2007-Mar/0003.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Broken Link"]},{"url":"http://www.debian.org/security/2007/dsa-1330","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Mailing List","Third Party Advisory"]},{"url":"http://www.vupen.com/english/advisories/2007/0898","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Not Applicable"]},{"url":"http://secunia.com/advisories/24471","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Not Applicable"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/32889","tags":["vdb-entry","x_refsource_XF","x_transferred","Third Party Advisory"]},{"url":"http://secunia.com/advisories/25938","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Not Applicable"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1399"},{"url":"https://github.com/advisories/GHSA-39ch-q5j8-9rjh"}],"sources":{"cve":[{"id":"CVE-2007-1399","description":"Stack-based buffer overflow in the zip:// URL wrapper in PECL ZIP 1.8.3 and earlier, as bundled with PHP 5.2.0 and 5.2.1, allows remote attackers to execute arbitrary code via a long zip:// URL, as demonstrated by actively triggering URL access from a remote PHP interpreter via avatar upload or blog pingback.","status":"published","published":"2007-03-10T22:00:00Z","modified":"2024-08-07T12:50:35.275Z","updated_at":"2026-11-02T13:33:52.669326Z"}],"euvd":[{"id":"EUVD-2007-1395","description":"Stack-based buffer overflow in the zip:// URL wrapper in PECL ZIP 1.8.3 and earlier, as bundled with PHP 5.2.0 and 5.2.1, allows remote attackers to execute arbitrary code via a long zip:// URL, as demonstrated by actively triggering URL access from a remote PHP interpreter via avatar upload or blog pingback.","status":"published","published":"2007-03-10T22:00:00Z","modified":"2024-08-07T12:50:35Z","updated_at":"2026-11-03T01:38:26.308793Z"}],"ghsa":[{"id":"GHSA-39ch-q5j8-9rjh","title":"Stack-based buffer overflow in the zip:// URL wrapper in PECL ZIP 1.8.3 and earlier, as bundled...","description":"Stack-based buffer overflow in the zip:// URL wrapper in PECL ZIP 1.8.3 and earlier, as bundled with PHP 5.2.0 and 5.2.1, allows remote attackers to execute arbitrary code via a long zip:// URL, as demonstrated by actively triggering URL access from a remote PHP interpreter via avatar upload or blog pingback.","status":"published","published":"2022-05-01T17:53:17Z","modified":"2025-12-11T18:31:33Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:05:09.733588Z"}],"nvd":[{"id":"CVE-2007-1399","description":"Stack-based buffer overflow in the zip:// URL wrapper in PECL ZIP 1.8.3 and earlier, as bundled with PHP 5.2.0 and 5.2.1, allows remote attackers to execute arbitrary code via a long zip:// URL, as demonstrated by actively triggering URL access from a remote PHP interpreter via avatar upload or blog pingback.","status":"published","published":"2007-03-10T22:19:00Z","modified":"2026-06-16T22:37:30.657Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:01:13.98711Z"}],"osv":[{"id":"DSA-1330-1","title":"php5 - several vulnerabilities","status":"published","published":"2007-07-07T00:00:00Z","modified":"2026-03-09T01:00:41.048658Z","updated_at":"2026-11-02T15:46:14.285228Z"}]}}
