CVEvulnerability

CVE-2026-88355

7.5 HIGH Published 2026-09-24 Modified 2026-10-06 Official page ↗
Status
Deferred
Published
2026-09-24
Last modified
2026-10-06
Assigner
[email protected]
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-131

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.

Related

Weakness · CWE (1)

  • CWE-131 Incorrect Calculation of Buffer Size weakness

References