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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
8.28% (95th 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 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 Scores

version 3.1