Incorrect RETURNDATASIZE in Vyper create_forwarder_to proxies
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Vyper before 0.2.9 deploys forwarder proxies through the built-in create_forwarder_to function, and these proxies report a fixed 4096-byte RETURNDATASIZE instead of the actual return data size. Calls through these proxies can yield corrupted data when a function returns more than 4096 bytes without return data sanitation, and they fail strict return-size checks such as SafeERC20.safeTransfer. The flaw is CWE-805, and an unauthenticated remote attacker can trigger it with low complexity, causing integrity and availability impact.
Written with Claude Haiku 5.5 from the sources below · 2026-11-02
Description from the CNA
Vyper before 0.2.9 deploys forwarder proxies through the built-in create_forwarder_to function that report a fixed 4096-byte RETURNDATASIZE rather than the actual return data size. Calls through these proxies can yield corrupted data when a function returns more than 4096 bytes without return data sanitation, and fail strict return-size checks such as SafeERC20.safeTransfer.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade Vyper to version 0.2.9 or later, which fixes the flaw. The sources list no fixed version for Vyper proxies beyond this release.
Written with Claude Haiku 5.5 from the sources below · 2026-11-02
- Fix · CNA vyper (vyperlang) Fixed in 0.2.9
Vendor assessments
Timeline
- 2026-10-21 Threatist record created from CVE-2021-48019
- 2026-10-22 Priority changed: MEDIUM → LOW
- 2026-10-27 CISA SSVC decision points changed
- 2026-11-02 Affected versions changed · Red Hat
- 2026-11-02 CVSS score added · Red Hat
References
More vyperlang vulnerabilities
- TI-2024-16182 Vyper bounds check on built-in `slice()` function can be overflowed CVSS 3.1CRITICAL 9.8
- TI-2024-14992 concat built-in can corrupt memory in vyper CVSS 3.1CRITICAL 9.8
- TI-2024-16184 Vyper array negative index vulnerability CVSS 3.1CRITICAL 9.8
- TI-2022-08657 Integer bounds error in Vyper CVSS 3.1CRITICAL 9.8
- TI-2022-11796 Multiple evaluation of contract address in call in vyper CVSS 3.1HIGH 8.2
- TI-2026-78730 Optimizer miscompilation of msg.value | K in Vyper ternary branches CVSS 4.0HIGH 8.2
Sources
- CVE-2021-48019 · CVE Program
- CVE-2021-48019 · NVD
- FIRST EPSS
- CVE-2021-48019 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences