PCRE2 Regular Expression pcre2_jit_compile.c compile_xclass_matchingpath out-of-bounds
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.1 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.2VulDB 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: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Out-of-boundsCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 236559
Nessus Name: Alibaba Cloud Linux 3 : 0149: pcre2 (ALINUX3-SA-2022:0149)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 50a51cb7e67268e6ad417eb07c9de9bfea5cc55a
Timeline
05/05/2022 🔍05/17/2022 🔍
05/17/2022 🔍
04/07/2026 🔍
Sources
Advisory: 50a51cb7e67268e6ad417eb07c9de9bfea5cc55aStatus: Confirmed
CVE: CVE-2022-1586 (🔍)
GCVE (CVE): GCVE-0-2022-1586
GCVE (VulDB): GCVE-100-199996
EUVD: 🔍
Entry
Created: 05/17/2022 07:32Updated: 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.
No comments yet. Languages: en.
Please log in to comment.