CVE-2026-40504: Schwachstelle in Marcobambini Gravity
Kritisch. 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 exploit insufficient bounds checking in gravity_fiber_reassign() to corrupt heap metadata and achieve arbitrary code execution in applications that evaluate untrusted scripts.
CWE-122
- Ausnutzung
- Nicht bestätigt
- Schweregrad
- 9,3 von 10
- Angriffsrisiko
- Unbekannt
- Korrektur
- Korrigierte Version bekannt
- Update-Frist
- Keine Frist gesetzt
Details
- Hinweis-ID
- GHSA-3r49-76f3-pf2m
- Vektor
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Fehlerklasse
- CWE-122
- Veröffentlicht
- 16. Apr. 2026
- Letzte Änderung
- 8. Nov. 2026
Betroffene Produkte
Betroffene Versionen und erste korrigierte Version
- Marcobambini Gravity Vor 0.9.6; Vor 18b9195598d9b944376754c6d1ad76e38a4adca1. Behoben in 0.9.6, 18b9195598d9b944376754c6d1ad76e38a4adca1
Sicherheitshinweise
Hinweise von Herstellern und Sicherheitsstellen
- github.com/marcobambini/gravity/issues/437
- vulncheck.com/advisories/creolabs-gravity-heap-buffer-overflow-via-gravity-vm-exec
Updates und Korrekturen
Updates, Commits und Versionshinweise
- github.com/marcobambini/gravity/commit/18b9195598d9b944376754c6d1ad76e38a4adca1
- github.com/marcobambini/gravity/releases/tag/0.9.6
Weiter
- Schwachstellen in Gravity Aktuelle Hinweise, Produkt beobachten