CVE-2015-2331: Debian Linux

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

Integer overflow in the _zip_cdir_new function in zip_dirent.c in libzip 0.11.2 and earlier, as used in the ZIP extension in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 and other products, allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a ZIP archive that contains many entries, leading to a heap-based buffer overflow.

Affected products

  • Debian Debian Linux: version 7.0 only
  • Fedoraproject Fedora: version 22 only
  • Nih Libzip: up to and including 0.11.2
  • Opensuse Opensuse: version 13.1 only; version 13.2 only
  • PHP PHP: up to and including 5.4.38; version 5.5.0 only; version 5.5.1 only; version 5.5.2 only; version 5.5.3 only; version 5.5.4 only; …

Published 2015-03-30. Last modified 2026-06-17.