A memory leak vulnerability exists in ic-stable-structures versions 0.6.0 up to but not including 0.6.4 when using BTreeMap to store unbounded types. The issue occurs because only the first memory chunk of a node is deallocated, leaving the rest allocated and causing memory consumption to grow. This can lead to excessive memory use or out-of-memory conditions if exploited. The vulnerability has been fixed in version 0.6.4.