raw_call `value=` kwargs not disabled for static and delegate calls
Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. Vyper compiler allows passing a value in builtin raw_call even if the call is a delegatecall or a staticcall. But in the context of delegatecall and staticcall the handling of value is not possible due to the semantics of the respective opcodes, and vyper will silently ignore the value= argument. If the semantics of the EVM are unknown to the developer, he could suspect that by specifying the `value` kwarg, exactly the given amount will be sent along to the target. This vulnerability affects 0.3.10 and earlier versions.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-24567
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 03:16 UTC · Revision 1
Source evidence
raw_call `value=` kwargs not disabled for static and delegate calls
core-osv · Original sourcePublished 30 Jan 2024, 20:17 UTC
Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. Vyper compiler allows passing a value in builtin raw_call even if the call is a delegatecall or a staticcall. But in the context of delegatecall and staticcall the handling of value is not possible due to the semantics of the respective opcodes, and vyper will silently ignore the value= argument. If the semantics of the EVM are unknown to the developer, he could suspect that by specifying the `value` kwarg, exactly the given amount will be sent along to the target. This vulnerability affects 0.3.10 and earlier versions.
osv:CVE-2024-24567
Complete source record
{
"id": "c7479aaa8e7b02a4c42f734335bd58a8ce54b58e197c391fced548d7879b4eca",
"url": "https://osv.dev/vulnerability/CVE-2024-24567",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "raw_call `value=` kwargs not disabled for static and delegate calls",
"summary": "Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. Vyper compiler allows passing a value in builtin raw_call even if the call is a delegatecall or a staticcall. But in the context of delegatecall and staticcall the handling of value is not possible due to the semantics of the respective opcodes, and vyper will silently ignore the value= argument. If the semantics of the EVM are unknown to the developer, he could suspect that by specifying the `value` kwarg, exactly the given amount will be sent along to the target. This vulnerability affects 0.3.10 and earlier versions.",
"evidence": "osv:CVE-2024-24567",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-24567",
"aliases": [
"CVE-2024-24567",
"GHSA-x2c2-q32w-4w6m",
"PYSEC-2024-151"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/vyperlang/vyper",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "9136169468f317a53b4e7448389aa315f90b95ba"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.3.10"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.3.10"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.3.10",
"v0.3.10rc5",
"v0.3.10rc4",
"v0.3.10rc3",
"v0.3.10rc2",
"v0.3.10rc1",
"v0.3.9",
"v0.3.8",
"v0.3.7",
"v0.3.6",
"v0.3.5",
"v0.3.4",
"pre-release",
"v0.3.3",
"v0.3.2",
"v0.3.1",
"v0.3.0",
"v0.2.16",
"v0.2.15",
"v0.2.14",
"v0.2.13",
"v0.2.12",
"v0.2.11",
"v0.2.10",
"v0.2.9",
"v0.2.8",
"v0.2.7",
"v0.2.6",
"v0.2.5",
"v0.2.4",
"v0.2.3",
"v0.2.2",
"v0.2.1",
"0.2.1",
"v0.2.0",
"v0.1.0-beta.17",
"v0.1.0-beta.16",
"v0.1.0-beta.15",
"v0.1.0-beta.14",
"v0.1.0-beta.13",
"v0.1.0-beta.12",
"v0.1.0-beta.11",
"v0.1.0-beta.10",
"v0.1.0-beta.9",
"v0.1.0-beta.8",
"v0.1.0-beta.7",
"v0.1.0-beta.6",
"v0.1.0-beta.5",
"v0.1.0-beta.3",
"v0.1.0-beta.2",
"v0.1.0-beta.1",
"v0.0.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-24567.json"
}
}
],
"modified": "2026-10-28T02:30:53.168133501Z",
"provider": "osv",
"references": [
"https://github.com/vyperlang/vyper/blob/9136169468f317a53b4e7448389aa315f90b95ba/vyper/builtins/functions.py#L1100",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24567.json",
"https://github.com/vyperlang/vyper/security/advisories/GHSA-x2c2-q32w-4w6m",
"https://nvd.nist.gov/vuln/detail/CVE-2024-24567"
],
"provider_metadata": {
"cwe_ids": [
"CWE-754"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24567.json"
}
},
"related_cves": [
{
"value": "CVE-2024-24567",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 522130,
"published_at": "2024-01-30T20:17:53.955+00:00"
}