Out-of-bounds Read Affecting pcre2 package, versions <0:10.32-3.el8_6


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
3.37% (89th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-PCRE2-5625072
  • published28 May 2023
  • disclosed3 Aug 2022

Introduced: 3 Aug 2022

CVE-2022-1586  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 pcre2 to version 0:10.32-3.el8_6 or higher.
This issue was patched in ALSA-2022:5809.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pcre2 package and not the pcre2 package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

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.

References

CVSS Base Scores

version 3.1