CVE-2007-1777: PHP

High severity, CVSS 7.5. EPSS: 15.3% chance of exploitation in the next 30 days.

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.

Affected products

  • PHP PHP: version 3.0 only; version 3.0.1 only; version 3.0.2 only; version 3.0.3 only; version 3.0.4 only; version 3.0.5 only; …

Published 2007-03-30. Last modified 2026-06-16.