An incorrect buffer size calculation vulnerability exists in tinyexpr commit 4a7456e in new_expr().
- CVSS
- 7.5High
- Chance of exploitation (EPSS)
- 0.42%
- Published
- Sep 24, 2026
- In the news
- Not yet
What to do
A serious security flaw that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
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.
Affected products
Get alerts for these →No product list yet. It usually appears within a few days of publication.
Timeline 1
Latest change: CVE-2026-88355 published (CVSS 7.5) (Sep 24, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Thu, Sep 24, 2026
- CVECVE-2026-88355 published (CVSS 7.5)CVE Program · 16:17 UTC
References 3
- github.com /codeplea/tinyexpr/issues/145
- github.com /szaydel/tinyexpr/commit/fe7459728c2ab8d2f91365abe56601cdd0e24f9b
- github.com /codeplea/tinyexpr/issues/145