Read the docs
TI-2023-30700 Aliases GHSA-wm8x-php5-hvq6

Maligned causes incorrect deallocation

Priority LOW 38Published · Updated

Key facts

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

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

Summary

`maligned::align_first` manually allocates with an alignment larger than T, and then uses `Vec::from_raw_parts` on that allocation to get a `Vec<T>`. [`GlobalAlloc::dealloc`](https://doc.rust-lang.org/std/alloc/trait.GlobalAlloc.html#tymethod.dealloc) requires that the `layout` argument must be the same layout that was used to allocate that block of memory. When deallocating, `Box` and `Vec` may not respect the specified alignment and can cause undefined behavior.

Why it matters now

Fix No fix listed No fixed version in the sources yet

SSVC decision points

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

Affected products

VendorProductAffected versionsFixed inStatusSource
—maligned (crates.io)up to 0.2.1—No fix listedGHSA-wm8x-php5-hvq6
  • maligned (crates.io) Vendor— Affected up to 0.2.1 Fixed in — No fix listed GHSA-wm8x-php5-hvq6

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-03 Threatist record created from GHSA-wm8x-php5-hvq6

References

Sources

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