CVE Catalog

CVE-2026-88355

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.34%

26th percentile - higher than 26% of all known CVEs

Summary

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.

Risk Assessment

This results in undefined behavior and can cause deterministic process termination in UBSan-instrumented builds.

Recommendation

Update tinyexpr to a version that includes a fix for this vulnerability.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS