Out-of-bounds Read Affecting PCRE2Project/pcre2 package, versions [,10.40)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (56th 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-PCRE2PROJECTPCRE2-2809062
  • published6 May 2022
  • disclosed23 Mar 2022
  • creditUnknown

Introduced: 23 Mar 2022

CVE-2022-1586  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade PCRE2Project/pcre2 to version 10.40 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read in compile_xclass_matchingpath function. It is related to a missing Unicode property matching issue in JIT compiled regular expressions.

CVSS Base Scores

version 3.1