Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-9527

The mark_context_stack function in gc.c in mruby through 1.2.0 allows attackers to cause a denial of service (heap-based use-after-free and application crash) or possibly have unspecified other impact via a crafted .rb file.

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

Source evidence

CVE-2017-9527

core-osv · Original source

Published 11 Jun 2017, 17:29 UTC

The mark_context_stack function in gc.c in mruby through 1.2.0 allows attackers to cause a denial of service (heap-based use-after-free and application crash) or possibly have unspecified other impact via a crafted .rb file.

osv:CVE-2017-9527
Complete source record
{
  "id": "a7f39ab34280333aff4290bb9459d43f40984665337f61b845a93d6d381a30f2",
  "url": "https://osv.dev/vulnerability/CVE-2017-9527",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-9527",
    "summary": "The mark_context_stack function in gc.c in mruby through 1.2.0 allows attackers to cause a denial of service (heap-based use-after-free and application crash) or possibly have unspecified other impact via a crafted .rb file.",
    "evidence": "osv:CVE-2017-9527",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-9527",
      "aliases": [
        "CVE-2017-9527"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mruby/mruby",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "22464fe5a0a10f2b077eaba109ce1e912e4a77de"
                },
                {
                  "fixed": "5c114c91d4ff31859fcd84cf8bf349b737b90d99"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mruby:mruby:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5c114c91d4ff31859fcd84cf8bf349b737b90d99"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.2.0",
            "1.1.0",
            "1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9527.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-9527-0b64423d",
                "digest": {
                  "length": 547,
                  "function_hash": "286219651794874583022066205112029788158"
                },
                "source": "https://github.com/mruby/mruby/commit/5c114c91d4ff31859fcd84cf8bf349b737b90d99",
                "target": {
                  "file": "src/gc.c",
                  "function": "mark_context_stack"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-9527-76c1b6a1",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "239328260997774354437319465623085189723",
                    "278749016881778886418842281945883168779",
                    "113515937360586162616117102418961035864",
                    "185062502001950100527544536542242255813",
                    "94831734521497849468177636311830953652",
                    "136229001971788190294863844937971499822",
                    "215219651310723059012235489279416079175",
                    "317851459485684649508170802408184894780",
                    "241504984179936146407905117891020266225",
                    "247869340733954520892314820391799532118",
                    "43035428114706040117447406129172114308",
                    "139392374937586911940466184861622959537",
                    "108587633537507210242609878158511307392",
                    "173878156555487118740790950504304142821",
                    "104076392047553672763771949455293999536"
                  ]
                },
                "source": "https://github.com/mruby/mruby/commit/5c114c91d4ff31859fcd84cf8bf349b737b90d99",
                "target": {
                  "file": "src/gc.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:25:25Z"
          }
        }
      ],
      "modified": "2026-10-20T13:25:25.686646820Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2022/05/msg00006.html",
        "https://github.com/mruby/mruby/commit/5c114c91d4ff31859fcd84cf8bf349b737b90d99",
        "https://github.com/mruby/mruby/issues/3486"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-9527",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387664,
  "published_at": "2017-06-11T17:29:00.16+00:00"
}