CVE-2026-88355: Tinyexpr vulnerability

Published Sep 24, 2026
·
Updated

An incorrect buffer size calculation vulnerability exists in tinyexpr commit 4a7456e in newexpr(). For arity-0 expression nodes, including constants, variables, and zero-argument functions, the function allocates less memory than sizeof(teexpr) but treats the returned allocation as a complete teexpr object. This results in undefined behavior and can cause deterministic process termination in UBSan-instrumented builds.

Affected Software

1 affected component
tinyexpr=4a7456e

Event History

Sep 24, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·04:17 PM
Description

Frequently Asked Questions

1

Which uses are exposed to the reported process termination?

Uses of tinyexpr built with UBSan instrumentation are specifically reported to experience deterministic process termination when arity-0 expression nodes are created. These nodes include constants, variables, and zero-argument functions.

2

What conditions are needed to trigger the issue?

The vulnerable code path is new_expr() handling an arity-0 expression node. No attacker access level, input delivery mechanism, or remote exploit scenario is provided in the available data.

3

How can I determine whether my build is affected?

Check whether the tinyexpr source includes commit 4a7456e and whether new_expr() allocates arity-0 nodes with a size smaller than sizeof(te_expr). UBSan-instrumented builds that create constants, variables, or zero-argument functions are the reported observable failure case.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203