# CVE-2025-29776: Azle calling `setTimer` causes infinite loop of timers

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 49% of CVEs (2026-11-30)
- Published: 2025-03-14T13:13:27.137Z
- Modified: 2026-06-17T09:05:39.150Z
- Also known as: GHSA-xc76-5pf9-mx8m
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Azle is a WebAssembly runtime for TypeScript and JavaScript on ICP. 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`. The problem has been fixed as of Azle version `0.30.0`. As a workaround, 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.

(As written by CVE List.)

## Affected

- demergent-labs azle: >= 0.27.0, < 0.30.0
- azle (npm): from 0.27.0 before 0.30.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L`

## References

- <https://github.com/demergent-labs/azle/security/advisories/GHSA-xc76-5pf9-mx8m> (web)
- <https://github.com/demergent-labs/azle/releases/tag/0.30.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-29776> (advisory)
- <https://github.com/demergent-labs/azle> (package)

## Sources

- CVE List: [CVE-2025-29776](https://www.cve.org/CVERecord?id=CVE-2025-29776), CVE Terms of Use, modified 2025-03-15
- GitHub Advisory Database: [GHSA-xc76-5pf9-mx8m](https://github.com/advisories/GHSA-xc76-5pf9-mx8m), CC-BY-4.0, modified 2025-03-15
- NVD: [CVE-2025-29776](https://nvd.nist.gov/vuln/detail/CVE-2025-29776), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-29776 · Whole record: https://cve.day/CVE-2025-29776.json · Rebuilt by cve.day 2026-11-25T22:58:55.263Z
