# CVE-2022-1587: An out-of-bounds read vulnerability was discovered in the PCRE2 library in the getrecursedatalength() function of the pcre2jitcompile.c fil…

- 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): 2.77%, higher than 86% of CVEs (2026-12-02)
- Published: 2022-05-16T00:00:00.000Z
- Modified: 2026-06-17T04:22:44.690Z
- Weaknesses: CWE-125
- Assigned by: redhat

## Description

An out-of-bounds read vulnerability was discovered in the PCRE2 library in the get_recurse_data_length() function of the pcre2_jit_compile.c file. This issue affects recursions in JIT-compiled regular expressions caused by duplicate data transfers.

(As written by CVE List.)

## Affected

- pcre2: Fixed in pcre2-10.40.
- pcre pcre2: before 10.40
- redhat enterprise_linux: 9.0
- fedoraproject fedora: 35; 36
- 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

## 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/> (vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2077983%2C>
- <https://github.com/PCRE2Project/pcre2/commit/03654e751e7f0700693526b67dfcadda6b42c9d0> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KAX7767BCUFC7JMDGP7GOQ5GIZCAUGBB/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JXINO3KKI5DICQ45E2FKD6MKVMGJLEKJ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DWNG2NS3GINO6LQYUVC4BZLUQPJ3DYHA/> (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)

## Sources

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

---

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