Skip to main content
VulnerabilityPublished Updated

Hugepage rs: `hugepage_rs::Box::new` may cause undefined behavior when initializing memory

Affects hugepage-rsSource GCVE Database

0
Severity
High

Rated High by Threat Radar's AI analysis

Patch
Available – fixed in 0.1.2

Data as of 24 Nov 2026, 10:24 UTC

What to do

Upgrade hugepage-rs to 0.1.2.

Affected software

ProductAffectedFixed in
crates.iohugepage-rspkg:cargo/hugepage-rsOther threatsAffected
  • >=0.0.0-0 <0.1.2
Fixed in
  • 0.1.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to hugepage-rs version 0.1.2 or later, where the issue is fixed by proper memory initialization. No other mitigation is required as the patch fully addresses the vulnerability.

Description

The hugepage-rs crate version before 0.1.2 contains a vulnerability in the `hugepage_rs::Box::new` function where memory is incorrectly initialized. This can cause undefined behavior by either dropping uninitialized data or creating mutable references to uninitialized memory, even when used in safe Rust code. The issue was fixed in version 0.1.2 by properly initializing memory using a raw pointer write operation.

References

Community reviews

Loading reviews…