Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/codeplea/tinyexpr/issues/145
- https://github.com/szaydel/tinyexpr/commit/fe7459728c2ab8d2f91365abe56601cdd0e24
- https://github.com/codeplea/tinyexpr/issues/145
FAQ
What is CVE-2026-88355?
CVE-2026-88355 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 funct...
How severe is CVE-2026-88355?
CVE-2026-88355 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-88355?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.