Vulnerability GHSA-2r3x-4mrv-mcxf
Medium Risk
MEDIUM RISK
CVSS Score: 6.0
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
2 hours ago
October 06, 2026 at 03:22 PM UTC
Vyper: Memory corruption using function calls within tuples / nested calls
0.1.0b1 - 0.2.5
0.1.0b1 - 0.2.5
Summary
Vyper: Memory corruption using function calls within tuples / nested calls
Details
Impact
When performing a function call inside a tuple or as an argument inside another function call, there is a memory corruption issue that occurs because of an incorrect pointer to the the tip of the stack.
Example code:
@internal
def _foo(a: uint256, b: uint256, c: uint256) -> (uint256, uint256, uint256, uint256, uint256):
return 1, a, b, c, 5
@internal
def _foo2() -> uint256:
a: uint256[10] = [6,7,8,9,10,11,12,13,15,16]
return 4
@external
def foo() -> (uint256, uint256, uint256, uint256, uint256):
return self._foo(2, 3, self._foo2())
Please see #2186 for further information
Patches
This problem was fixed in #2186, and released as a part of v0.2.6.
Related Vulnerabilities
Other vulnerabilities affecting the same packages
Medium Risk
2 hours ago
Vyper: Call stack corruption when passing complex type containing non-base type members as argument
0.1.0b1 - 0.2.5 GHSA-4v7v-gqf9-ww2g
0.1.0b1 - 0.2.5 GHSA-4v7v-gqf9-ww2g
Medium Risk
2 hours ago
Vyper: Return inside for loop more than 1 level deep
0.1.0b10 - 0.2.2 GHSA-vg88-3v92-rjx2
0.1.0b10 - 0.2.2 GHSA-vg88-3v92-rjx2
Unknown
3 months ago
Vyper's `slice()` may elide side-effects when output length is 0
0.1.0b1 - 0.4.2rc1 PYSEC-2026-2028
0.1.0b1 - 0.4.2rc1 PYSEC-2026-2028
Unknown
3 months ago
Vyper's `concat()` builtin may elide side-effects for zero-length arguments
0.1.0b1 - 0.4.2rc1 PYSEC-2026-2029
0.1.0b1 - 0.4.2rc1 PYSEC-2026-2029
Low Risk
1 year ago
Vyper's `slice()` may elide side-effects when output length is 0
0.1.0b1 - 0.4.2rc1 GHSA-3vcg-j39x-cwfm
0.1.0b1 - 0.4.2rc1 GHSA-3vcg-j39x-cwfm
Impacted packages
Timeline
Published
2 hours ago
October 06, 2026 at 03:22 PM UTC
Fixed (0.2.6)
5 years ago
October 10, 2020 at 04:42 PM UTC
Last Modified
2 hours ago
October 06, 2026 at 03:30 PM UTC