{"id":"CVE-2020-37287","published":"2026-10-21T00:36:16Z","modified":"2026-10-28T15:00:19Z","title":"Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments","vendor":"vyperlang","product":"vyper","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00251,"percentile":0.16917,"provenance":"source"},"cwes":[{"id":"CWE-131","name":"Incorrect Calculation of Buffer Size"}],"references":[{"url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-4v7v-gqf9-ww2g","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/vyper-before-0.2.6-call-stack-corruption-via-complex-type-function-arguments","tags":["third-party-advisory"]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":3.38},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"vyperlang","affectedVersions":[{"vendor":"vyperlang","product":"vyper","versions":["< 0.2.6"]}],"fixedVersions":[{"vendor":"vyperlang","product":"vyper","versions":["0.2.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-28T14:59:53.649860Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2020-31283","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vyperlang-vyper-cve-2020-37286","children":[{"from":"CVE-2020-37287","to":"CVE-2021-48020","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["vyper/parser/parser_utils.py"],"commits":["https://github.com/vyperlang/vyper/commit/0be02b7331e8febe79d5a4218829c72e30417a29","https://github.com/vyperlang/vyper/commit/11b7b5b7e59bc9dc859d51cd41a924b59fe47c9e"],"basis":"rarely changed file"}]}]}}