High severity7.5NVD Advisory· Published Jan 26, 2021· Updated Jun 17, 2026
CVE-2021-25902
CVE-2021-25902
Description
An issue was discovered in the glsl-layout crate before 0.4.0 for Rust. When a panic occurs, map_array can perform a double drop.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
glsl-layoutcrates.io | < 0.4.0 | 0.4.0 |
Affected products
3- cpe:2.3:a:glsl-layout_project:glsl-layout:*:*:*:*:*:rust:*:*Range: <0.4.0
- Rust/glsl-layoutdescription
Patches
Vulnerability mechanics
References
4- rustsec.org/advisories/RUSTSEC-2021-0005.htmlnvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-cx4j-fxr7-jxg8ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-25902ghsaADVISORY
- github.com/rustgd/glsl-layout/pull/10ghsaWEB
News mentions
0No linked articles in our index yet.