<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-30T10:15:15.596397+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/fkie_cve-2024-4435</id>
    <title>fkie_cve-2024-4435</title>
    <updated>2026-09-30T10:15:16.548649+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p>When storing unbounded types in a BTreeMap, a node is represented as a linked list of "memory chunks". It was discovered recently that when we deallocate a node, in some cases only the first memory chunk is deallocated, and the rest of the memory chunks remain (incorrectly) allocated, causing a memory leak. In the worst case, depending on how a canister uses the BTreeMap, an adversary could interact with the canister through its API and trigger interactions with the map that keep consuming memory due to the memory leak. This could potentially lead to using an excessive amount of memory, or even running out of memory.</p>
<p>This issue has been fixed in  #212 https://github.com/dfinity/stable-structures/pull/212  by changing the logic for deallocating nodes to ensure that all of a node's memory chunks are deallocated and users are asked to upgrade to version 0.6.4.. Tests have been added to prevent regressions of this nature moving forward. Note: Users of stable-structure &lt; 0.6.0 are not affected.</p>
<p>Users who are not storing unbounded types in BTreeMap are not affected and do not need to upgrade. Otherwise, an upgrade to version 0.6.4 is necessary.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/fkie_cve-2024-4435"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-3rcq-39xp-7xjp</id>
    <title>GHSA-3rcq-39xp-7xjp — ic-stable-structures vulnerable to BTreeMap memory leak when deallocating nodes with overflows</title>
    <updated>2026-09-30T10:15:16.548778+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> crates.io: ic-stable-structures</p>
<p>### Impact
When storing unbounded types in a `BTreeMap`, a node is represented as a linked list of "memory chunks". It was discovered recently that when we deallocate a node, in some cases only the first memory chunk is deallocated, and the rest of the memory chunks remain (incorrectly) allocated, causing a memory leak.</p>
<p>In the worst case, depending on how a canister uses the `BTreeMap`, an adversary could interact with the canister through its API and trigger interactions with the map that keep consuming memory due to the memory leak. This could potentially lead to using an excessive amount of memory, or even running out of memory.</p>
<p>This issue has been fixed in #212 by changing the logic for deallocating nodes to ensure that all of a node's memory chunks are deallocated. Tests have been added to prevent regressions of this nature moving forward.</p>
<p>**Note:** Users of stable-structure &lt; 0.6.0 are not affected.</p>
<p>### Patches
The problem has been fixed in PR #212 and users are asked to upgrade to version `0.6.4`.</p>
<p>### Workarounds
Users who are not storing unbounded types in `BTreeMap` are not affected and do not need to upgrade. Otherwise, an upgrade to version `0.6.4` is necessary.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-3rcq-39xp-7xjp"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/rustsec-2024-0406</id>
    <title>RUSTSEC-2024-0406 — BTreeMap memory leak when deallocating nodes with overflows</title>
    <updated>2026-09-30T10:15:16.548855+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> crates.io: ic-stable-structures</p>
<p>When storing unbounded types in a `BTreeMap`, a node is represented as a linked list of "memory chunks". In some cases, when we deallocate a node only the first memory chunk is deallocated, and the rest of the memory chunks remain (incorrectly) allocated, causing a memory leak.</p>
<p>In the worst case, depending on how a canister uses the `BTreeMap`, an adversary could interact with the canister through its API and trigger interactions with the map that keep consuming memory due to the memory leak. This could potentially lead to using an excessive amount of memory, or even running out of memory.</p>
<p>This issue has been fixed in [dfinity/stable-structures/pull/212](https://github.com/dfinity/stable-structures/pull/212) by changing the logic for deallocating nodes to ensure that all of a node's memory chunks are deallocated. Tests have been added to prevent regressions of this nature moving forward.</p>
<p>**Note:** Users of stable-structure &lt; 0.6.0 are not affected.</p>
<p>### Workarounds
Users who are not storing unbounded types in `BTreeMap` are not affected and do not need to upgrade. Otherwise, an upgrade to version `0.6.4` is necessary.</p>
<p>### References
-  [GitHub Security Advisory (GHSA-3rcq-39xp-7xjp)](https://github.com/dfinity/stable-structures/security/advisories/GHSA-3rcq-39xp-7xjp)
-  [dfinity/stable-structures/pull/212](https://github.com/dfinity/stable-structures/pull/212)
-  [Stable Structures Documentation](https://docs.rs/ic-stable-structures/0.6.4/ic_stable_structures/)
-  [Sta…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/rustsec-2024-0406"/>
  </entry>
</feed>
