ALPINE-CVE-2016-3191

Source
https://security.alpinelinux.org/vuln/CVE-2016-3191
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2016-3191.json
JSON Data
https://api.test.osv.dev/v1/vulns/ALPINE-CVE-2016-3191
Upstream
Published
2016-03-17T23:59:01Z
Modified
2025-09-25T23:51:04.392591Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The compilebranch function in pcrecompile.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.

References

Affected packages

Alpine:v3.4 / pcre

Package

Name
pcre
Purl
pkg:apk/alpine/pcre?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.38-r1

Affected versions

7.*

7.8-r0
7.8-r1
7.9-r0

8.*

8.00-r0
8.01-r0
8.02-r0
8.02-r1
8.10-r0
8.10-r1
8.10-r2
8.10-r3
8.11-r0
8.11-r1
8.12-r0
8.12-r1
8.13-r0
8.20-r0
8.21-r0
8.30-r0
8.31-r0
8.32-r0
8.32-r1
8.33-r1
8.34-r0
8.35-r0
8.36-r0
8.36-r1
8.37-r0
8.37-r1
8.37-r2
8.38-r0