PCRE2 Regular Expression pcre2_jit_compile.c compile_xclass_matchingpath out-of-bounds

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.1$0-$5k0.00

Summaryinfo

A vulnerability was found in PCRE2. It has been declared as problematic. Impacted is the function compile_xclass_matchingpath of the file pcre2_jit_compile.c of the component Regular Expression Handler. Executing a manipulation can lead to out-of-bounds. This vulnerability is handled as CVE-2022-1586. The attack can be executed remotely. There is not any exploit available. It is advisable to implement a patch to correct this issue.

Detailsinfo

A vulnerability was found in PCRE2 (Programming Tool Software) (version now known). It has been declared as problematic. This vulnerability affects the function compile_xclass_matchingpath of the file pcre2_jit_compile.c of the component Regular Expression Handler. The manipulation with an unknown input leads to a out-of-bounds vulnerability. The CWE definition for the vulnerability is CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. As an impact it is known to affect confidentiality.

The weakness was released 05/17/2022. The advisory is shared for download at bugzilla.redhat.com. This vulnerability was named CVE-2022-1586 since 05/05/2022. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 236559 (Alibaba Cloud Linux 3 : 0149: pcre2 (ALINUX3-SA-2022:0149)), which helps to determine the existence of the flaw in a target environment.

Applying the patch 50a51cb7e67268e6ad417eb07c9de9bfea5cc55a is able to eliminate this problem. The bugfix is ready for download at github.com.

The vulnerability is also documented in the databases at Tenable (236559) and EUVD (EUVD-2022-24876). Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Name

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.2
VulDB Meta Temp Score: 7.1

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.1
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Out-of-bounds
CWE: CWE-125 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 236559
Nessus Name: Alibaba Cloud Linux 3 : 0149: pcre2 (ALINUX3-SA-2022:0149)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 50a51cb7e67268e6ad417eb07c9de9bfea5cc55a

Timelineinfo

05/05/2022 🔍
05/17/2022 +12 days 🔍
05/17/2022 +0 days 🔍
04/07/2026 +1420 days 🔍

Sourcesinfo

Advisory: 50a51cb7e67268e6ad417eb07c9de9bfea5cc55a
Status: Confirmed

CVE: CVE-2022-1586 (🔍)
GCVE (CVE): GCVE-0-2022-1586
GCVE (VulDB): GCVE-100-199996
EUVD: 🔍

Entryinfo

Created: 05/17/2022 07:32
Updated: 04/07/2026 01:44
Changes: 05/17/2022 07:32 (41), 05/18/2022 14:42 (2), 05/18/2022 14:44 (1), 02/11/2025 23:45 (33), 05/21/2025 21:20 (2), 04/07/2026 01:44 (1)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!