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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.35% (73rd 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-2809061
  • published6 May 2022
  • disclosed26 Mar 2022
  • creditUnknown

Introduced: 26 Mar 2022

CVE-2022-1587  (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 get_recurse_data_length in pcre2_jit_compile.c. It affectes recursions in JIT-compiled regular expressions.

CVSS Base Scores

version 3.1