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


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.59% (76th 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 Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PCRE-2319163
  • published14 Dec 2021
  • disclosed14 Jan 2020
  • creditUnknown

Introduced: 14 Jan 2020

CVE-2015-2325  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade pcre to version 8.37 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. The compile_branch function in PCRE before 8.37 allows context-dependent attackers to compile incorrect code, cause a denial of service (out-of-bounds heap read and crash), or possibly have other unspecified impact via a regular expression with a group containing a forward reference repeated a large number of times within a repeated outer group that has a zero minimum quantifier.

References

CVSS Base Scores

version 3.1