CVE-2026-88355
HIGH 7.5CVSS 3.1An incorrect buffer size calculation vulnerability exists in tinyexpr commit 4a7456e in new_expr(). For arity-0 expression nodes, including constants, variables, and zero-argument functions, the function allocates less memory than sizeof(te_expr) but treats the returned allocation as a complete te_expr object. This results in undefined behavior and can cause deterministic process termination in UBSan-instrumented builds.
- Published
- 24 Sep 2026
- Last modified
- 6 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-131
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| 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 |
References
- https://github.com/codeplea/tinyexpr/issues/145
- https://github.com/szaydel/tinyexpr/commit/fe7459728c2ab8d2f91365abe56601cdd0e24f9b
History
- 25 Nov 2026 21:21 UTC ยท NVD: first stored (published 24 Sep 2026)