CVE-2022-1586 in Debian Linux and 17 more products
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 w...
Affects 18 products from 5 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 10.0 |
| Fedoraproject | Fedora | 35 36 |
| Netapp | H410S (device and firmware) | No version listed by the source |
| Netapp | H700S (device and firmware) | No version listed by the source |
| Netapp | Hci Management Node | No version listed by the source |
| Netapp | Solidfire | No version listed by the source |
| Netapp | Ontap Select Deploy Administration Utility | No version listed by the source |
| Netapp | Active Iq Unified Manager | No version listed by the source |
| Netapp | H410C (device and firmware) | No version listed by the source |
| Netapp | H300S (device and firmware) | No version listed by the source |
| Netapp | H500S (device and firmware) | No version listed by the source |
| Pcre | Pcre2 | < 10.40 |
| Redhat | Enterprise Linux | 8.0 9.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-1586 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-324663-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| Published | 2022-05-16 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-125: Out-of-Bounds Read
Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.
Related attack patterns (CAPEC)
CAPEC-540 Overread Buffers via CWE-125
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
An out-of-bounds read vulnerability exists in the PCRE2 library's JIT-compiled regular expressions, specifically in the compile_xclass_matchingpath() function, which can lead to potential code execution.
The vulnerability arises from improper handling of unicode property matching in JIT-compiled regular expressions, allowing an attacker to exploit it by crafting a specific regular expression that triggers an out-of-bounds read.
Questions
What is CVE-2022-1586?
An out-of-bounds read vulnerability exists in the PCRE2 library's JIT-compiled regular expressions, specifically in the compile_xclass_matchingpath() function, which can lead to potential code execution.
What is the CVSS score for CVE-2022-1586?
CVE-2022-1586 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H. EPSS: 3.0%.
Is CVE-2022-1586 actively exploited?
No confirmed active exploitation of CVE-2022-1586 as of 2026-09-25.
How do I remediate CVE-2022-1586?
Priority: IMMEDIATE. Advisory: https://bugzilla.redhat.com/show_bug.cgi?id=2077976%2C
What systems are affected by CVE-2022-1586?
CVE-2022-1586 affects Debian Debian Linux; Fedoraproject Fedora; Netapp H410S, H700S, Hci Management Node, Solidfire, Ontap Select Deploy Administration Utility, Active Iq Unified Manager, H410C, H300S (plus 3 more products across 2 more vendors).
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.