Integer overflow in Php

CVE-2016-6289

Integer overflow in the virtual_file_ex function in TSRM/tsrm_virtual_cwd.c in PHP before 5.5.38, 5.6.x before 5.6.24, and 7.x before 7.0.9 allows remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a crafted extract operation on a ZIP archive.

Vulnerability class: Integer Overflow

EPSS: 0.038 (88.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

  • Php — versions 5.6.0, 5.6.1, 5.6.2
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2016-6289?
CVE-2016-6289 is a high-severity vulnerability in Php, classified under Integer Overflow or Wraparound. CVSS score: 7.8/10. Published 2016-07-25.
How severe is CVE-2016-6289?
High severity. CVSS v3 base score is 7.8 out of 10.
Is CVE-2016-6289 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.