Integer Overflow or Wraparound Affecting php package, versions [,5.6.30)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
8.97% (93rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PHP-2335129
  • published12 Jan 2022
  • disclosed24 Jan 2017
  • creditUnknown

Introduced: 24 Jan 2017

CVE-2016-10159  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade php to version 5.6.30 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. Integer overflow in the phar_parse_pharfile function in ext/phar/phar.c in PHP before 5.6.30 and 7.0.x before 7.0.15 allows remote attackers to cause a denial of service (memory consumption or application crash) via a truncated manifest entry in a PHAR archive.

CVSS Base Scores

version 3.1