Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-19204

An issue was discovered in Oniguruma 6.x before 6.9.4_rc2. In the function fetch_interval_quantifier (formerly known as fetch_range_quantifier) in regparse.c, PFETCH is called without checking PEND. This leads to a heap-based buffer over-read.

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

Source evidence

CVE-2019-19204

core-osv · Original source

Published 21 Nov 2019, 21:15 UTC

An issue was discovered in Oniguruma 6.x before 6.9.4_rc2. In the function fetch_interval_quantifier (formerly known as fetch_range_quantifier) in regparse.c, PFETCH is called without checking PEND. This leads to a heap-based buffer over-read.

osv:CVE-2019-19204
Complete source record
{
  "id": "9fb0c513a8d34a3b911bad49f5aa9785215b20ba9c1280e2b4e3e1c36276d74e",
  "url": "https://osv.dev/vulnerability/CVE-2019-19204",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-19204",
    "summary": "An issue was discovered in Oniguruma 6.x before 6.9.4_rc2. In the function fetch_interval_quantifier (formerly known as fetch_range_quantifier) in regparse.c, PFETCH is called without checking PEND. This leads to a heap-based buffer over-read.",
    "evidence": "osv:CVE-2019-19204",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-19204",
      "aliases": [
        "CVE-2019-19204"
      ],
      "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": "83375e4d3480d6d9f6fcd6c2f99035e9522ceeae"
                },
                {
                  "fixed": "e03900b038a274ee2f1341039e9003875c11e47d"
                },
                {
                  "introduced": "976a9bc4d2d53923223f56d1fcc9333430cb15f6"
                },
                {
                  "last_affected": "976a9bc4d2d53923223f56d1fcc9333430cb15f6"
                },
                {
                  "fixed": "681824e81bb5fc9bbd4dfbe7a07135337129537e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:oniguruma_project:oniguruma:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.0.0"
                      },
                      {
                        "fixed": "6.9.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:oniguruma_project:oniguruma:6.9.4:rc1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.9.4-rc1"
                      },
                      {
                        "last_affected": "6.9.4-rc1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "681824e81bb5fc9bbd4dfbe7a07135337129537e"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v6.9.4_rc2"
                  }
                ]
              }
            }
          ],
          "versions": [
            "6.9.4-rc1",
            "v6.9.4_rc1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-19204.json",
            "vanir_signatures": [
              {
                "id": "CVE-2019-19204-563c27e4",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "18679750778586343771741350755993589288",
                    "103368106136942227172244566078932066273",
                    "257727887412231991059145261695986113402",
                    "99731926145027407046045989165921264745",
                    "173237864390474915165548571384207574271",
                    "290228417168798604629944627181754726158",
                    "215947174697766211659352546659917433609",
                    "174440583955296606380940663435750254051",
                    "250394807291303202205505094138654332177"
                  ]
                },
                "source": "https://github.com/kkos/oniguruma/commit/681824e81bb5fc9bbd4dfbe7a07135337129537e",
                "target": {
                  "file": "harnesses/encode-harness.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-19204-718d8559",
                "digest": {
                  "length": 2816,
                  "function_hash": "267334844810435515714121622196231420596"
                },
                "source": "https://github.com/kkos/oniguruma/commit/681824e81bb5fc9bbd4dfbe7a07135337129537e",
                "target": {
                  "file": "harnesses/encode-harness.c",
                  "function": "LLVMFuzzerTestOneInput"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:46:43Z"
          }
        }
      ],
      "modified": "2026-10-20T13:46:43.563583656Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NO267PLHGYZSWX3XTRPKYBKD4J3YOU5V/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V3MBNW6Z4DOXSCNWGBLQ7OA3OGUJ44WL/",
        "https://usn.ubuntu.com/4460-1/",
        "https://github.com/kkos/oniguruma/releases/tag/v6.9.4_rc2",
        "https://github.com/tarantula-team/CVE-2019-19204",
        "https://lists.debian.org/debian-lts-announce/2019/12/msg00002.html",
        "https://github.com/kkos/oniguruma/issues/162",
        "https://github.com/ManhNDd/CVE-2019-19204"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "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:30:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "30"
                  },
                  {
                    "last_affected": "30"
                  },
                  {
                    "introduced": "31"
                  },
                  {
                    "last_affected": "31"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-19204",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388232,
  "published_at": "2019-11-21T21:15:11.577+00:00"
}