# CVE-2024-32647: vyper performs double eval of raw_args in create_from_blueprint

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A: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.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2024-04-25T17:41:44.052Z
- Modified: 2026-06-17T07:30:01.520Z
- Also known as: GHSA-3whq-64q2-qfj6, PYSEC-2024-208
- Weaknesses: CWE-95
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. In versions 0.3.10 and prior, using the `create_from_blueprint` builtin can result in a double eval vulnerability when `raw_args=True` and the `args` argument has side-effects. It can be seen that the `_build_create_IR` function of the `create_from_blueprint` builtin doesn't cache the mentioned `args` argument to the stack. As such, it can be evaluated multiple times (instead of retrieving the value from the stack). No vulnerable production contracts were found. Additionally, double evaluation of side-effects should be easily discoverable in client tests. As such, the impact is low. As of time of publication, no fixed versions exist.

(As written by CVE List.)

## Affected

- vyperlang vyper: <= 0.3.10; *; before 0.4.0
- vyper (PyPI): before 0.4.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/vyperlang/vyper/security/advisories/GHSA-3whq-64q2-qfj6> (advisory, vendor-advisory, web)
- <https://github.com/vyperlang/vyper/blob/cedf7087e68e67c7bfbd47ae95dcb16b81ad2e02/vyper/builtins/functions.py#L1847> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-32647> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2024-208.yaml> (web)
- <https://github.com/vyperlang/vyper> (package)
- <https://github.com/advisories/GHSA-3whq-64q2-qfj6> (advisory)

## Sources

- CVE List: [CVE-2024-32647](https://www.cve.org/CVERecord?id=CVE-2024-32647), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-3whq-64q2-qfj6](https://github.com/advisories/GHSA-3whq-64q2-qfj6), CC-BY-4.0, modified 2026-06-10
- NVD: [CVE-2024-32647](https://nvd.nist.gov/vuln/detail/CVE-2024-32647), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-208](https://osv.dev/vulnerability/PYSEC-2024-208), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2024-32647 · Whole record: https://cve.day/CVE-2024-32647.json · Rebuilt by cve.day 2026-11-25T22:58:39.606Z
