CVE-2022-1586
publishedpcre2: Out-of-bounds read in compile_xclass_matchingpath in pcre2_jit_compile.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | pcre2Fixed in pcre2-10.40. | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1871 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-045 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | pcre2 | Advisory build | 10.32-3.el8_6 | ALSA-2022:5809 |
| Alpine Linux | edge | pcre2 | Fixed | 10.40-r0 | Package fix record |
| Debian | buster | pcre2 | Advisory build | 10.32-5+deb10u1 | DLA-3363-1 |
| Oracle Linux | 8 | pcre2aarch64 | Advisory build | 0:10.32-3.el8_6 | ELSA-2022-5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2aarch64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | bionic | pcre2 | Advisory build | 10.31-2ubuntu0.1~esm1 | USN-5627-2 |
| Alpine Linux | v3.13 | pcre2 | Fixed | 10.36-r1 | Package fix record |
| Alpine Linux | v3.14 | pcre2 | Fixed | 10.36-r1 | Package fix record |
| Alpine Linux | v3.15 | pcre2 | Fixed | 10.40-r0 | Package fix record |
| Alpine Linux | v3.16 | pcre2 | Fixed | 10.40-r0 | Package fix record |
| Alpine Linux | v3.17 | pcre2 | Fixed | 10.40-r0 | Package fix record |
| Alpine Linux | v3.18 | pcre2 | Fixed | 10.40-r0 | Package fix record |
| Alpine Linux | v3.19 | pcre2 | Fixed | 10.40-r0 | Package fix record |
| Alpine Linux | v3.20 | pcre2 | Fixed | 10.40-r0 | Package fix record |
| Alpine Linux | v3.21 | pcre2 | Fixed | 10.40-r0 | Package fix record |
| Alpine Linux | v3.22 | pcre2 | Fixed | 10.40-r0 | Package fix record |
| Alpine Linux | v3.23 | pcre2 | Fixed | 10.40-r0 | Package fix record |
| Alpine Linux | v3.24 | pcre2 | Fixed | 10.40-r0 | Package fix record |
| Oracle Linux | 8 | pcre2x86_64 | Advisory build | 0:10.32-3.el8_6 | ELSA-2022-5809 |
| Oracle Linux | 9 | pcre2aarch64 | Advisory build | 0:10.37-5.el9_0 | ELSA-2022-5251 |
| Oracle Linux | 9 | pcre2x86_64 | Advisory build | 0:10.37-5.el9_0 | ELSA-2022-5251 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2i686 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2ppc64le | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2s390x | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2src | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2x86_64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-9 | pcre2aarch64 | Advisory build | 10.37-5.el9_0 | RHSA-2022:5251 |
| Red Hat Enterprise Linux | RHEL-9 | pcre2i686 | Advisory build | 10.37-5.el9_0 | RHSA-2022:5251 |
| Red Hat Enterprise Linux | RHEL-9 | pcre2ppc64le | Advisory build | 10.37-5.el9_0 | RHSA-2022:5251 |
| Red Hat Enterprise Linux | RHEL-9 | pcre2s390x | Advisory build | 10.37-5.el9_0 | RHSA-2022:5251 |
| Red Hat Enterprise Linux | RHEL-9 | pcre2src | Advisory build | 10.37-5.el9_0 | RHSA-2022:5251 |
| Red Hat Enterprise Linux | RHEL-9 | pcre2x86_64 | Advisory build | 10.37-5.el9_0 | RHSA-2022:5251 |
| Ubuntu | focal | pcre2 | Advisory build | 10.34-7ubuntu0.1 | USN-5627-1 |
| Ubuntu | jammy | pcre2 | Advisory build | 10.39-3ubuntu0.1 | USN-5627-1 |
| AlmaLinux | 8 | pcre2-devel | Advisory build | 10.32-3.el8_6 | ALSA-2022:5809 |
| AlmaLinux | 8 | pcre2-tools | Advisory build | 10.32-3.el8_6 | ALSA-2022:5809 |
| AlmaLinux | 8 | pcre2-utf16 | Advisory build | 10.32-3.el8_6 | ALSA-2022:5809 |
| AlmaLinux | 8 | pcre2-utf32 | Advisory build | 10.32-3.el8_6 | ALSA-2022:5809 |
| Oracle Linux | 8 | pcre2-develaarch64 | Advisory build | 0:10.32-3.el8_6 | ELSA-2022-5809 |
| Oracle Linux | 8 | pcre2-develx86_64 | Advisory build | 0:10.32-3.el8_6 | ELSA-2022-5809 |
| Oracle Linux | 8 | pcre2-toolsaarch64 | Advisory build | 0:10.32-3.el8_6 | ELSA-2022-5809 |
| Oracle Linux | 8 | pcre2-toolsx86_64 | Advisory build | 0:10.32-3.el8_6 | ELSA-2022-5809 |
| Oracle Linux | 8 | pcre2-utf16aarch64 | Advisory build | 0:10.32-3.el8_6 | ELSA-2022-5809 |
| Oracle Linux | 8 | pcre2-utf16x86_64 | Advisory build | 0:10.32-3.el8_6 | ELSA-2022-5809 |
| Oracle Linux | 8 | pcre2-utf32aarch64 | Advisory build | 0:10.32-3.el8_6 | ELSA-2022-5809 |
| Oracle Linux | 8 | pcre2-utf32x86_64 | Advisory build | 0:10.32-3.el8_6 | ELSA-2022-5809 |
| Oracle Linux | 9 | pcre2-develaarch64 | Advisory build | 0:10.37-5.el9_0 | ELSA-2022-5251 |
| Oracle Linux | 9 | pcre2-develx86_64 | Advisory build | 0:10.37-5.el9_0 | ELSA-2022-5251 |
| Oracle Linux | 9 | pcre2-syntaxaarch64 | Advisory build | 0:10.37-5.el9_0 | ELSA-2022-5251 |
| Oracle Linux | 9 | pcre2-syntaxx86_64 | Advisory build | 0:10.37-5.el9_0 | ELSA-2022-5251 |
| Oracle Linux | 9 | pcre2-utf16aarch64 | Advisory build | 0:10.37-5.el9_0 | ELSA-2022-5251 |
| Oracle Linux | 9 | pcre2-utf16x86_64 | Advisory build | 0:10.37-5.el9_0 | ELSA-2022-5251 |
| Oracle Linux | 9 | pcre2-utf32aarch64 | Advisory build | 0:10.37-5.el9_0 | ELSA-2022-5251 |
| Oracle Linux | 9 | pcre2-utf32x86_64 | Advisory build | 0:10.37-5.el9_0 | ELSA-2022-5251 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-debuginfoaarch64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-debuginfoi686 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-debuginfoppc64le | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-debuginfos390x | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-debuginfox86_64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-debugsourceaarch64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-debugsourcei686 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-debugsourceppc64le | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-debugsources390x | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-debugsourcex86_64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-develaarch64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-develi686 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-develppc64le | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-devels390x | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-develx86_64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-toolsaarch64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-toolsppc64le | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-toolss390x | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-toolsx86_64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-tools-debuginfoaarch64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-tools-debuginfoi686 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-tools-debuginfoppc64le | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-tools-debuginfos390x | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-tools-debuginfox86_64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf16aarch64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf16i686 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf16ppc64le | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf16s390x | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf16x86_64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf16-debuginfoaarch64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf16-debuginfoi686 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf16-debuginfoppc64le | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf16-debuginfos390x | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf16-debuginfox86_64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf32aarch64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf32i686 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf32ppc64le | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf32s390x | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf32x86_64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf32-debuginfoaarch64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf32-debuginfoi686 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf32-debuginfoppc64le | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf32-debuginfos390x | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-8 | pcre2-utf32-debuginfox86_64 | Advisory build | 10.32-3.el8_6 | RHSA-2022:5809 |
| Red Hat Enterprise Linux | RHEL-9 | pcre2-debuginfoaarch64 | Advisory build | 10.37-5.el9_0 | RHSA-2022:5251 |
| Red Hat Enterprise Linux | RHEL-9 | pcre2-debuginfoi686 | Advisory build | 10.37-5.el9_0 | RHSA-2022:5251 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | pcre2 | Fixed in pcre2-10.40. (affected) | redhat · cna |
Weaknesses
1- CWE-125 CWE-125 - Out-of-bounds Read
References
11- https://bugzilla.redhat.com/show_bug.cgi?id=2077976
- https://bugzilla.redhat.com/show_bug.cgi?id=2077976%2C
- https://github.com/PCRE2Project/pcre2/commit/50a51cb7e67268e6ad417eb07c9de9bfea5cc55a
- https://github.com/PCRE2Project/pcre2/commit/50a51cb7e67268e6ad417eb07c9de9bfea5cc55a%2C
- https://github.com/PCRE2Project/pcre2/commit/d4fa336fbcc388f89095b184ba6d99422cfc676c
- [debian-lts-announce] 20230316 [SECURITY] [DLA 3363-1] pcre2 security update https://lists.debian.org/debian-lts-announce/2023/03/msg00014.html
- FEDORA-2022-9c9691d058 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DWNG2NS3GINO6LQYUVC4BZLUQPJ3DYHA/
- FEDORA-2022-19f4c34184 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JXINO3KKI5DICQ45E2FKD6MKVMGJLEKJ/
- FEDORA-2022-a3edad0ab6 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KAX7767BCUFC7JMDGP7GOQ5GIZCAUGBB/
- FEDORA-2022-e56085ba31 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M2GLQQUEY5VFM57CFYXVIFOXN2HUZPDM/
- https://security.netapp.com/advisory/ntap-20221028-0009/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 60c573c11c6fc8d279ed980620ca9240e3c85bc2031f5580b4d0f366fecc14d0
- Ingested
- 23 Sep 2026, 07:57:48 UTC
- Source record
- Official CVE record