LeakyCreds
NewInstant webhook alerts now available — notified within seconds of any credential detection.Learn more →
Home / Vulnerability Intelligence / CVE-2026-40504

CVE-2026-40504 - Vulnerability Analysis

CriticalCVSS: 9.8

Last Updated: April 16, 2026

Creolabs Gravity - Remote Code Execution

Published: April 16, 2026Updated: April 16, 2026Remote Exploitable

Overview

Creolabs Gravity < 0.9.6 contains a buffer overflow caused by insufficient bounds checking in gravity_vm_exec and gravity_fiber_reassign functions, letting attackers execute arbitrary code by crafting scripts with many global string literals, exploit requires evaluating untrusted scripts.

Severity & Score

Severity: Critical
CVSS Score: 9.8

Impact

Attackers can execute arbitrary code by exploiting heap buffer overflow in script evaluation, potentially compromising the application.

Mitigation

Upgrade to version 0.9.6 or later.

Details

CVE ID
CVE-2026-40504
Severity
Critical
CVSS Score
9.8
Type
buffer_overflow
Status
new

CWE

  • CWE-122

CVSS Metrics

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H