Out-of-bounds Read Affecting pcre package, versions [,8.39)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
1.46% (87th 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-PCRE-2319141
  • published14 Dec 2021
  • disclosed16 Feb 2017
  • creditUnknown

Introduced: 16 Feb 2017

CVE-2017-6004  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade pcre to version 8.39 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. The c;ompile_bracket_matchingpath; function in ;pcre_jit_compile.c; in PCRE through 8.x before revision 1680 (e.g., the PHP 7.1.1 bundled version) allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted regular expression.

References

CVSS Scores

version 3.1