# CVE-2021-28306: Null pointer deference in fltk

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.13%, higher than 66% of CVEs (2026-11-30)
- Published: 2021-03-06T12:00:00.000Z
- Modified: 2026-06-17T03:46:08.110Z
- Also known as: GHSA-5pg8-h4gv-m3p8, GHSA-7qcc-g2m9-8533, GHSA-vjmg-pc8h-p6p8, RUSTSEC-2021-0038
- Related: CVE-2021-28307, CVE-2021-28308
- Weaknesses: CWE-125, CWE-476
- Assigned by: mitre

## Description

An issue was discovered in the fltk crate before 0.15.3 for Rust. There is a NULL pointer dereference during attempted use of a multi label type if the image is nonexistent.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- fltk (crates.io): before 0.15.3; from 0.0.0-0 before 0.15.3
- fltk_project fltk: before 0.15.3

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://rustsec.org/advisories/RUSTSEC-2021-0038.html> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-28306> (advisory)
- <https://github.com/MoAlyousef/fltk-rs/issues/519> (report, web)
- <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)

## Sources

- CVE List: [CVE-2021-28306](https://www.cve.org/CVERecord?id=CVE-2021-28306), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-5pg8-h4gv-m3p8](https://github.com/advisories/GHSA-5pg8-h4gv-m3p8), CC-BY-4.0, modified 2024-03-15
- GitHub Advisory Database: [GHSA-7qcc-g2m9-8533](https://github.com/advisories/GHSA-7qcc-g2m9-8533), CC-BY-4.0, modified 2024-03-15
- GitHub Advisory Database: [GHSA-vjmg-pc8h-p6p8](https://github.com/advisories/GHSA-vjmg-pc8h-p6p8), CC-BY-4.0, modified 2024-03-15
- RustSec Advisory Database: [RUSTSEC-2021-0038](https://rustsec.org/advisories/RUSTSEC-2021-0038.html), CC0-1.0, modified 2024-03-15
- NVD: [CVE-2021-28306](https://nvd.nist.gov/vuln/detail/CVE-2021-28306), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-28306 · Whole record: https://cve.day/CVE-2021-28306.json · Rebuilt by cve.day 2026-11-25T22:58:00.273Z
