Loading advisory.
Loading advisory.
Vyper's `_abi_decode` input not validated in complex expressions
_abi_decode() does not validate input when it is nested in an expression. the following example gets correctly validated (bounds checked): x: int128 = _abi_decode(slice(msg.data, 4, 32), int128)
Published 2023-09-26 18:47 UTC · Modified 2024-11-19 17:33 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| vyper | PyPI | >= 0.3.4, < 0.3.10 versions 0.3.10rc1, 0.3.10rc2, 0.3.10rc3, 0.3.10rc4, 0.3.10rc5, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9 | 0.3.10 | pip install --upgrade 'vyper>=0.3.10' |
_abi_decode() does not validate input when it is nested in an expression. the following example gets correctly validated (bounds checked):
x: int128 = _abi_decode(slice(msg.data, 4, 32), int128)however, the following example is not bounds checked
@external
def abi_decode(x: uint256) -> uint256:
a: uint256 = convert(_abi_decode(slice(msg.data, 4, 32), (uint8)), uint256) + 1
return a # abi_decode(256) returns: 257the issue can be triggered by constructing an example where the output of _abi_decode is not internally passed to make_setter (an internal codegen routine) or other input validating routine.
https://github.com/vyperlang/vyper/pull/3626
Is there a way for users to fix or remediate the vulnerability without upgrading?
Are there any links users can visit to find out more?
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.007 on 2026-11-24 to 0.007 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.007 | first score | v2026.06.15 |
| 2026-11-26 | 0.007 | 0.007 | v2026.06.15 |