CVE-2021-28308
CRITICAL 9.1CVSS 3.1Null pointer deference in fltk
An issue was discovered in the fltk crate before 0.15.3 for Rust. There is an out-of bounds read because the pixmap constructor lacks pixmap input validation.
- Published
- 12 Mar 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-125CWE-476
- Also known as
- CVE-2021-28306CVE-2021-28307GHSA-5pg8-h4gv-m3p8GHSA-7qcc-g2m9-8533GHSA-vjmg-pc8h-p6p8RUSTSEC-2021-0038
- Sources
- NVDJSONOSV GHSA-5pg8-h4gv-m3p8JSONOSV GHSA-7qcc-g2m9-8533JSONOSV GHSA-vjmg-pc8h-p6p8JSONOSV RUSTSEC-2021-0038JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:P/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fltk_project | fltkcpe:2.3:a:fltk_project:fltk:*:*:*:*:*:rust:*:* |
< 0.15.3 | 0.15.3 |
| OSV | crates.io | fltk | < 0.15.3 | 0.15.3 |
| OSV | crates.io | fltk | >= 0.0.0-0, < 0.15.3 | 0.15.3 |
References
- https://rustsec.org/advisories/RUSTSEC-2021-0038.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-28306 · ADVISORY
- https://github.com/MoAlyousef/fltk-rs/issues/519 · WEB, REPORT
- https://github.com/MoAlyousef/fltk-rs · PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2021-28307 · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-28308 · ADVISORY
- https://crates.io/crates/fltk · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 12 Mar 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Mar 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)