Alpine: multiple libpcre16 packages, multiple pcre packages: security update to 8.38-r0 (deprecated)

critical Tenable Self-Hosted Container Security Plugin ID 400978

Description

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

- The pcre_compile2 function in pcre_compile.c in PCRE 8.38 mishandles the /((?:F?+(?:^(?(R)a+\"){99}-
))(?J)(?'R'(?'R'<((?'RR'(?'R'\){97)?J)?J)(?'R'(?'R'\){99|(:(?|(?'R')(\k'R')|((?'R')))H'R'R)(H'R))))))/
pattern and related patterns with named subgroups, which allows remote attackers to cause a denial of
service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular
expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror. (CVE-2016-1283)

- The compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before
10.22 mishandles patterns containing an (*ACCEPT) substring in conjunction with nested parentheses, which
allows remote attackers to execute arbitrary code or cause a denial of service (stack-based buffer
overflow) via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by
Konqueror, aka ZDI-CAN-3542. (CVE-2016-3191)

See Also

https://git.alpinelinux.org/aports/commit/?id=1cabd618771bbdcfb71da232ac9b9d5719e62ec3

https://git.alpinelinux.org/aports/commit/?id=508386ac2f53a5b5efa71e5020ad0ad1933576b9

Plugin Details

Severity: Critical

ID: 400978

Version: Revision 1.23

Type: Local

Published: 8/16/2023

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2016-3191

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/9/2016

Vulnerability Publication Date: 1/2/2016

Reference Information

CVE: CVE-2016-1283, CVE-2016-3191

BID: 79825, 84810