An 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.
References
Configurations
No configuration.
History
06 Oct 2026, 18:16
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-131 | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
| References | () https://github.com/codeplea/tinyexpr/issues/145 - |
24 Sep 2026, 16:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-09-24 16:17
Updated : 2026-10-06 18:16
NVD link : CVE-2026-88355
Mitre link : CVE-2026-88355
CVE.ORG link : CVE-2026-88355
JSON object : View
Products Affected
No product.
CWE
CWE-131
Incorrect Calculation of Buffer Size
