BreachSpiderVerified, not vibes

CVE-2024-24563 in Vyperlang Vyper

Critical 9.8

Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine. Arrays can be keyed by a signed integer, while they are defined for unsigned integers only. The typechecker doesn't throw when spotting the usage of an `int` as an index for an array. The typechecker allows the usage of signed integers to ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.8
EPSS1.2%
EPSS percentile69th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Vyperlang Vyper ≤ 0.3.10

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine. Arrays can be keyed by a signed integer, while they are defined for unsigned integers only. The typechecker doesn't throw when spotting the usage of an `int` as an index for an array. The typechecker allows the usage of signed integers to be used as indexes to arrays. The vulnerability is present in different forms in all versions, including `0.3.10`. For ints, the 2's complement representation is used. Because the array was declared very large, the bounds checking will pass Negative values will simply be represented as very large numbers. As of time of publication, a fixed version does not exist. There are three potential vulnerability classes: unpredictable behavior, accessing inaccessible elements and denial of service. Class 1: If it is possible to index an array with a negative integer without reverting, this is most likely not anticipated by the developer and such accesses can cause unpredictable behavior for the contract. Class 2: If a contract has an invariant in the form `assert index < x`, the developer will suppose that no elements on indexes `y | y >= x` are accessible. However, by using negative indexes, this can be bypassed. Class 3: If the index is dependent on the state of the contract, this poses a risk of denial of service. If the state of the contract can be manipulated in such way that the index will be forced to be negative, the array access can always revert (because most likely the array won't be declared extremely large). However, all these the scenarios are highly unlikely. Most likely behavior is a revert on the bounds check.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-24563
BreachSpider IDBS-2024-GLOBAL-052243-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2024-02-07
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-129: CWE-129

Related attack patterns (CAPEC)

CAPEC-100 Overflow Buffers via CWE-129

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2024-24563 affects Vyper smart contracts by allowing the use of signed integers as array indices, which are intended for unsigned integers only. This can lead to out-of-bounds access and potential code execution vulnerabilities.

An attacker can exploit this vulnerability by crafting smart contracts that use signed integers as array indices. This can lead to unauthorized access to memory, potentially allowing the attacker to execute arbitrary code or manipulate contract state.

Questions

What is CVE-2024-24563?

CVE-2024-24563 affects Vyper smart contracts by allowing the use of signed integers as array indices, which are intended for unsigned integers only. This can lead to out-of-bounds access and potential code execution vulnerabilities.

What is the CVSS score for CVE-2024-24563?

CVE-2024-24563 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.2%.

Is CVE-2024-24563 actively exploited?

No confirmed active exploitation of CVE-2024-24563 as of 2026-09-25.

How do I remediate CVE-2024-24563?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2024-24563?

CVE-2024-24563 affects Vyperlang Vyper.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Vyperlang","product":"Vyper","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.