Skip to content
Heist/ feed
Back to feed
High

Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments

Type: advisorySources: Official CVE List

Vyper before 0.2.6 contains a call stack corruption vulnerability that causes incorrect function outputs when complex types with non-base members are passed as arguments. Contracts passing multi-dimensional arrays or structs to internal or external functions receive corrupted values because the compiler assumed each subtype size is 32.

Products
vyper
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-37287
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 14:53 UTC · Revision 2

Source evidence

Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments

core-cve · Original source

Published 21 Oct 2026, 00:36 UTC

Vyper before 0.2.6 contains a call stack corruption vulnerability that causes incorrect function outputs when complex types with non-base members are passed as arguments. Contracts passing multi-dimensional arrays or structs to internal or external functions receive corrupted values because the compiler assumed each subtype size is 32.

cve:CVE-2020-37287

vyper

Fixed versions: Not specified

Complete source record
{
  "id": "09bb11c0f9b80f29bfedca252d53f58df2445bda02f95a44adf0f6cbda6d2ada",
  "url": "https://www.cve.org/CVERecord?id=CVE-2020-37287",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments",
    "summary": "Vyper before 0.2.6 contains a call stack corruption vulnerability that causes incorrect function outputs when complex types with non-base members are passed as arguments. Contracts passing multi-dimensional arrays or structs to internal or external functions receive corrupted values because the compiler assumed each subtype size is 32.",
    "evidence": "cve:CVE-2020-37287",
    "products": [
      {
        "name": {
          "value": "vyper",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-37287",
      "aliases": [
        "CVE-2020-37287"
      ],
      "metrics": [
        {
          "format": "CVSS",
          "cvssV4_0": {
            "Safety": "NOT_DEFINED",
            "version": "4.0",
            "Recovery": "NOT_DEFINED",
            "baseScore": 8.2,
            "Automatable": "NOT_DEFINED",
            "attackVector": "NETWORK",
            "baseSeverity": "HIGH",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
            "exploitMaturity": "NOT_DEFINED",
            "providerUrgency": "NOT_DEFINED",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "privilegesRequired": "NONE",
            "subIntegrityImpact": "NONE",
            "vulnIntegrityImpact": "HIGH",
            "subAvailabilityImpact": "NONE",
            "vulnAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          }
        },
        {
          "format": "CVSS",
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 5.9,
            "attackVector": "NETWORK",
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
            "integrityImpact": "HIGH",
            "userInteraction": "NONE",
            "attackComplexity": "HIGH",
            "availabilityImpact": "NONE",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "NONE"
          }
        }
      ],
      "affected": [
        {
          "vendor": "vyperlang",
          "product": "vyper",
          "versions": [
            {
              "status": "affected",
              "version": "0",
              "lessThan": "0.2.6",
              "versionType": "python"
            },
            {
              "status": "unaffected",
              "version": "0.2.6",
              "versionType": "python"
            }
          ],
          "packageURL": "pkg:pypi/vyper",
          "defaultStatus": "unaffected"
        }
      ],
      "modified": "2026-10-28T15:00:19.800Z",
      "provider": "cve",
      "references": [
        "https://github.com/vyperlang/vyper/security/advisories/GHSA-4v7v-gqf9-ww2g",
        "https://www.vulncheck.com/advisories/vyper-before-0.2.6-call-stack-corruption-via-complex-type-function-arguments"
      ],
      "provider_metadata": {
        "adp": [
          {
            "title": "CISA ADP Vulnrichment",
            "metrics": [
              {
                "other": {
                  "type": "ssvc",
                  "content": {
                    "id": "CVE-2020-37287",
                    "role": "CISA Coordinator",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "version": "2.0.3",
                    "timestamp": "2026-10-28T14:59:53.649860Z"
                  }
                }
              }
            ],
            "providerMetadata": {
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP",
              "dateUpdated": "2026-10-28T15:00:19.800Z"
            }
          }
        ],
        "cna": {
          "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
          "shortName": "VulnCheck",
          "dateUpdated": "2026-10-21T00:36:16.257Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-37287",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/containers/cna/metrics"
  },
  "source_id": "core-cve",
  "document_id": 454316,
  "published_at": "2026-10-21T00:36:16.257+00:00"
}