Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-40504 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-122Heap-based Buffer Overflow[email protected]

Affected Products

ProductVersions
Creolabs Gravity
< 0.9.6 (semver)

CPE

  • cpe:2.3:a:creolabs:gravity:*:*:*:*:*:*:*:*

Remediation

Change History

4 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-40504
NVD Published Date:
Apr 16, 2026
NVD Last Modified:
Jul 14, 2026
Source:
[email protected]
CVE-2026-40504 Details - Not Deferred