{"cve":"CVE-2023-41052","nvd":{"published":"2023-09-04T18:15:08.657","modified":"2026-06-17T06:20:18.937","status":"Modified","description":"Vyper is a Pythonic Smart Contract Language. In affected versions the order of evaluation of the arguments of the builtin functions `uint256_addmod`, `uint256_mulmod`, `ecadd` and `ecmul` does not follow source order. This behaviour is problematic when the evaluation of one of the arguments produces side effects that other arguments depend on. A patch is currently being developed on pull request #3583. When using builtins from the list above, users should make sure that the arguments of the expression do not produce side effects or, if one does, that no other argument is dependent on those side effects.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3},"cwes":["CWE-670"],"references":["https://github.com/vyperlang/vyper/pull/3583","https://github.com/vyperlang/vyper/security/advisories/GHSA-4hg4-9mf5-wxxq","https://github.com/vyperlang/vyper/pull/3583","https://github.com/vyperlang/vyper/security/advisories/GHSA-4hg4-9mf5-wxxq"],"products":["vyperlang:vyper"],"source":"nvd","synced_at":"2026-10-19T21:39:24.235896374+00:00"},"epss":{"cve":"CVE-2023-41052","score":0.00536,"percentile":0.45186,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-4hg4-9mf5-wxxq","url":"https://osv.dev/vulnerability/GHSA-4hg4-9mf5-wxxq","summary":"incorrect order of evaluation of side effects for some builtins","modified":"2026-09-17T19:30:05.529230739Z","packages":[{"ecosystem":"PyPI","name":"vyper","purl":"pkg:pypi/vyper","ranges":["<0.3.10"],"fixed":["0.3.10"]}]},{"id":"PYSEC-2023-168","url":"https://osv.dev/vulnerability/PYSEC-2023-168","summary":"","modified":"2023-11-08T04:13:24.249162Z","packages":[{"ecosystem":"PyPI","name":"vyper","purl":"pkg:pypi/vyper","ranges":["<0.3.10rc1"],"fixed":["0.3.10rc1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}