Vulnerabilities · 2021 · Vyperlang
CVE-2021-41121
Vyperlang Vyper vulnerability
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.
Affected products
Vyper. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Vyperlang Vyper runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/vyperlang/vyper/pull/2447 · Patch
- github.com/vyperlang/vyper/security/advisories/GHSA-xv8x-pr4h-73jv · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-41121
- github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2021-365.yaml
- github.com/advisories/GHSA-xv8x-pr4h-73jv
- nvd.nist.gov/vuln/detail/CVE-2021-41121
- cve.org/CVERecord?id=CVE-2021-41121
More vulnerabilities in Vyperlang products
CVE-2025-27105CVE-2025-27104CVE-2025-26622CVE-2025-21607CVE-2024-32649CVE-2024-32648CVE-2024-32647CVE-2024-32646All 38
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.