8.2high

CVE-2016-3142

The phar_parse_zipfile function in zip.c in the PHAR extension in PHP before 5.5.33 and 5.6.x before 5.6.19 allows remote attackers to obta…

Published 10 y ago · modified 4 mo ago · JSON

CVSS
8.2
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
5.0%
percentile 92%
Public exploits
0
none known

Summary

The phar_parse_zipfile function in zip.c in the PHAR extension in PHP before 5.5.33 and 5.6.x before 5.6.19 allows remote attackers to obtain sensitive information from process memory or cause a denial of service (out-of-bounds read and application crash) by placing a PK\x05\x06 signature at an invalid location.

Exploit prediction (EPSS)

5.04% probability of exploitation in the next 30 days, higher than 92% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.08.2CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
NVD2.06.4AV:N/AC:L/Au:N/C:P/I:N/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Technology feeds
PHP (RSS, critical only)

References

  • ubuntu.com /usn/USN-2952-1 · vendor-advisory, x_refsource_UBUNTU, x_transferred
  • support.apple.com /HT206567 · x_refsource_CONFIRM, x_transferred
  • lists.opensuse.org /opensuse-security-announce/2016-04/msg00058.html · vendor-advisory, x_refsource_SUSE, x_transferred
  • rhn.redhat.com /errata/RHSA-2016-2750.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • lists.opensuse.org /opensuse-security-announce/2016-04/msg00056.html · vendor-advisory, x_refsource_SUSE, x_transferred
  • ubuntu.com /usn/USN-2952-2 · vendor-advisory, x_refsource_UBUNTU, x_transferred
  • lists.apple.com /archives/security-announce/2016/May/msg00004.html · vendor-advisory, x_refsource_APPLE, x_transferred
  • securitytracker.com /id/1035255 · vdb-entry, x_refsource_SECTRACK, x_transferred
  • php.net /ChangeLog-5.php · x_refsource_CONFIRM, x_transferred
  • lists.opensuse.org /opensuse-security-announce/2016-04/msg00057.html · vendor-advisory, x_refsource_SUSE, x_transferred
  • lists.opensuse.org /opensuse-security-announce/2016-04/msg00052.html · vendor-advisory, x_refsource_SUSE, x_transferred
  • git.php.net /?p=php-src.git%3Ba=commit%3Bh=a6fdc5bb27b20d889de0cd29318b3968aabb57bd · x_refsource_CONFIRM, x_transferred
  • bugs.php.net /bug.php?id=71498 · x_refsource_CONFIRM, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.