# CVE-2017-1000172: Creolabs Gravity Version: 1.0 Use-After-Free Possible code execution.

- Severity: Critical 9.8 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.44%, higher than 84% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2017-11-17T03:00:00.000Z
- Modified: 2026-06-17T00:58:51.743Z
- Weaknesses: CWE-416
- Assigned by: mitre

## Description

Creolabs Gravity Version: 1.0 Use-After-Free Possible code execution. An example of a Heap-Use-After-Free after the 'sublexer' pointer has been freed. Line 542 of gravity_lexer.c. 'lexer' is being used to access a variable but 'lexer' has already been freed, creating a Heap Use-After-Free condition.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- creolabs gravity: 1.0

## Every score

- NVD: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/marcobambini/gravity/issues/144> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2017-1000172](https://www.cve.org/CVERecord?id=CVE-2017-1000172), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2017-1000172](https://nvd.nist.gov/vuln/detail/CVE-2017-1000172), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2017-1000172 · Whole record: https://cve.day/CVE-2017-1000172.json · Rebuilt by cve.day 2026-11-25T22:57:33.577Z
