Read the docs
TI-2025-43705 Aliases GHSA-xrrq-rrgq-h89w

static-alloc vulnerability leads to uninitialized read after allocating MemBump

Priority LOW 38CWE-908Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

The affected function, `MemBump::new()`, would allocate memory without initializing it. Subsequently calling the created value's various `alloc`methods would then read and write the start of that memory as a `Cell` which isundefined behavior. Instead, it should zero initialize the start of the allocated memory. For instance, some values could violate the internal invariants of the type and cause an assertion failure. Nevertheless, no deterministic read is known tocause further uninitialized memory to be exposed. Affected downstream users that can not upgrade are advised to call `MemBump::reset` immediately after allocation to manually perform the missing write of the counter best-as-possible. The flaw was corrected in commit d8d6a7d096d3aaafd963b356a8f1bbd8d26fd967 by zeroing the Cell at the start of the allocated memory.

Why it matters now

Fix Fixed static-alloc (crates.io): 0.2.6

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—static-alloc (crates.io)0.2.2 to before 0.2.60.2.6Patch availableGHSA-xrrq-rrgq-h89w
  • static-alloc (crates.io) Vendor— Affected 0.2.2 to before 0.2.6 Fixed in 0.2.6 Patch available GHSA-xrrq-rrgq-h89w

Remediation

  • Fix · GHSA-xrrq-rrgq-h89w static-alloc (crates.io) Fixed in 0.2.6 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-xrrq-rrgq-h89w

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences