CVEvulnerability

CVE-2016-3191

9.8 CRITICAL Published 2016-03-17 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2016-03-17
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
9.8 CRITICAL — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-119

Description

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.

Affected configurations

• pcre pcre 8.00 • pcre pcre 8.01 • pcre pcre 8.02 • pcre pcre 8.10 • pcre pcre 8.11 • pcre pcre 8.12 • pcre pcre 8.13 • pcre pcre 8.20 • pcre pcre 8.21 • pcre pcre 8.30 • pcre pcre 8.31 • pcre pcre 8.32 • pcre pcre 8.33 • pcre pcre 8.34 • pcre pcre 8.35 • pcre pcre 8.36 • pcre pcre 8.37 • pcre pcre 8.38 • pcre pcre2 (<= 10.21)

Related

Weakness · CWE (1)

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness

References