CVE-2007-1399PHP Vulnerability
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…
Published Mar 10, 2007 · Updated Mar 9, 2026 · Also known as DEBIAN-CVE-2007-1399, DEBIAN-CVE-2007-1864, DSA-1330-1
Key Facts
Patch immediately- CVE-2007-1399 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting PHP, PHP Zip (Pierrejoye), php5 (debian).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 20% probability of exploitation in the next 30 days.
- Fixed versions are available, including php5 5.2.0-8+etch7, PHP Zip 1.8.4.
- Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Scores
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
20%
Higher than 97.4% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
39/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
1
Reports of active use
Advisories And Exploit References
- advisorypecl-url-wrapper-bo(32889)
- advisoryDSA-1330
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.
Affected Products
4 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| PHPPHP | 5.2.0, 5.2.1 | n/a |
| PHP ZipPierrejoye | See advisory | 1.8.4 |
| php5debian | See advisory | 5.2.0-8+etch7 |
Patched Releases
php5
5.2.0-8+etch7
PHP Zip
1.8.4
Timeline
Publicly disclosed
Mar 10, 2007
Last updated
Mar 9, 2026
References
- advisorypecl-url-wrapper-bo(32889)
- advisoryDSA-1330
- exploitExploitDB-3440
- exploitphp-security.org · MOPB-16-2007.html
- otherSUSE-SA:2007:020
FAQ
Common Questions.
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.
Affected: PHP versions 5.2.0, 5.2.1; PHP Zip (Pierrejoye); php5 (debian). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including php5 5.2.0-8+etch7, PHP Zip 1.8.4.
Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Is CVE-2007-1399 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo