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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.08% (38th 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-2319147
  • published14 Dec 2021
  • disclosed14 Jan 2020
  • creditUnknown

Introduced: 14 Jan 2020

CVE-2015-2326  (opens in a new tab)
CWE-125  (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 pcre_compile2 function in PCRE before 8.37 allows context-dependent attackers to compile incorrect code and cause a denial of service (out-of-bounds read) via regular expression with a group containing both a forward referencing subroutine call and a recursive back reference, as demonstrated by "((?+1)(\1))/".

References

CVSS Scores

version 3.1