Skip to content
OpenAdvisories
Unscored CVE-2022-1586 EUVD-2022-24876GHSA-f3pv-9fwh-mp3x

An out-of-bounds read vulnerability was discovered in the PCRE2 library in the compile_xclass_matchingpath() function of the pcre2_jit_comp…

Published May 16, 2022 · Updated Mar 6, 2025 · 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.

Affected products

VendorProductAffectedFixed
— 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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS pcre2 10.31-2ubuntu0.1~esm1 USN-5627-2
Ubuntu Pro 16.04 LTS pcre2 No fix yet —
ReleasePackageFixed inAdvisory
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 ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 pcre2 +4 10.32-3.el8_6 ALSA-2022:5809

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 pcre2 10.37-5.el9_0 RLSA-2022:5251
Rocky Linux 8 pcre2 10.32-3.el8_6 RLSA-2022:5809
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.2 pcre 8.45-150000.20.13.1 openSUSE-SU-2022:2361-1
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
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

References