Back
CVE-2022-1586
An out-of-bounds read vulnerability was discovered in the PCRE2 library in the compile_xclass_matchingpath() function of the…
Critical9.1EPSS 3.4%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Critical9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 3.4% · top 11% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.1.
Weakness
Affected products
pcre2
- affected Fixed in pcre2-10.40.
References (11)
- FEDORA-2022-e56085ba31 (opens in a new tab)vendor-advisoryx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=2077976%2C (opens in a new tab)x_transferred
- https://github.com/PCRE2Project/pcre2/commit/50a51cb7e67268e6ad417eb07c9de9bfea5cc55a%2C (opens in a new tab)x_transferred
- https://github.com/PCRE2Project/pcre2/commit/d4fa336fbcc388f89095b184ba6d99422cfc676c (opens in a new tab)x_transferred
- FEDORA-2022-a3edad0ab6 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-19f4c34184 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-9c9691d058 (opens in a new tab)vendor-advisoryx_transferred
- https://security.netapp.com/advisory/ntap-20221028-0009/ (opens in a new tab)x_transferred
- [debian-lts-announce] 20230316 [SECURITY] [DLA 3363-1] pcre2 security update (opens in a new tab)mailing-listx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=2077976 (opens in a new tab)
- https://github.com/PCRE2Project/pcre2/commit/50a51cb7e67268e6ad417eb07c9de9bfea5cc55a (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-1586)Record last updated .