CVE-2024-36760
HIGH 7.5CVSS 3.1Rhai stack overflow vulenrability
A stack overflow vulnerability was found in version 1.18.0 of rhai. The flaw position is: (/ SRC/rhai/SRC/eval/STMT. Rs in rhai: : eval: : STMT: : _ $LT $impl $u20 $rhai.. engine.. Engine$GT$::eval_stmt::h3f1d68ce37fc6e96). Due to the stack overflow is a recursive call/SRC/rhai/SRC/eval/STMT. Rs file eval_stmt_block function.
- Published
- 13 Jun 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-120CWE-674
- Also known as
- GHSA-67fv-9r7g-432h
- Sources
- NVDJSONOSV GHSA-67fv-9r7g-432hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | rhai | <= 1.18.0 |
References
- https://github.com/MageWeiG/VulnerabilityCollection/blob/main/CVE-2024-36760/info.md · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-36760 · ADVISORY
- https://github.com/rhaiscript/rhai/commit/308d07a11d3bff0d230f685a6320292181e5a445 · WEB
- https://github.com/rhaiscript/rhai · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 13 Jun 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Jun 2024)