Skip to content
WatchlistCritical

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

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
ProductAffected versionsFixed in
PHPPHP5.2.0, 5.2.1n/a
PHP ZipPierrejoyeSee advisory1.8.4
php5debianSee advisory5.2.0-8+etch7

Patched Releases

php5

5.2.0-8+etch7

PHP Zip

1.8.4

Timeline

  1. Publicly disclosed

    Mar 10, 2007

  2. Last updated

    Mar 9, 2026

References

6 more references in the full CVE brief

FAQ

Common Questions.

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

Figures as of Oct 19, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.