在 Vyper 0.3.1 版本之前,由于缺少 uint8 类型,导致将接口返回值声明为 uint8 的函数(例如 ERC20.decimals())返回的值,在未经边界检查的情况下被存储到 uint256 变量中。恶意合约可以返回大于 255 的数值,从而操纵或绕过依赖这些值的合约逻辑。
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC| CVE-2021-48018 | 7.4 HIGH | Vyper 0.2.13 before 0.2.15 Storage Corruption via @nonreentrant Decorator |
| CVE-2021-48020 | 6.5 MEDIUM | Vyper before 0.3.0 Memory Corruption via Internal Function Calls in Arrays |
| CVE-2020-37286 | 6.5 MEDIUM | Vyper 0.1.0b4 before 0.3.0 Memory Corruption via Nested Internal Function Calls |
| CVE-2026-114117 | 5.9 MEDIUM | Vyper 0.3.8 through 0.5.0b1 Optimizer Miscompilation of msg.value | K in Ternary Branches |
| CVE-2020-37287 | 5.9 MEDIUM | Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments |
| CVE-2026-114116 | 5.3 MEDIUM | Vyper through 0.5.0b1 Literal Value Manipulation via Line Separators |
| CVE-2026-114114 | 5.3 MEDIUM | Vyper through 0.5.0b1 Literal Value Substitution via Multi-byte Characters |
| CVE-2021-48019 | 4.8 MEDIUM | Vyper before 0.2.9 Incorrect RETURNDATASIZE in create_forwarder_to Proxies |
| CVE-2026-114118 | 4.8 MEDIUM | Vyper 0.3.4 through 0.5.0b1 create_from_blueprint Offset Validation Bypass via Unsigned Wr |
| CVE-2026-114115 | 3.7 LOW | Vyper 0.3.8 through 0.5.0b1 Memory Misread via Ternary Nested Array Selection |
| CVE-2020-37288 | 3.7 LOW | Vyper 0.1.0b10 before 0.2.3 Invalid Jump Destination via Return in Nested Loops |
No comments yet