CVE-2017-9229: oniguruma_project oniguruma NULL Pointer Dereference
Vulnerability summary
CVE-2017-9229 is a high (CVSS 7.5) NULL Pointer Dereference vulnerability in oniguruma_project oniguruma. EPSS estimates a 5.13% chance of exploitation in the next 30 days, higher than 92.4% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 5Timeline
- 24-05-2017PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
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->dmax in forward_search_range() could result in an invalid pointer dereference, normally as an immediate denial-of-service condition.
CVSS metrics
6 scores · 4 sources · 3 versions- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
5.13%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
No change 0.00 pp
From 5.13% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundOniguruma
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu3 products
- libonig< 5.9.1-1ubuntu1.1 | < 5.9.6-1ubuntu0.1
- php5< 5.5.9+dfsg-1ubuntu4.22
- php7.0< 7.0.22-0ubuntu0.16.04.1
Alpine2 products
- php5< 5.6.31-r0
- php7< 7.0.21-r0 | < 7.1.9-r0 | < 7.1.7-r0
Debian1 product
- libonig< 6.1.3-2
Oniguruma_project1 product
- onigurumaEOL6.2.0
Php1 product
- php≤ 7.1.5 | ≥ 5.6.0, < 5.6.31 | ≥ 7.0.0, < 7.0.21 | ≥ 7.1.0, < 7.1.7
Ruby-lang1 product
- ruby≤ 2.4.1
6 vendors · 9 products
References
9 links- github.com/kkos/oniguruma/commit/b690371bbf97794b4a1d3f295d4fb9a8b05d402dX Refsource CONFIRMPatchThird Party Advisory