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.
Metrics
Affected Vendors & Products
References
History
Wed, 07 Oct 2026 10:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Incorrect Buffer Size Calculation in Tinyexpr Leading to Process Crash |
Wed, 07 Oct 2026 08:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Buffer Size Miscalculation in tinyexpr's Expression Parser Causes Undefined Behavior and Possible Crash | |
| Weaknesses | CWE-119 |
Tue, 06 Oct 2026 18:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-131 | |
| Metrics |
cvssV3_1
|
Sun, 27 Sep 2026 12:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Codeplea
Codeplea tinyexpr |
|
| Vendors & Products |
Codeplea
Codeplea tinyexpr |
Sat, 26 Sep 2026 05:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Buffer Size Miscalculation in tinyexpr's Expression Parser Causes Undefined Behavior and Possible Crash | |
| Weaknesses | CWE-119 |
Thu, 24 Sep 2026 15:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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 |
|
Status: PUBLISHED
Assigner: mitre
Published: 2026-09-24T00:00:00.000Z
Updated: 2026-10-06T17:42:50.871Z
Reserved: 2026-09-10T00:00:00.000Z
Link: CVE-2026-88355
No data.
Status : Deferred
Published: 2026-09-24T16:17:12.833
Modified: 2026-10-06T18:16:57.013
Link: CVE-2026-88355
No data.