CVE-2021-48019 Details
Description
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.
A vulnerability exists in Vyper versions prior to 0.2.9, where the built-in 'create_forwarder_to' function deploys forwarder proxies that incorrectly report a fixed RETURNDATASIZE of 4096 bytes. This misreporting can lead to data corruption when a function returns more than 4096 bytes without proper return data sanitation. Additionally, it can cause failures in strict return-size checks, such as those implemented in 'SafeERC20.safeTransfer'.
Users can upgrade to Vyper version 0.2.9 or later, where this issue has been addressed. If using a Solidity library that checks RETURNDATASIZE, it is recommended to perform a greater than or equal to check instead of a strict equals check.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 21, 2026CISA-ADP
Assessed Oct 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-805 | Buffer Access with Incorrect Length Value | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Vyper | < 0.2.9 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 27, 2026 | CVE Modified | CISA-ADP |
| Oct 21, 2026 | New CVE Received | [email protected] |
Volerion