Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-16163

Oniguruma before 6.9.3 allows Stack Exhaustion in regcomp.c because of recursion in regparse.c.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-16163
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:35 UTC · Revision 1

Source evidence

CVE-2019-16163

core-osv · Original source

Published 9 Sept 2019, 17:15 UTC

Oniguruma before 6.9.3 allows Stack Exhaustion in regcomp.c because of recursion in regparse.c.

osv:CVE-2019-16163
Complete source record
{
  "id": "c8e12b00d7a5a3af51c13b8af123c12abf70f84fed5b0b3518daefead91f05d9",
  "url": "https://osv.dev/vulnerability/CVE-2019-16163",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-16163",
    "summary": "Oniguruma before 6.9.3 allows Stack Exhaustion in regcomp.c because of recursion in regparse.c.",
    "evidence": "osv:CVE-2019-16163",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-16163",
      "aliases": [
        "CVE-2019-16163"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/kkos/oniguruma",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "813592905c2d55ff7f70fc92bf775c859d6ed48e"
                },
                {
                  "fixed": "4097828d7cc87589864fecf452f2cd46c5f37180"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:oniguruma_project:oniguruma:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "6.9.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "4097828d7cc87589864fecf452f2cd46c5f37180"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v6.9.2_rc3",
            "v6.9.2",
            "v6.9.2_rc2",
            "v6.9.2_rc1",
            "v6.9.1",
            "v6.9.0",
            "v6.8.2",
            "v6.8.1",
            "v6.8.0",
            "v6.7.1",
            "v6.7.0",
            "v6.6.1",
            "v6.6.0",
            "v6.5.0",
            "v6.4.0",
            "v6.3.0",
            "v6.2.0",
            "v6.1.3",
            "v5.9.6",
            "v6.1.2",
            "v6.1.1",
            "v6.1.0",
            "v6.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-16163.json",
            "vanir_signatures": [
              {
                "id": "CVE-2019-16163-86d066bf",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "83773733581966596482250191695387322099",
                    "253948743243555954681020526515589090570",
                    "54453122623844714737981798310680447964",
                    "69052974475707393895454743329514571701",
                    "43937559343073922495853667109362398329",
                    "294396940348117455125023412336490760560",
                    "125644450960807103806811622442179669997",
                    "95117248718443094578883112649363975969",
                    "149325913195893320588850542248920711865",
                    "94136602293338500756127595133565595811",
                    "62145942553799436534597834056911829402",
                    "163097809115273070675254802152187356158",
                    "133490182317761987383427915924422702546",
                    "269173438651762715530763179731423244953",
                    "252838131286158902064653891793653666137",
                    "187340575856648788820186573299107606421"
                  ]
                },
                "source": "https://github.com/kkos/oniguruma/commit/4097828d7cc87589864fecf452f2cd46c5f37180",
                "target": {
                  "file": "src/regparse.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-16163-9fb885ac",
                "digest": {
                  "length": 7812,
                  "function_hash": "327841194772422318463400507163939334986"
                },
                "source": "https://github.com/kkos/oniguruma/commit/4097828d7cc87589864fecf452f2cd46c5f37180",
                "target": {
                  "file": "src/regparse.c",
                  "function": "parse_exp"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:55:32Z"
          }
        }
      ],
      "modified": "2026-10-20T13:55:32.085384152Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NWOWZZNFSAWM3BUTQNAE3PD44A6JU4KE/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZW47MSFZ6WYOAOFXHBDGU4LYACFRKC2Y/",
        "https://lists.debian.org/debian-lts-announce/2019/09/msg00010.html",
        "https://usn.ubuntu.com/4460-1/",
        "https://github.com/kkos/oniguruma/commit/4097828d7cc87589864fecf452f2cd46c5f37180",
        "https://github.com/kkos/oniguruma/compare/v6.9.2...v6.9.3",
        "https://github.com/kkos/oniguruma/issues/147"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "14.04"
                  },
                  {
                    "last_affected": "14.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "29"
                  },
                  {
                    "last_affected": "29"
                  },
                  {
                    "introduced": "30"
                  },
                  {
                    "last_affected": "30"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-16163",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388382,
  "published_at": "2019-09-09T17:15:13.347+00:00"
}