Back
CVE-2022-1586An out-of-bounds read vulnerability was discovered in the PCRE2 library in the compile_xclass_matchingpath() function of the…
- 9.1CriticalCVSS base score
- 3.4%Exploitation in 30 daysEPSS · top 11% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 11 days later
· 11 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
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 (13 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.
Affected products
pcre2
- affected Fixed in pcre2-10.40.
References
References11
- 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)
- EUVD EUVD-2022-24876 (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://cveledger.app/cve/CVE-2022-1586)Record last updated .