VDB

CVE-2022-1586

CVE-2022-1586 PUBLISHED CVSS 9.100000381469727 CRITICAL

Reported by redhat · Published May 16, 2022

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
pcre2conan.io10.40
pcre2-utf16Amazon Linux10.40-1.amzn2023.0.2, 10.23-11.amzn2.0.1
pcre2-staticAmazon Linux10.40-1.amzn2023.0.2, 10.23-11.amzn2.0.1
pcre2Alpine10.40-r0, 10.36-r1
pcre2-utf32Amazon Linux10.40-1.amzn2023.0.2
pcre2-develAmazon Linux10.40-1.amzn2023.0.2
pcre2-syntaxAmazon Linux10.40-1.amzn2023.0.2
pcre2pcre10.40

Risk scores

CVSS 3.1
9.100000381469727
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected products

VendorProductVersions
n/apcre2Fixed in pcre2-10.40.
amazon:2023pcre2-utf160
amazon:2023pcre2-static0
alpinepcre20, 0
amazon:2pcre2-static0
amazon:2023pcre2-utf320
wolfipcre2*
chainguardpcre2*
amazon:2023pcre2-devel0
amazon:2023pcre2-syntax0
amazon:2pcre2-utf160
n/apcre210.40
amazon:2023pcre20
amazon:2pcre2-utf320
amazon:2023pcre2-tools0
ConanCenterpcre20
amazon:2pcre20
amazon:2pcre2-tools0
amazon:2pcre2-devel0

Timeline

  • May 12, 2022 CVE Published
  • May 17, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (57 in total, the first dated here)
  • Jul 11, 2026 Coalition ESS Score
  • Oct 6, 2026 CVE Updated
  • Nov 21, 2026 Distribution Patch (54 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-1586
vulnetix vdb fixes CVE-2022-1586

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-1586/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›