High, CVSS 8.7npmAmendedPublished
In Azle, calling setTimer causes infinite loop of timers
CVE-2025-29776 · GHSA-xc76-5pf9-mx8m
- Affected
- npm azle >= 0.27.0, < 0.30.0
- Fixed in
- 0.30.0· Vendor fix available
- Issue
- Impact Calling setTimer in Azle versions 0.27.0, 0.28.0, and 0.29.0 causes an immediate infinite loop of timers to be executed on the canister, each timer attempting to clean up the global state of the previous timer. The infinite loop will occur with any valid invocation of setTimer. Patches The problem has been fixed as of Azle version 0.30.0. Workarounds If a canister is caught in this infinite loop after calling setTimer, the canister can be upgraded and the timers will all be cleared, thus ending the loop.
Recommended action: Upgrade to 0.30.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.