Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-1586

published

pcre2: Out-of-bounds read in compile_xclass_matchingpath in pcre2_jit_compile.c

Title from Red Hat VEX

Published
16 May 2022, 00:00:00 UTC
Updated
06 Mar 2025, 08:18:54 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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 / vendorReleasePackage / productPublisher statusFixed buildSource
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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

51

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.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a pcre2 Fixed in pcre2-10.40. (affected) redhat · cna

Weaknesses

1
  • CWE-125 CWE-125 - Out-of-bounds Read (redhat · cna)

References

11

Provider assertions

2

redhat · 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

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected