CVE-2022-1587: Critical severity pcre2 vulnerability
An out-of-bounds read vulnerability was discovered in the PCRE2 library in the getrecursedatalength() function of the pcre2jitcompile.c file. This issue affects recursions in JIT-compiled regular expressions caused by duplicate data transfers.
Other sources
An out-of-bounds read was discovered in PCRE version 10.39, affecting recursions in JIT-compiled regular expressions. The bug is present in the function "getrecursedatalength", declared in "pcre2jitcompile.c".
References:
https://github.com/PCRE2Project/pcre2/commit/03654e751e7f0700693526b67dfcadda6b42c9d0
— Red Hat
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2022-1587?
CVE-2022-1587 is an out-of-bounds read vulnerability in the PCRE2 library.
What is the severity of CVE-2022-1587?
CVE-2022-1587 has a severity score of 9.1 (critical).
Which software is affected by CVE-2022-1587?
The PCRE2 library with versions up to 10.40, Redhat Enterprise Linux 9.0, Fedora 35, and Fedora 36 are affected by CVE-2022-1587.
How does CVE-2022-1587 affect the software?
CVE-2022-1587 causes out-of-bounds read vulnerabilities in JIT-compiled regular expressions due to duplicate data transfers.
How can I fix CVE-2022-1587?
To fix CVE-2022-1587, update the affected software to a version that includes the patch provided by PCRE2.