All CVEs / Glsl-layout Project
CVE-2021-25902Glsl-layout Project Glsl-layout
High 7.5 No auth needed
Follow: this CVE · Glsl-layout Project · Glsl-layout Project Glsl-layout We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- No
- Published
- Jan 26, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Glsl-layout.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | glsl-layout |
< 0.4.0 |
0.4.0 |
cargo update -p glsl-layout --precise 0.4.0 |
| crates.io | glsl-layout |
≥ 0.0.0-0 < 0.4.0 |
0.4.0 |
cargo update -p glsl-layout --precise 0.4.0 |
Per OSV / GitHub Advisories (GHSA-cx4j-fxr7-jxg8, RUSTSEC-2021-0005). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| glsl-layout_project | glsl-layout | < 0.4.0 |
Official sources
References
Links published by the sources. Open them with care.
- rustsec.org Exploit Third Party Advisory