Skip to content
OpenAdvisories
Unscored CVE-2022-1587 EUVD-2022-24877GHSA-jmvm-hj36-w5hc

An out-of-bounds read vulnerability was discovered in the PCRE2 library in the get_recurse_data_length() function of the pcre2_jit_compile.…

Published May 16, 2022 · Updated Aug 3, 2024 · 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.

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

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 pcre2 10.37-5.el9_0 RLSA-2022:5251
ReleasePackageFixed inAdvisory
SLES 15 SP4 pcre2 10.39-150400.4.6.1 SUSE-SU-2022:2566-1
SLES 15 SP3 pcre2 10.31-150000.3.12.1 SUSE-SU-2022:2649-1
SLES 15 SP2 pcre2 10.31-150000.3.12.1 SUSE-SU-2022:2649-1
SLES 15 SP1 pcre2 10.31-150000.3.12.1 SUSE-SU-2022:2649-1
SLES 15 pcre2 10.31-150000.3.12.1 SUSE-SU-2022:2649-1
Show 21 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 pcre2 10.34-1.10.1 SUSE-SU-2022:2565-1
SLES 12 SP4 pcre2 10.34-1.10.1 SUSE-SU-2022:2565-1
SLES 12 SP3 pcre2 10.34-1.10.1 SUSE-SU-2022:2565-1
SLES 12 SP2 pcre2 10.34-1.10.1 SUSE-SU-2022:2565-1
SLES for SAP 15 SP2 pcre2 10.31-150000.3.12.1 SUSE-SU-2022:2649-1
SLES for SAP 15 SP1 pcre2 10.31-150000.3.12.1 SUSE-SU-2022:2649-1
SLES for SAP 15 pcre2 10.31-150000.3.12.1 SUSE-SU-2022:2649-1
SLES for SAP 12 SP5 pcre2 10.34-1.10.1 SUSE-SU-2022:2565-1
SLES for SAP 12 SP4 pcre2 10.34-1.10.1 SUSE-SU-2022:2565-1
SLE Micro 5.2 pcre2 10.31-150000.3.12.1 SUSE-SU-2022:2649-1
SLE Micro 5.1 pcre2 10.31-150000.3.12.1 SUSE-SU-2022:2649-1
SLE HPC 15 SP2 pcre2 10.31-150000.3.12.1 SUSE-SU-2022:2649-1
SLE HPC 15 SP1 pcre2 10.31-150000.3.12.1 SUSE-SU-2022:2649-1
SLE HPC 15 pcre2 10.31-150000.3.12.1 SUSE-SU-2022:2649-1
SUSE OpenStack Cloud Crowbar 9 pcre2 10.34-1.10.1 SUSE-SU-2022:2565-1
SUSE OpenStack Cloud 9 pcre2 10.34-1.10.1 SUSE-SU-2022:2565-1
SUSE Manager Server 4.1 pcre2 10.31-150000.3.12.1 SUSE-SU-2022:2649-1
SUSE Manager Retail Branch Server 4.1 pcre2 10.31-150000.3.12.1 SUSE-SU-2022:2649-1
SUSE Manager Proxy 4.1 pcre2 10.31-150000.3.12.1 SUSE-SU-2022:2649-1
SUSE Enterprise Storage 7 pcre2 10.31-150000.3.12.1 SUSE-SU-2022:2649-1
SUSE Enterprise Storage 6 pcre2 10.31-150000.3.12.1 SUSE-SU-2022:2649-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.4 pcre2 10.39-150400.4.6.1 SUSE-SU-2022:2566-1
openSUSE Leap 15.3 pcre2 10.31-150000.3.12.1 SUSE-SU-2022:2649-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.2 pcre2 10.31-150000.3.12.1 openSUSE-SU-2022:2649-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

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 pcre2 +4 10.37-5.el9_0 ELSA-2022-5251

Advisories 15

References