{"id":"ALPINE-CVE-2017-9229","details":"An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.5. A SIGSEGV occurs in left_adjust_char_head() during regular expression compilation. Invalid handling of reg-\u003edmax in forward_search_range() could result in an invalid pointer dereference, normally as an immediate denial-of-service condition.","modified":"2026-03-09T01:10:21.662843Z","published":"2017-05-24T15:29:00.417Z","upstream":["CVE-2017-9229"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2017-9229"}],"affected":[{"package":{"name":"php5","ecosystem":"Alpine:v3.4","purl":"pkg:apk/alpine/php5?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.31-r0"}]}],"versions":["5.2.10-r0","5.2.10-r2","5.2.10-r3","5.2.10-r4","5.2.11-r0","5.2.8-r0","5.2.8-r1","5.2.9-r0","5.3.0-r0","5.3.0-r1","5.3.0-r2","5.3.0-r3","5.3.1-r0","5.3.1-r1","5.3.1-r2","5.3.1-r3","5.3.1-r4","5.3.1-r5","5.3.10-r0","5.3.10-r1","5.3.10-r2","5.3.10-r3","5.3.10-r4","5.3.10-r5","5.3.12-r0","5.3.12-r1","5.3.12-r2","5.3.12-r3","5.3.15-r3","5.3.16-r0","5.3.17-r0","5.3.18-r0","5.3.19-r0","5.3.2-r0","5.3.2-r1","5.3.2-r2","5.3.2-r3","5.3.2-r4","5.3.2-r5","5.3.2-r6","5.3.2-r7","5.3.2-r8","5.3.20-r0","5.3.20-r1","5.3.21-r1","5.3.21-r2","5.3.23-r0","5.3.23-r1","5.3.3-r0","5.3.3-r1","5.3.3-r2","5.3.3-r3","5.3.3-r4","5.3.3-r5","5.3.4-r0","5.3.4-r1","5.3.4-r2","5.3.5-r0","5.3.5-r1","5.3.5-r2","5.3.5-r3","5.3.5-r4","5.3.5-r5","5.3.5-r6","5.3.5-r7","5.3.6-r0","5.3.6-r1","5.3.6-r10","5.3.6-r11","5.3.6-r2","5.3.6-r3","5.3.6-r4","5.3.6-r5","5.3.6-r6","5.3.6-r7","5.3.6-r8","5.3.6-r9","5.3.7-r0","5.3.7-r1","5.3.8-r0","5.3.8-r1","5.3.8-r2","5.3.9-r0","5.3.9-r1","5.4.14-r0","5.4.14-r1","5.4.14-r2","5.4.14-r3","5.4.15-r0","5.4.15-r1","5.4.16-r0","5.4.17-r0","5.4.17-r1","5.4.19-r0","5.4.20-r0","5.5.10-r0","5.5.11-r0","5.5.11-r1","5.5.12-r0","5.5.13-r0","5.5.13-r1","5.5.13-r2","5.5.13-r3","5.5.13-r4","5.5.14-r0","5.5.15-r0","5.5.15-r1","5.5.16-r0","5.5.4-r0","5.5.4-r1","5.5.5-r0","5.5.5-r1","5.5.5-r2","5.5.6-r0","5.5.6-r1","5.5.7-r0","5.5.8-r0","5.5.8-r1","5.5.9-r0","5.6.1-r0","5.6.1-r1","5.6.1-r2","5.6.10-r0","5.6.11-r0","5.6.12-r0","5.6.13-r0","5.6.14-r0","5.6.15-r0","5.6.15-r1","5.6.15-r2","5.6.15-r3","5.6.16-r0","5.6.17-r0","5.6.18-r0","5.6.18-r1","5.6.19-r0","5.6.19-r1","5.6.2-r0","5.6.2-r1","5.6.20-r0","5.6.21-r0","5.6.21-r1","5.6.21-r2","5.6.23-r0","5.6.24-r0","5.6.25-r0","5.6.26-r0","5.6.27-r0","5.6.28-r0","5.6.29-r0","5.6.3-r0","5.6.30-r0","5.6.4-r0","5.6.5-r0","5.6.5-r1","5.6.6-r0","5.6.7-r0","5.6.7-r1","5.6.8-r0","5.6.8-r1","5.6.9-r0","5.6.9-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-9229.json"}},{"package":{"name":"php5","ecosystem":"Alpine:v3.5","purl":"pkg:apk/alpine/php5?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.31-r0"}]}],"versions":["5.2.10-r0","5.2.10-r2","5.2.10-r3","5.2.10-r4","5.2.11-r0","5.2.8-r0","5.2.8-r1","5.2.9-r0","5.3.0-r0","5.3.0-r1","5.3.0-r2","5.3.0-r3","5.3.1-r0","5.3.1-r1","5.3.1-r2","5.3.1-r3","5.3.1-r4","5.3.1-r5","5.3.10-r0","5.3.10-r1","5.3.10-r2","5.3.10-r3","5.3.10-r4","5.3.10-r5","5.3.12-r0","5.3.12-r1","5.3.12-r2","5.3.12-r3","5.3.15-r3","5.3.16-r0","5.3.17-r0","5.3.18-r0","5.3.19-r0","5.3.2-r0","5.3.2-r1","5.3.2-r2","5.3.2-r3","5.3.2-r4","5.3.2-r5","5.3.2-r6","5.3.2-r7","5.3.2-r8","5.3.20-r0","5.3.20-r1","5.3.21-r1","5.3.21-r2","5.3.23-r0","5.3.23-r1","5.3.3-r0","5.3.3-r1","5.3.3-r2","5.3.3-r3","5.3.3-r4","5.3.3-r5","5.3.4-r0","5.3.4-r1","5.3.4-r2","5.3.5-r0","5.3.5-r1","5.3.5-r2","5.3.5-r3","5.3.5-r4","5.3.5-r5","5.3.5-r6","5.3.5-r7","5.3.6-r0","5.3.6-r1","5.3.6-r10","5.3.6-r11","5.3.6-r2","5.3.6-r3","5.3.6-r4","5.3.6-r5","5.3.6-r6","5.3.6-r7","5.3.6-r8","5.3.6-r9","5.3.7-r0","5.3.7-r1","5.3.8-r0","5.3.8-r1","5.3.8-r2","5.3.9-r0","5.3.9-r1","5.4.14-r0","5.4.14-r1","5.4.14-r2","5.4.14-r3","5.4.15-r0","5.4.15-r1","5.4.16-r0","5.4.17-r0","5.4.17-r1","5.4.19-r0","5.4.20-r0","5.5.10-r0","5.5.11-r0","5.5.11-r1","5.5.12-r0","5.5.13-r0","5.5.13-r1","5.5.13-r2","5.5.13-r3","5.5.13-r4","5.5.14-r0","5.5.15-r0","5.5.15-r1","5.5.16-r0","5.5.4-r0","5.5.4-r1","5.5.5-r0","5.5.5-r1","5.5.5-r2","5.5.6-r0","5.5.6-r1","5.5.7-r0","5.5.8-r0","5.5.8-r1","5.5.9-r0","5.6.1-r0","5.6.1-r1","5.6.1-r2","5.6.10-r0","5.6.11-r0","5.6.12-r0","5.6.13-r0","5.6.14-r0","5.6.15-r0","5.6.15-r1","5.6.15-r2","5.6.15-r3","5.6.16-r0","5.6.17-r0","5.6.18-r0","5.6.18-r1","5.6.19-r0","5.6.19-r1","5.6.2-r0","5.6.2-r1","5.6.20-r0","5.6.21-r0","5.6.21-r1","5.6.21-r2","5.6.22-r0","5.6.23-r0","5.6.24-r0","5.6.25-r0","5.6.25-r1","5.6.26-r0","5.6.26-r1","5.6.27-r0","5.6.28-r0","5.6.29-r0","5.6.29-r1","5.6.3-r0","5.6.30-r0","5.6.4-r0","5.6.5-r0","5.6.5-r1","5.6.6-r0","5.6.7-r0","5.6.7-r1","5.6.8-r0","5.6.8-r1","5.6.9-r0","5.6.9-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2017-9229.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}