Impact
Gravity contains a buffer overflow vulnerability in its JSON parser located in gravity_json.c. The flaw accepts crafted JSON input that corrupts memory, which an attacker can trigger remotely. The vulnerability is classified as a memory corruption weakness (CWE-119) and may allow an attacker to execute arbitrary code or crash the application.
Affected Systems
Gravity from the marcobambini project is affected, specifically all releases up to and including version 0.9.7. Upgrading to version 0.9.8 or later resolves the issue.
Risk and Exploitability
The CVSS score of 5.3 indicates a moderate severity. EPSS information is not available and the vulnerability is not listed in the CISA KEV catalog, but a public exploit exists. Based on the description, the attack vector is inferred to be remote, as the flaw is triggered through input received over a network connection. The exploit could be used by an unauthenticated attacker to corrupt memory and potentially execute code.
OpenCVE Enrichment