Vulnerability RUSTSEC-2026-0597
Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
27 days ago
October 28, 2026 at 12:00 PM UTC
`hugepage_rs::Box::new` may cause undefined behavior when initializing memory
>=0.0.0-0 <0.1.2
>=0.0.0-0 <0.1.2
Summary
`hugepage_rs::Box::new` may cause undefined behavior when initializing memory
Details
hugepage_rs::Box::new incorrectly initialized freshly allocated memory. Earlier implementations could either drop an uninitialized T or create a mutable reference before the memory contained a valid T, causing undefined behavior even when called from safe Rust code.
The issue was fixed in version 0.1.2 by using ptr::write(nn.as_ptr(), data) to initialize memory directly through a raw pointer.
Related Vulnerabilities
Other vulnerabilities affecting the same packages
Unknown
28 days ago
`hugepage_rs::alloc` may cause undefined behavior with zero-sized layouts from safe code
>=0.0.0-0 <0.1.2 RUSTSEC-2026-0598
>=0.0.0-0 <0.1.2 RUSTSEC-2026-0598
Unknown
1 year ago
`hugepage_rs::dealloc` may allow invalid memory deallocation from safe code
>=0.0.0-0 <0.1.1 RUSTSEC-2025-0170
>=0.0.0-0 <0.1.1 RUSTSEC-2025-0170
Impacted packages
Timeline
Published
27 days ago
October 28, 2026 at 12:00 PM UTC
Fixed (0.1.2)
27 days ago
October 28, 2026 at 01:53 AM UTC
Last Modified
11 hours ago
November 24, 2026 at 09:30 AM UTC