CVE-2017-9224

Source
https://cve.org/CVERecord?id=CVE-2017-9224
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9224.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-9224
Downstream
ALPINE (1)
CLSA (6)
DEBIAN (1)
MGASA (1)
RHSA (1)
SUSE (3)
UBUNTU (1)
Related
Published
2017-05-24T15:29:00Z
Modified
2026-10-22T07:11:00Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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 stack out-of-bounds read occurs in match_at() during regular expression searching. A logical error involving order of validation and access in match_at() could result in an out-of-bounds read from a stack buffer.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "5.6.31"
                        },
                        {
                            "introduced":  "7.0.0"
                        },
                        {
                            "fixed":  "7.0.21"
                        },
                        {
                            "introduced":  "7.1.0"
                        },
                        {
                            "fixed":  "7.1.7"
                        }
                    ],
                    "source":  "CPE_RANGE"
                }
            ],
            "vendor_product":  "php:php"
        }
    ]
}
References

Affected packages

Git / github.com/kkos/oniguruma

Affected ranges

Type
GIT
Repo
https://github.com/kkos/oniguruma
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:oniguruma_project:oniguruma:6.2.0:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "6.2.0"
                },
                {
                    "last_affected":  "6.2.0"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "range":  [
                {
                    "fixed":  "690313a061f7a4fa614ec5cc8368b4f2284e059b"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

6.*
6.2.0
v6.*
v6.2.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9224.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "218275574838915329428894979863676023579",
                "110376745905432703800914764257437607206",
                "320066072742789064155736675079030765698",
                "136023353432955758296444224254897665712",
                "283348006629708797105129985095973840520",
                "263955851575144037512564373773188411580",
                "101836692004798677941713213678481189101",
                "93792859032957038648003350962208405452",
                "276724385951229306965048612161485230063",
                "77619366922882625014828695891397227529",
                "95649270530021035589215734886776241323"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2017-9224-4e7c3a81",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/kkos/oniguruma/commit/690313a061f7a4fa614ec5cc8368b4f2284e059b",
        "target":  {
            "file":  "src/regexec.c"
        }
    }
]
vanir_signatures_modified
"2026-10-22T07:11:00Z"