# CVE-2021-48019: Vyper before 0.2.9 Incorrect RETURNDATASIZE in create_forwarder_to Proxies

- Severity: Medium 6.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2021-04-19T15:11:54.000Z
- Modified: 2026-10-27T22:17:08.050Z
- Also known as: GHSA-375m-5fvv-xq23
- Weaknesses: CWE-20, CWE-805
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- vyperlang vyper: before 0.2.9 (not affected: 0.2.9)
- vyper (PyPI): before 0.2.9

## Every score

- VulnCheck: CVSS:4.0 6.3 Medium `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`
- VulnCheck: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L`
- GitHub: rating Low

## References

- <https://github.com/vyperlang/vyper/security/advisories/GHSA-375m-5fvv-xq23> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/vyper-before-0.2.9-incorrect-returndatasize-in-create-forwarder-to-proxies> (third-party-advisory)
- <https://github.com/vyperlang/vyper/pull/2281> (web)
- <https://pypi.org/project/vyper> (web)

## Sources

- CVE List: [CVE-2021-48019](https://www.cve.org/CVERecord?id=CVE-2021-48019), CVE Terms of Use, modified 2026-10-27
- GitHub Advisory Database: [GHSA-375m-5fvv-xq23](https://github.com/advisories/GHSA-375m-5fvv-xq23), CC-BY-4.0, modified 2026-10-24
- NVD: [CVE-2021-48019](https://nvd.nist.gov/vuln/detail/CVE-2021-48019), Public domain, modified 2026-10-27

---

Page: https://cve.day/CVE-2021-48019 · Whole record: https://cve.day/CVE-2021-48019.json · Rebuilt by cve.day 2026-11-25T22:58:09.125Z
