The Heapless crate versions before 0.9.4 contain a vulnerability where multiple functions dropped generic parameters without properly handling unwinding, leading to broken invariants and potential undefined behavior (UB). This issue was reported by security researchers and has been fixed in version 0.9.4.