cve.bz

CVE-2022-1586 Out-of-bounds Read

9.1 criticalEPSS 3.4%Fix available

Critical (9.1). EPSS 3.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS
3.4% (unchanged from 3.4% a week ago; 3.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-1586 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-1586?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-1586?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-1586 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
pcre:pcre2before 10.40
fedoraproject:fedora35
fedoraproject:fedora36
redhat:enterprise_linux8.0
redhat:enterprise_linux9.0
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10pcre210.32-5+deb10u1DLA-3363-1
Debian12, 13, 14pcre210.40-1DEBIAN-CVE-2022-1586
Ubuntu20.04:LTSpcre210.34-7ubuntu0.1UBUNTU-CVE-2022-1586 USN-5627-1
Ubuntu22.04:LTSpcre210.39-3ubuntu0.1UBUNTU-CVE-2022-1586 USN-5627-1
UbuntuPro:16.04:LTSpcre2no fix listedUBUNTU-CVE-2022-1586
UbuntuPro:18.04:LTSpcre210.31-2ubuntu0.1~esm1UBUNTU-CVE-2022-1586 USN-5627-2
Red Hatenterprise_linux:8::baseospcre2, pcre2-devel, pcre2-utf16 and 6 more0:10.32-3.el8_6RHSA-2022:5809
Red Hatenterprise_linux:8::crbpcre2-tools, pcre2-debuginfo, pcre2-debugsource and 3 more0:10.32-3.el8_6RHSA-2022:5809
Red Hatenterprise_linux:9::appstreampcre2-devel, pcre2-utf16, pcre2-utf32 and 5 more0:10.37-5.el9_0RHSA-2022:5251
Red Hatenterprise_linux:9::baseospcre2, pcre2-syntax, pcre2-debuginfo and 4 more0:10.37-5.el9_0RHSA-2022:5251
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 20 morepcre8.45-150000.20.13.1SUSE-SU-2022:2361-1
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 19 morepcre210.31-150000.3.7.1SUSE-SU-2022:1883-1
SUSEHPE Helion OpenStack 8, Linux Enterprise High Availability Extension 12 SP3, Linux Enterprise High Availability Extension 12 SP4 and 15 morepcre8.45-8.12.1SUSE-SU-2022:2334-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 morepcre210.34-1.7.1SUSE-SU-2022:1836-1
SUSELinux Enterprise Module for Basesystem 15 SP4pcre210.39-150400.4.3.1SUSE-SU-2022:2360-1
openSUSELeap 15.3pcre210.31-150000.3.7.1SUSE-SU-2022:1883-1
openSUSELeap 15.3, Leap 15.4pcre8.45-150000.20.13.1SUSE-SU-2022:2361-1
openSUSELeap 15.4pcre210.31-150000.3.7.1SUSE-RU-2022:1883-1
openSUSELeap 15.4pcre210.39-150400.4.3.1SUSE-SU-2022:2360-1
openSUSELeap Micro 5.2pcre8.45-150000.20.13.1openSUSE-SU-2022:2361-1
AlmaLinux8pcre2, pcre2-devel, pcre2-tools and 2 more10.32-3.el8_6ALSA-2022:5809
Rocky Linux8pcre20:10.32-3.el8_6RLSA-2022:5809
Rocky Linux9pcre20:10.37-5.el9_0RLSA-2022:5251
Alpinev3.13, v3.14pcre210.36-r1ALPINE-CVE-2022-1586
Alpinev3.15, v3.16, v3.17 and 7 morepcre210.40-r0ALPINE-CVE-2022-1586

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8pcre2-0:10.32-3.el8_6Fixed 2022-08-03RHSA-2022:5809
Red Hat Enterprise Linux 9pcre2-0:10.37-5.el9_0Fixed 2022-07-01RHSA-2022:5251
Red Hat Enterprise Linux 7pcre2Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-1586.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON