Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

vulnerability

Red Hat: CVE-2022-1586: Out-of-bounds read in compile_xclass_matchingpath in pcre2_jit_compile.c (Multiple Advisories)

Severity
6
CVSS
(AV:N/AC:L/Au:N/C:P/I:N/A:P)
Published
May 16, 2022
Added
Jul 5, 2022
Modified
Jun 17, 2026

Description

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.

Solutions

redhat-upgrade-pcre2redhat-upgrade-pcre2-debuginforedhat-upgrade-pcre2-debugsourceredhat-upgrade-pcre2-develredhat-upgrade-pcre2-syntaxredhat-upgrade-pcre2-toolsredhat-upgrade-pcre2-tools-debuginforedhat-upgrade-pcre2-utf16redhat-upgrade-pcre2-utf16-debuginforedhat-upgrade-pcre2-utf32redhat-upgrade-pcre2-utf32-debuginfo
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.