CVE-2022-1586

published 16 May 2022 · updated 6 Mar 2025

An out-of-bounds read vulnerability was discovered in the PCRE2 library in the compile_xclass_matchingpath() function of the pcre2_jit_compile.c file. This involves a unicode property matching issue in JIT-compiled regular expressions. The issue occurs because the character was not fully read in case-less matching within JIT.

9.1CriticalCVSS 9.1EPSS 3%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. No fixed version is recorded.

An out-of-bounds read vulnerability was discovered in the PCRE2 library in the compile_xclass_matchingpath() function of the pcre2_jit_compile.c file. This involves a unicode property matching issue in JIT-compiled regular expressions. The issue occurs because the character was not fully read in case-less matching within JIT.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
=Fixed in pcre2-10.40.

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-1586 severity on Zeptric[![CVE-2022-1586](https://zeptric.io/badge/cve/CVE-2022-1586.svg)](https://zeptric.io/cve/CVE-2022-1586)