Buffer overflow in Marcobambini Gravity
CVE-2026-40504
Creolabs Gravity before 0.9.6 contains a heap buffer overflow vulnerability in the gravity_vm_exec function that allows attackers to write out-of-bounds memory by crafting scripts with many string literals at global scope. Attackers can ex…
Vulnerability class: Buffer Overflow
EPSS: 0.000 (11.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Marcobambini Gravity — versions 0
Weakness classification (CWE)
References
- disclosure@vulncheck.com (release-notes)
- disclosure@vulncheck.com (issue-tracking)
- disclosure@vulncheck.com (patch)
- disclosure@vulncheck.com (third-party-advisory)
Frequently asked questions
- What is CVE-2026-40504?
- CVE-2026-40504 is a critical-severity vulnerability in Marcobambini Gravity, classified under Heap-based Buffer Overflow. CVSS score: 9.8/10. Published 2026-04-16.
- How severe is CVE-2026-40504?
- Critical severity. CVSS v3 base score is 9.8 out of 10.