CVE-2019-19012

Source
https://cve.org/CVERecord?id=CVE-2019-19012
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-19012.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-19012
Downstream
Related
Published
2019-11-17T18:15:11.440Z
Modified
2026-07-08T20:15:59.372425Z
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 integer overflow in the searchinrange function in regexec.c in Oniguruma 6.x before 6.9.4_rc2 leads to an out-of-bounds read, in which the offset of this read is under the control of an attacker. (This only affects the 32-bit compiled version). Remote attackers can cause a denial-of-service or information disclosure, or possibly have unspecified other impact, via a crafted regular expression.

Database specific
{
    "unresolved_ranges": [
        {
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
                {
                    "introduced": "8.0"
                },
                {
                    "last_affected": "8.0"
                }
            ],
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "source": "CPE_STRING"
        },
        {
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
                {
                    "introduced": "30"
                },
                {
                    "last_affected": "30"
                },
                {
                    "introduced": "31"
                },
                {
                    "last_affected": "31"
                }
            ],
            "cpes": [
                "cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
            ],
            "source": "CPE_STRING"
        },
        {
            "vendor_product": "redhat:enterprise_linux",
            "extracted_events": [
                {
                    "introduced": "8.0"
                },
                {
                    "last_affected": "8.0"
                }
            ],
            "cpes": [
                "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*"
            ],
            "source": "CPE_STRING"
        }
    ]
}
References

Affected packages

Git / github.com/kkos/oniguruma

Affected ranges

Type
GIT
Repo
https://github.com/kkos/oniguruma
Events
Database specific
{
    "cpe": [
        "cpe:2.3:a:oniguruma_project:oniguruma:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:oniguruma_project:oniguruma:6.9.4:rc1:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "6.0.0"
        },
        {
            "last_affected": "6.9.3"
        },
        {
            "introduced": "6.9.4-rc1"
        },
        {
            "last_affected": "6.9.4-rc1"
        }
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

6.*
6.9.4-rc1
v6.*
v6.0.0
v6.1.0
v6.1.1
v6.1.2
v6.1.3
v6.2.0
v6.3.0
v6.4.0
v6.5.0
v6.6.0
v6.6.1
v6.7.0
v6.7.1
v6.8.0
v6.8.1
v6.8.2
v6.9.0
v6.9.1
v6.9.2
v6.9.2_rc1
v6.9.2_rc2
v6.9.2_rc3
v6.9.3
v6.9.4_rc1

Database specific

vanir_signatures
[
    {
        "signature_version": "v1",
        "source": "https://github.com/kkos/oniguruma/commit/681824e81bb5fc9bbd4dfbe7a07135337129537e",
        "deprecated": false,
        "target": {
            "file": "harnesses/encode-harness.c"
        },
        "id": "CVE-2019-19012-563c27e4",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "18679750778586343771741350755993589288",
                "103368106136942227172244566078932066273",
                "257727887412231991059145261695986113402",
                "99731926145027407046045989165921264745",
                "173237864390474915165548571384207574271",
                "290228417168798604629944627181754726158",
                "215947174697766211659352546659917433609",
                "174440583955296606380940663435750254051",
                "250394807291303202205505094138654332177"
            ]
        }
    },
    {
        "signature_version": "v1",
        "source": "https://github.com/kkos/oniguruma/commit/681824e81bb5fc9bbd4dfbe7a07135337129537e",
        "deprecated": false,
        "target": {
            "file": "harnesses/encode-harness.c",
            "function": "LLVMFuzzerTestOneInput"
        },
        "id": "CVE-2019-19012-718d8559",
        "signature_type": "Function",
        "digest": {
            "length": 2816.0,
            "function_hash": "267334844810435515714121622196231420596"
        }
    }
]
vanir_signatures_modified
"2026-07-08T20:15:59Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-19012.json"