Vyper: Return inside for loop more than 1 level deep
Vyper: Return inside for loop more than 1 level deep. Earlier today, we received a responsible disclosure of a potential issue from @michwill (developer of @curvefi) for Vyper users who use return statements inside for loops of nested internal calls.
Vuln-watch · relayed from the GitHub Advisory Database; see Source & attribution below
Summary
Earlier today, we received a responsible disclosure of a potential issue from @michwill (developer of @curvefi) for Vyper users who use return statements inside for loops of nested internal calls.
Affected
- vyper (pip) >= 0.1.0b10, < 0.2.3 — fixed in 0.2.3
Severity
Medium (CVSS 6.3), as rated by the upstream advisory.
Recommended actions
- Upgrade vyper to 0.2.3 or later
Source & attribution
This 0xCERT advisory summarises GHSA-vg88-3v92-rjx2 from the GitHub Advisory Database, credited upstream to iamdefinitelyahuman: https://github.com/advisories/GHSA-vg88-3v92-rjx2. Details may change; refer to the original source for the authoritative record.
References
- https://github.com/advisories/GHSA-vg88-3v92-rjx2
- https://github.com/vyperlang/vyper/security/advisories/GHSA-vg88-3v92-rjx2
- https://github.com/vyperlang/vyper/pull/2110
- https://github.com/vyperlang/vyper/commit/a1d92e5eb968a34a23850359656aee23334adb90
- https://github.com/vyperlang/vyper/releases/tag/v0.2.3
OpenPGP-signed. The signed text of this advisory verifies against the 0xCERT key CCC7 D9EC 9415 723D.
Published 2026-10-06 · last updated 2026-10-08
curl -s https://www.0xcert.com/pgp.asc | gpg --import && curl -s https://www.0xcert.com/advisory/0xCERT-2026-0185/signed.txt | gpg --verify