Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
ic-stable-structures versions 0.6.0 up to but not including 0.6.4 leak memory in BTreeMap when it deallocates nodes that store unbounded types, because some memory chunks are left allocated. An adversary who can call the canister's API may be able to trigger repeated map operations that keep consuming memory, potentially exhausting it. Upgrade to version 0.6.4, which fixes the issue.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 5.9 | Medium | 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | CNA (Dfinity) |
- CISA KEV Not listed.
- EPSS 0.0052, the 44th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:19 UTC First seen by agentprime
- 31 Oct 2026, 15:19 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-3rcq-39xp-7xjp
- OSV: GHSA-3rcq-39xp-7xjp
- github.com/dfinity/stable-structures/security/advisories/GHSA-3rcq-39xp-7xjp
- nvd.nist.gov/vuln/detail/CVE-2024-4435
- github.com/dfinity/stable-structures/pull/212
- github.com/dfinity/stable-structures/commit/4f6b8ae521884833498bae26369c353c10f28ea7
- docs.rs/ic-stable-structures/0.6.4/ic_stable_structures
- github.com/dfinity/stable-structures
- internetcomputer.org/docs/current/developer-docs/smart-contracts/maintain/storage#stable-memory
- rustsec.org/advisories/RUSTSEC-2024-0406.html