---
id: CVE-2026-90716
title: A vulnerability was detected in marcobambini Gravity up to 0.9.7
summary: >-
  A vulnerability was detected in marcobambini Gravity up to 0.9.7. This impacts
  the function parse_number_expression of the file src/compiler/gravity_parser.c
  of the component Number Parser. Performing a manipulation results in
  out-of-bou…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L'
cwe:
  - CWE-119
  - CWE-125
vendor: marcobambini
product: Gravity
affected:
  - Gravity 0.9.0
  - Gravity 0.9.1
  - Gravity 0.9.2
  - Gravity 0.9.3
  - Gravity 0.9.4
  - Gravity 0.9.5
  - Gravity 0.9.6
  - Gravity 0.9.7
published: '2026-09-14'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T15:18:41.733'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-90716'
references:
  - url: 'https://github.com/marcobambini/gravity/'
    label: cna@vuldb.com
  - url: 'https://github.com/marcobambini/gravity/issues/446'
    label: cna@vuldb.com
  - url: 'https://github.com/marcobambini/gravity/pull/449'
    label: cna@vuldb.com
  - url: 'https://github.com/marcobambini/gravity/releases/tag/0.9.8'
    label: cna@vuldb.com
  - url: >-
      https://github.com/sthagen/marcobambini-gravity/commit/1b9bbf3ad5749e2a3434e6ad073c6e93c24207b6
    label: cna@vuldb.com
  - url: 'https://vuldb.com/cve/CVE-2026-90716'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/submit/919190'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/403270'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/403270/cti'
    label: cna@vuldb.com
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-16T14:55:27.923074Z'
epss: 0.00265
epssPercentile: 0.18678
ingestedAt: '2026-09-14T15:23:07.430Z'
---

## Overview

A vulnerability was detected in marcobambini Gravity up to 0.9.7. This impacts the function parse_number_expression of the file src/compiler/gravity_parser.c of the component Number Parser. Performing a manipulation results in out-of-bounds read. It is possible to initiate the attack remotely. The exploit is now public and may be used. Upgrading to version 0.9.8 will fix this issue. The patch is named 1b9bbf3ad5749e2a3434e6ad073c6e93c24207b6. It is recommended to upgrade the affected component.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
