🛡️ GHSA-xrrq-rrgq-h89w — static-alloc
Description
static-alloc vulnerability leads to uninitialized read after allocating MemBump
The affected function, MemBump::new(), would allocate memory without initializing it. Subsequently calling the created value's various allocmethods 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.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. Rated impact: confidentiality none, integrity none, availability none.
Weakness class
GHSA-xrrq-rrgq-h89w is classified as CWE-908: Use of Uninitialized Resource. A resource is read before being initialised, so its contents are whatever was left there.
Affected software
GHSA-xrrq-rrgq-h89w is recorded against 1 package.
- static-alloc
Timeline and source
Published on 11 July 2025 and last revised on 28 October 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
github.com (Web)
github.com (Web)
github.com (Web)
rustsec.org (Web)
Details
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| static-alloc | — | — |
References
Similar Threats
- Unknown RUSTSEC-2025-0042
Free Vulnerability Check
Is your site affected by GHSA-xrrq-rrgq-h89w?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-xrrq-rrgq-h89w and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.