CVE-2019-13224

Source
https://cve.org/CVERecord?id=CVE-2019-13224
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-13224.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-13224
Downstream
Related
Published
2019-07-10T14:15:11.607Z
Modified
2026-07-08T20:14:38.373392Z
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

A use-after-free in onignewdeluxe() in regext.c in Oniguruma 6.9.2 allows attackers to potentially cause information disclosure, denial of service, or possibly code execution by providing a crafted regular expression. The attacker provides a pair of a regex pattern and a string, with a multi-byte encoding that gets handled by onignewdeluxe(). Oniguruma issues often affect Ruby, as well as common optional libraries for PHP and Rust.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "12.04"
                },
                {
                    "last_affected": "12.04"
                },
                {
                    "introduced": "14.04"
                },
                {
                    "last_affected": "14.04"
                }
            ],
            "cpes": [
                "cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*"
            ],
            "source": "CPE_STRING",
            "vendor_product": "canonical:ubuntu_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": "debian:debian_linux"
        },
        {
            "extracted_events": [
                {
                    "introduced": "29"
                },
                {
                    "last_affected": "29"
                },
                {
                    "introduced": "30"
                },
                {
                    "last_affected": "30"
                }
            ],
            "cpes": [
                "cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*"
            ],
            "source": "CPE_STRING",
            "vendor_product": "fedoraproject:fedora"
        }
    ]
}
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:6.9.2:-:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "6.9.2-NA"
        },
        {
            "last_affected": "6.9.2-NA"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

6.*
6.9.2-NA
v6.*
v6.9.2
v6.9.2_rc3

Database specific

vanir_signatures_modified
"2026-07-08T20:14:38Z"
vanir_signatures
[
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "144477375847041035196488014531602342496",
                "39487835141121000899975727629951651164",
                "243574904145470851950892010676215846309",
                "261101043450223522914619713906777460104",
                "192845130568107495712244117068883375560",
                "38824287918157113434026198298701563168",
                "44502028448723226475273193052058068900",
                "57330471737783644434537330796049609549",
                "265399586591815778503620908494229098639",
                "17751534671408493758106039438651136950",
                "42363307028960740653651765099861536532"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/kkos/oniguruma/commit/0f7f61ed1b7b697e283e37bd2d731d0bd57adb55",
        "id": "CVE-2019-13224-69a60e05",
        "target": {
            "file": "src/regext.c"
        }
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 884.0,
            "function_hash": "16716532786252836573114105484968648519"
        },
        "signature_version": "v1",
        "source": "https://github.com/kkos/oniguruma/commit/0f7f61ed1b7b697e283e37bd2d731d0bd57adb55",
        "id": "CVE-2019-13224-b47700ae",
        "target": {
            "function": "onig_new_deluxe",
            "file": "src/regext.c"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-13224.json"

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Database specific
{
    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "7.1.0"
        },
        {
            "fixed": "7.1.32"
        },
        {
            "introduced": "7.2.0"
        },
        {
            "fixed": "7.2.23"
        },
        {
            "introduced": "7.3.0"
        },
        {
            "fixed": "7.3.9"
        }
    ],
    "source": "CPE_RANGE"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-13224.json"