# CVE-2022-1586: An out-of-bounds read vulnerability was discovered in the PCRE2 library in the compilexclassmatchingpath() function of the pcre2jitcompile.…

- Severity: Critical 9.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.37%, higher than 89% of CVEs (2026-12-02)
- Published: 2022-05-16T00:00:00.000Z
- Modified: 2026-06-17T04:22:44.563Z
- Weaknesses: CWE-125
- 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.

(As written by CVE List.)

## Affected

- pcre2: Fixed in pcre2-10.40.
- pcre pcre2: before 10.40
- fedoraproject fedora: 35; 36
- redhat enterprise_linux: 8.0; 9.0
- netapp active_iq_unified_manager: no versions given
- netapp hci_management_node: no versions given
- netapp ontap_select_deploy_administration_utility: no versions given
- netapp solidfire: no versions given
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h410c_firmware: no versions given
- debian debian_linux: 10.0

## Every score

- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:P`

## References

- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M2GLQQUEY5VFM57CFYXVIFOXN2HUZPDM/> (mailing-list, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2077976%2C> (broken-link, issue-tracking)
- <https://github.com/PCRE2Project/pcre2/commit/50a51cb7e67268e6ad417eb07c9de9bfea5cc55a%2C> (broken-link)
- <https://github.com/PCRE2Project/pcre2/commit/d4fa336fbcc388f89095b184ba6d99422cfc676c> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KAX7767BCUFC7JMDGP7GOQ5GIZCAUGBB/> (mailing-list, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JXINO3KKI5DICQ45E2FKD6MKVMGJLEKJ/> (mailing-list, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DWNG2NS3GINO6LQYUVC4BZLUQPJ3DYHA/> (mailing-list, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20221028-0009/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/03/msg00014.html> (mailing-list)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2077976> (third-party-advisory)
- <https://github.com/PCRE2Project/pcre2/commit/50a51cb7e67268e6ad417eb07c9de9bfea5cc55a> (patch)

## Sources

- CVE List: [CVE-2022-1586](https://www.cve.org/CVERecord?id=CVE-2022-1586), CVE Terms of Use, modified 2025-03-06
- NVD: [CVE-2022-1586](https://nvd.nist.gov/vuln/detail/CVE-2022-1586), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-1586 · Whole record: https://cve.day/CVE-2022-1586.json · Rebuilt by cve.day 2026-11-25T22:58:11.744Z
