Alpine: libpcre2-16, multiple pcre2 packages: security update to 10.40-r0

critical Tenable Cloud Security Plugin ID 424333

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- 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. (CVE-2022-1586)

- 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. (CVE-2022-1587)

See Also

https://security.alpinelinux.org/vuln/CVE-2022-1586

https://security.alpinelinux.org/vuln/CVE-2022-1587

Plugin Details

Severity: Critical

ID: 424333

Version: Revision 1.9

Type: Local

Published: 4/4/2025

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: High

Score: 7

Percentile: 98.3

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:P

CVSS Score Source: CVE-2022-1587

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 5/11/2022

Reference Information

CVE: CVE-2022-1586, CVE-2022-1587