CVE-2021-48019 PUBLISHED

Vyper before 0.2.9 Incorrect RETURNDATASIZE in create_forwarder_to Proxies

Assigner: VulnCheck
Reserved: 20.10.2026 Published: 21.10.2026 Updated: 21.10.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
CVSS Score: 6.3

Product Status

Vendor vyperlang
Product vyper
Versions Default: unaffected
  • affected from 0 to 0.2.9 (excl.)
  • Version 0.2.9 is unaffected

References

Problem Types

  • Buffer Access with Incorrect Length Value CWE