Security mailing lists by PureSourceCode

CVE-2023-41052

MEDIUM 5.3CVSS 3.1

incorrect order of evaluation of side effects for some builtins

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.

Published
4 Sep 2023
Last modified
17 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-670
Also known as
GHSA-4hg4-9mf5-wxxqPYSEC-2023-168
Sources
NVDJSONOSV GHSA-4hg4-9mf5-wxxqJSONOSV PYSEC-2023-168JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV PyPA CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vyperlang vyper
cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:*
<= 0.3.9
OSV PyPI vyper < 0.3.10 0.3.10
OSV PyPI vyper < 0.3.10rc1 0.3.10rc1

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 4 Sep 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Sep 2023)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Sep 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.