{"id":"CVE-2021-48020","aliases":[],"cve":{"records":[{"id":"CVE-2021-48020","source":"VulnCheck","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-10-20T21:52:06.584Z","published":"2026-10-21T00:36:19.625Z","modified":"2026-10-28T15:11:17.839Z"}],"publishers":[{"name":"VulnCheck","role":"CNA","organizationId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","modified":"2026-10-21T00:36:19.625Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-10-28T15:11:17.839Z"}],"references":[{"url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-22wc-c9wj-6q2v","tags":["vendor-advisory"],"source":"VulnCheck"},{"url":"https://www.vulncheck.com/advisories/vyper-before-0.3.0-memory-corruption-via-internal-function-calls-in-arrays","tags":["third-party-advisory"],"source":"VulnCheck"}],"weaknesses":[{"id":"CWE-787","description":"Out-of-bounds Write","source":"VulnCheck"}],"applicability":[{"source":"VulnCheck","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:*:*:*","versionStartIncluding":"0.1.0b4","versionEndExcluding":"0.3.0"}]}]}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-10-28T15:05:10.406638Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"Vyper before 0.3.0 Memory Corruption via Internal Function Calls in Arrays","titleSource":"VulnCheck","descriptionSource":"VulnCheck","description":"Vyper from 0.1.0b4 before 0.3.0 contains a memory corruption vulnerability caused by an incorrect stack tip pointer when internal function calls are performed inside arrays. Contracts placing internal calls in nested array elements, external call arguments, struct literals, or raw_log topics can have memory corrupted, producing incorrect contract behavior.","score":8.3,"severity":"high","published":"2026-10-21T00:36:19.625Z","modified":"2026-10-28T15:11:17.839Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"vyperlang","name":"vyper","platforms":[],"versions":[{"version":"0.1.0b4","status":"affected","lessThan":"0.3.0","versionType":"python"},{"version":"0.3.0","status":"unaffected","versionType":"python"}],"defaultStatus":"unaffected","packageURL":"pkg:pypi/vyper","packageIdentity":{"ecosystem":"PyPI","name":"vyper"},"cpes":[],"source":"VulnCheck","url":"https://www.cve.org/CVERecord?id=CVE-2021-48020"}],"remediation":[],"references":["https://github.com/vyperlang/vyper/security/advisories/GHSA-22wc-c9wj-6q2v","https://www.vulncheck.com/advisories/vyper-before-0.3.0-memory-corruption-via-internal-function-calls-in-arrays"],"sources":[{"name":"CVE","id":"CVE-2021-48020","modified":"2026-10-28T15:11:17.839Z","url":"https://www.cve.org/CVERecord?id=CVE-2021-48020"}],"assessments":[{"source":"VulnCheck","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","score":8.3},{"source":"VulnCheck","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L","score":6.5}],"sourceAffected":[],"observedAt":"2026-10-29T14:05:07.399Z","kev":{"status":"not-listed","checkedAt":"2026-10-31T14:00:31.626Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":{"text":"Vyper before 0.3.0 has a memory corruption vulnerability due to incorrect stack tip pointer handling in internal function calls within arrays. This can cause incorrect contract behavior. Affected versions range from 0.1.0b4 to before 0.3.0.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-30T08:38:04.188Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2021-48020"}]}}