{"id":"ALPINE-CVE-2016-3191","details":"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.","modified":"2026-03-09T00:57:19.294605Z","published":"2016-03-17T23:59:01.447Z","upstream":["CVE-2016-3191"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2016-3191"}],"affected":[{"package":{"name":"pcre","ecosystem":"Alpine:v3.4","purl":"pkg:apk/alpine/pcre?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.38-r1"}]}],"versions":["7.8-r0","7.8-r1","7.9-r0","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"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2016-3191.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}