Skip to content
Heist/ feed
High

Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2020-37287

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2020-37287

vyper

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "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"
  }
]
Related CVEs
CVE-2020-37287

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#44926 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement