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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | pcre2 | Fixed in pcre2-10.40. | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pcre2 | 10.40-1 | — |
| Debian 13 | pcre2 | 10.40-1 | — |
| Debian 12 | pcre2 | 10.40-1 | — |
| Debian 10 | pcre2 | 10.32-5+deb10u1 | DLA-3363-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | pcre2 | 10.39-3ubuntu0.1 | USN-5627-1 |
| Ubuntu 20.04 LTS | pcre2 | 10.34-7ubuntu0.1 | USN-5627-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | pcre2 | 10.31-2ubuntu0.1~esm1 | USN-5627-2 |
| Ubuntu Pro 16.04 LTS | pcre2 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | pcre2 +4 | 10.37-5.el9_0 | RHSA-2022:5251 |
| RHEL 8 | pcre2 +4 | 10.32-3.el8_6 | RHSA-2022:5809 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | pcre2 +4 | 10.32-3.el8_6 | ALSA-2022:5809 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | pcre2 | 10.37-5.el9_0 | RLSA-2022:5251 |
| Rocky Linux 8 | pcre2 | 10.32-3.el8_6 | RLSA-2022:5809 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| SLES 15 SP4 | pcre2 | 10.39-150400.4.3.1 | SUSE-SU-2022:2360-1 |
| SLES 15 SP3 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| SLES 15 SP3 | pcre2 | 10.31-150000.3.7.1 | SUSE-SU-2022:1883-1 |
| SLES 15 SP2 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| SLES 15 SP2 | pcre2 | 10.31-150000.3.7.1 | SUSE-SU-2022:1883-1 |
| SLES 15 SP1 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| SLES 15 SP1 | pcre2 | 10.31-150000.3.7.1 | SUSE-SU-2022:1883-1 |
| SLES 15 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| SLES 15 | pcre2 | 10.31-150000.3.7.1 | SUSE-SU-2022:1883-1 |
Show 25 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | pcre | 8.45-8.12.1 | SUSE-SU-2022:2334-1 |
| SLES 12 SP5 | pcre2 | 10.34-1.7.1 | SUSE-SU-2022:1836-1 |
| SLES 12 SP4 | pcre | 8.45-8.12.1 | SUSE-SU-2022:2334-1 |
| SLES 12 SP4 | pcre2 | 10.34-1.7.1 | SUSE-SU-2022:1836-1 |
| SLES 12 SP3 | pcre | 8.45-8.12.1 | SUSE-SU-2022:2334-1 |
| SLES 12 SP3 | pcre2 | 10.34-1.7.1 | SUSE-SU-2022:1836-1 |
| SLES 12 SP2 | pcre | 8.45-8.12.1 | SUSE-SU-2022:2334-1 |
| SLES 12 SP2 | pcre2 | 10.34-1.7.1 | SUSE-SU-2022:1836-1 |
| SLES for SAP 15 SP2 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| SLES for SAP 15 SP2 | pcre2 | 10.31-150000.3.7.1 | SUSE-SU-2022:1883-1 |
| SLES for SAP 15 SP1 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| SLES for SAP 15 SP1 | pcre2 | 10.31-150000.3.7.1 | SUSE-SU-2022:1883-1 |
| SLES for SAP 15 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| SLES for SAP 15 | pcre2 | 10.31-150000.3.7.1 | SUSE-SU-2022:1883-1 |
| SLES for SAP 12 SP5 | pcre | 8.45-8.12.1 | SUSE-SU-2022:2334-1 |
| SLES for SAP 12 SP5 | pcre2 | 10.34-1.7.1 | SUSE-SU-2022:1836-1 |
| SLES for SAP 12 SP4 | pcre | 8.45-8.12.1 | SUSE-SU-2022:2334-1 |
| SLES for SAP 12 SP4 | pcre2 | 10.34-1.7.1 | SUSE-SU-2022:1836-1 |
| SLES for SAP 12 SP3 | pcre | 8.45-8.12.1 | SUSE-SU-2022:2334-1 |
| SLES for SAP 12 SP3 | pcre2 | 10.34-1.7.1 | SUSE-SU-2022:1836-1 |
| SLE Micro 5.2 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| SLE Micro 5.2 | pcre2 | 10.31-150000.3.7.1 | SUSE-SU-2022:1883-1 |
| SLE Micro 5.1 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| SLE Micro 5.1 | pcre2 | 10.31-150000.3.7.1 | SUSE-SU-2022:1883-1 |
| SLE HPC 15 SP2 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| SLE HPC 15 SP2 | pcre2 | 10.31-150000.3.7.1 | SUSE-SU-2022:1883-1 |
| SLE HPC 15 SP1 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| SLE HPC 15 SP1 | pcre2 | 10.31-150000.3.7.1 | SUSE-SU-2022:1883-1 |
| SLE HPC 15 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| SLE HPC 15 | pcre2 | 10.31-150000.3.7.1 | SUSE-SU-2022:1883-1 |
| SUSE OpenStack Cloud Crowbar 9 | pcre | 8.45-8.12.1 | SUSE-SU-2022:2334-1 |
| SUSE OpenStack Cloud Crowbar 9 | pcre2 | 10.34-1.7.1 | SUSE-SU-2022:1836-1 |
| SUSE OpenStack Cloud Crowbar 8 | pcre | 8.45-8.12.1 | SUSE-SU-2022:2334-1 |
| SUSE OpenStack Cloud Crowbar 8 | pcre2 | 10.34-1.7.1 | SUSE-SU-2022:1836-1 |
| SUSE OpenStack Cloud 9 | pcre | 8.45-8.12.1 | SUSE-SU-2022:2334-1 |
| SUSE OpenStack Cloud 9 | pcre2 | 10.34-1.7.1 | SUSE-SU-2022:1836-1 |
| SUSE OpenStack Cloud 8 | pcre | 8.45-8.12.1 | SUSE-SU-2022:2334-1 |
| SUSE OpenStack Cloud 8 | pcre2 | 10.34-1.7.1 | SUSE-SU-2022:1836-1 |
| SUSE Manager Server 4.1 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| SUSE Manager Server 4.1 | pcre2 | 10.31-150000.3.7.1 | SUSE-SU-2022:1883-1 |
| SUSE Manager Retail Branch Server 4.1 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| SUSE Manager Retail Branch Server 4.1 | pcre2 | 10.31-150000.3.7.1 | SUSE-SU-2022:1883-1 |
| SUSE Manager Proxy 4.1 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| SUSE Manager Proxy 4.1 | pcre2 | 10.31-150000.3.7.1 | SUSE-SU-2022:1883-1 |
| SUSE HPE Helion OpenStack 8 | pcre | 8.45-8.12.1 | SUSE-SU-2022:2334-1 |
| SUSE HPE Helion OpenStack 8 | pcre2 | 10.34-1.7.1 | SUSE-SU-2022:1836-1 |
| SUSE Enterprise Storage 7 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| SUSE Enterprise Storage 7 | pcre2 | 10.31-150000.3.7.1 | SUSE-SU-2022:1883-1 |
| SUSE Enterprise Storage 6 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| SUSE Enterprise Storage 6 | pcre2 | 10.31-150000.3.7.1 | SUSE-SU-2022:1883-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.4 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| openSUSE Leap 15.4 | pcre2 | 10.31-150000.3.7.1 | SUSE-SU-2022:2360-1, SUSE-RU-2022:1883-1 |
| openSUSE Leap 15.3 | pcre | 8.45-150000.20.13.1 | SUSE-SU-2022:2361-1 |
| openSUSE Leap 15.3 | pcre2 | 10.31-150000.3.7.1 | SUSE-SU-2022:1883-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.2 | pcre | 8.45-150000.20.13.1 | openSUSE-SU-2022:2361-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | pcre2 | 10.40-r0 | — |
| Alpine v3.23 | pcre2 | 10.40-r0 | — |
| Alpine v3.22 | pcre2 | 10.40-r0 | — |
| Alpine v3.21 | pcre2 | 10.40-r0 | — |
| Alpine v3.20 | pcre2 | 10.40-r0 | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | pcre2 | 10.40-r0 | — |
| Alpine v3.18 | pcre2 | 10.40-r0 | — |
| Alpine v3.17 | pcre2 | 10.40-r0 | — |
| Alpine v3.16 | pcre2 | 10.40-r0 | — |
| Alpine v3.15 | pcre2 | 10.40-r0 | — |
| Alpine v3.14 | pcre2 | 10.36-r1 | — |
| Alpine v3.13 | pcre2 | 10.36-r1 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | pcre2 +6 | 10.40-1.amzn2023.0.2 | ALAS2023-2023-045 |
| Amazon Linux 2 | pcre2 +5 | 10.23-11.amzn2.0.1 | ALAS2-2022-1871 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | pcre2 +4 | 10.37-5.el9_0 | ELSA-2022-5251 |
| Oracle Linux 8 | pcre2 +4 | 10.32-3.el8_6 | ELSA-2022-5809 |
Advisories 23
- ALSA-2022:5809 Moderate: pcre2 security update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2022-0523 PCRE2: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Oct 6, 2026
- WID-SEC-2024-0794 Dell ECS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- RHSA-2022:5251 Red Hat Security Advisory: pcre2 security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2022:5809 Red Hat Security Advisory: pcre2 security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-5627-1 pcre2 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- USN-5627-2 pcre2 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-3363-1 pcre2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2022:5809 Moderate: pcre2 security update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2022:5251 Moderate: pcre2 security update Rocky Linux Security Advisories · Feb 5, 2026
- openSUSE-SU-2022:2361-1 Security update for pcre SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1836-1 Security update for pcre2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2360-1 Security update for pcre2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2334-1 Security update for pcre SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2361-1 Security update for pcre SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1883-1 Security update for pcre2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-RU-2022:1883-1 Recommended update for pcre2 SUSE / openSUSE Security Updates · Feb 4, 2026
- FSA-202302 Festo: Several vulnerabilities in FactoryViews CERT@VDE · Feb 2, 2026
- WID-SEC-2023-1542 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- ALAS2023-2023-045 Moderate: pcre2 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 22, 2023
- ALAS2-2022-1871 Moderate: pcre2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Nov 8, 2022
- ELSA-2022-5809 Moderate: pcre2 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Aug 2, 2022
- ELSA-2022-5251 Moderate: pcre2 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jun 30, 2022
References
- FEDORA-2022-e56085ba31 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2077976%2C
- https://github.com/PCRE2Project/pcre2/commit/50a51cb7e67268e6ad417eb07c9de9bfea5cc55a%2C
- https://github.com/PCRE2Project/pcre2/commit/d4fa336fbcc388f89095b184ba6d99422cfc676c
- FEDORA-2022-a3edad0ab6 vendor-advisory
- FEDORA-2022-19f4c34184 vendor-advisory
- FEDORA-2022-9c9691d058 vendor-advisory
- https://security.netapp.com/advisory/ntap-20221028-0009/
- [debian-lts-announce] 20230316 [SECURITY] [DLA 3363-1] pcre2 security update mailing-list