# CVE-2021-28030: Use of Uninitialized Resource in truetype

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- 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.19%, higher than 68% of CVEs (2026-12-01)
- Published: 2021-02-17T12:00:00.000Z
- Modified: 2026-06-17T03:45:44.820Z
- Also known as: GHSA-v7q4-97x4-4qw2, RUSTSEC-2021-0029
- Weaknesses: CWE-908
- Assigned by: mitre

## Description

An issue was discovered in the truetype crate before 0.30.1 for Rust. Attackers can read the contents of uninitialized memory locations via a user-provided Read operation within Tape::take_bytes.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- truetype (crates.io): before 0.30.1; from 0.0.0-0 before 0.30.1
- truetype_project truetype: before 0.30.1

## Every score

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

## References

- <https://rustsec.org/advisories/RUSTSEC-2021-0029.html> (advisory, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-28030> (advisory)
- <https://github.com/bodoni/truetype/issues/11> (report, web)
- <https://github.com/bodoni/truetype> (package)
- <https://crates.io/crates/truetype> (package)

## Sources

- CVE List: [CVE-2021-28030](https://www.cve.org/CVERecord?id=CVE-2021-28030), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-v7q4-97x4-4qw2](https://github.com/advisories/GHSA-v7q4-97x4-4qw2), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2021-0029](https://rustsec.org/advisories/RUSTSEC-2021-0029.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2021-28030](https://nvd.nist.gov/vuln/detail/CVE-2021-28030), Public domain, modified 2026-06-17

---

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