oniguruma: Invalid pointer dereference in left_adjust_char_head()
Published May 24, 2017
7.5
HIGHCVSS 3.1
EPSS 5.13%
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.
Affected products
No data.
No data.
Red Hat Hardened Images
oniguruma-main-6.9.10-4.1.hum1
Fixed · RHSA-2026:7545
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-php70-php-0:7.0.27-1.el6
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-php70-php-0:7.0.27-1.el6
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
CloudForms Management Engine 5
rh-ruby22-ruby
Under investigation
CloudForms Management Engine 5
ruby-200-ruby
Under investigation
Red Hat Enterprise Linux 5
php
Will not fix
Red Hat Enterprise Linux 5
php53
Will not fix
Red Hat Enterprise Linux 5
ruby
Will not fix
Red Hat Enterprise Linux 6
oniguruma
Will not fix
Red Hat Enterprise Linux 6
php
Will not fix
Red Hat Enterprise Linux 6
ruby
Will not fix
Red Hat Enterprise Linux 7
php
Will not fix
Red Hat Enterprise Linux 7
ruby
Will not fix
Red Hat Software Collections
rh-php56-php
Will not fix
Red Hat Software Collections
rh-ruby22-ruby
Will not fix
Red Hat Software Collections
rh-ruby23-ruby
Will not fix
Red Hat Software Collections
rh-ruby24-ruby
Will not fix
Red Hat Subscription Asset Manager
ruby193-ruby
Under investigation
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Hardened Images | oniguruma-main-6.9.10-4.1.hum1 | Fixed | RHSA-2026:7545 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-php70-php-0:7.0.27-1.el6 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-php70-php-0:7.0.27-1.el6 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| CloudForms Management Engine 5 | rh-ruby22-ruby | Under investigation | n/a |
| CloudForms Management Engine 5 | ruby-200-ruby | Under investigation | n/a |
| Red Hat Enterprise Linux 5 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | php53 | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | ruby | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | oniguruma | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | ruby | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | ruby | Will not fix | n/a |
| Red Hat Software Collections | rh-php56-php | Will not fix | n/a |
| Red Hat Software Collections | rh-ruby22-ruby | Will not fix | n/a |
| Red Hat Software Collections | rh-ruby23-ruby | Will not fix | n/a |
| Red Hat Software Collections | rh-ruby24-ruby | Will not fix | n/a |
| Red Hat Subscription Asset Manager | ruby193-ruby | Under investigation | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 5.13% (0.05129) | 92.13th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.13% (0.05129) | 91.28th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.38% (0.00384) | 56.76th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.33% (0.02330) | 74.70th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.26% (0.00256) | 65.81th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.26% (0.00256) | 64.46th | v3 (v2023.03.01) |
| May 8, 2023 | 0.26% (0.00256) | 61.88th | v3 (v2023.03.01) |
| Mar 9, 2023 | 0.19% (0.00186) | 54.22th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.27% (0.00265) | 62.29th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00954) | 36.37th | v2 (v2022.01.01) |
| Sep 2, 2022 | 0.95% (0.00954) | 34.50th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.95% (0.00954) | 32.50th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00954) | 16.28th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.83% (0.00833) | 24.58th | v1 |
| Jan 6, 2022 | 0.83% (0.00833) | 23.96th | v1 |
| Sep 1, 2021 | 0.83% (0.00833) | 57.50th | v1 |
| Apr 14, 2021 | 0.83% (0.00833) | 0.00th | v1 |
References (7)
- https://access.redhat.com/errata/RHSA-2018:1296 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2017-9229 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1466746 Issue Tracking
- https://github.com/kkos/oniguruma/commit/b690371bbf97794b4a1d3f295d4fb9a8b05d402d x_refsource_CONFIRMPatchThird Party Advisory
- https://github.com/kkos/oniguruma/issues/59 x_refsource_CONFIRMExploitThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-9229
- https://www.cve.org/CVERecord?id=CVE-2017-9229
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2018:1296 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2017-9229 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1466746 | Issue Tracking | |
| https://github.com/kkos/oniguruma/commit/b690371bbf97794b4a1d3f295d4fb9a8b05d402d | x_refsource_CONFIRMPatchThird Party Advisory | |
| https://github.com/kkos/oniguruma/issues/59 | x_refsource_CONFIRMExploitThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-9229 | ||
| https://www.cve.org/CVERecord?id=CVE-2017-9229 |
Change history (0)
No recorded changes yet.