CVE•Published 2026-04-16•Modified 2026-05-01•1 article on news•5 live references•NVD data
CVE-2026-40504
Vulnerability data via NVD (ingested)
CVSS v3.1
9.8
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS percentile
10
Exploit Prediction Scoring System · top 90% of all CVEs
Weaknesses (CWE)
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.
Timeline
Published 2026-04-16
Modified 2026-05-01
External references
Search for exposed instances
Shodan + Censys queries derived from NVD's CPE data. The vuln tag catches assets Shodan has explicitly linked to this CVE; the product / banner fingerprints find exposed instances even when the vuln tag was never applied (which is common).
More intel sources (5)
Shodan report
vuln:CVE-2026-40504Country / ASN / product breakdown for the vuln query.
Censys
vulnerabilities.cve_id: CVE-2026-40504Censys host search filtered to this CVE id.
grep.app
CVE-2026-40504Public source-code mentions — fast PoC discovery.
GitHub code
CVE-2026-40504GitHub code search for direct mentions.
Google dork
"CVE-2026-40504" exploit -site:nvd.nist.govWrite-ups and news, NVD excluded.
Known PoCs on GitHub
No public proof-of-concept repositories found for CVE-2026-40504 on GitHub.