{"cve":"CVE-2021-41121","nvd":{"published":"2021-10-06T18:15:10.897","modified":"2026-06-17T04:07:54.867","status":"Modified","description":"Vyper is a Pythonic Smart Contract Language for the EVM. In affected versions when performing a function call inside a literal struct, there is a memory corruption issue that occurs because of an incorrect pointer to the the top of the stack. This issue has been resolved in version 0.3.0.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-119"],"references":["https://github.com/vyperlang/vyper/pull/2447","https://github.com/vyperlang/vyper/security/advisories/GHSA-xv8x-pr4h-73jv","https://github.com/vyperlang/vyper/pull/2447","https://github.com/vyperlang/vyper/security/advisories/GHSA-xv8x-pr4h-73jv"],"products":["vyperlang:vyper"],"source":"nvd","synced_at":"2026-10-19T21:23:41.316049955+00:00"},"epss":{"cve":"CVE-2021-41121","score":0.01074,"percentile":0.64956,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-xv8x-pr4h-73jv","url":"https://osv.dev/vulnerability/GHSA-xv8x-pr4h-73jv","summary":"Memory corruption when returning a literal struct with a private call inside of it","modified":"2026-07-08T06:28:53.475803621Z","packages":[{"ecosystem":"PyPI","name":"vyper","purl":"pkg:pypi/vyper","ranges":["<0.3.0"],"fixed":["0.3.0"]}]},{"id":"PYSEC-2021-365","url":"https://osv.dev/vulnerability/PYSEC-2021-365","summary":"","modified":"2023-11-08T04:06:51.855161Z","packages":[{"ecosystem":"PyPI","name":"vyper","purl":"pkg:pypi/vyper","ranges":["<0.3.0"],"fixed":["0.3.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}