Security mailing lists by PureSourceCode

CVE-2021-41121

HIGH 8.8CVSS 3.1

Memory corruption when returning a literal struct with a private call inside of it

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.

Published
6 Oct 2021
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-119
Also known as
GHSA-xv8x-pr4h-73jvPYSEC-2021-365
Sources
NVDJSONOSV GHSA-xv8x-pr4h-73jvJSONOSV PYSEC-2021-365JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vyperlang vyper
cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:*:*:*
< 0.3.0 0.3.0
OSV PyPI vyper < 0.3.0 0.3.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 6 Oct 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Oct 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Oct 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.