CVE-2021-28030 json
Use of Uninitialized Resource in truetype
published 2021-02-17 5 y ago modified 2026-06-17 4 mo ago also GHSA-v7q4-97x4-4qw2 , RUSTSEC-2021-0029 , EUVD-2021-1887
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 67%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io truetype 0.30.1
- truetype_project truetype 0.30.1
Exploit prediction
1.18% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | truetype | <0.30.1 >=0.0.0-0, <0.30.1 |
0.30.1 |
Classification
- Weakness
-
- CWE-908 Use of Uninitialized Resource
References
-
rustsec.org
/advisories/RUSTSEC-2021-0029.html
web, patch, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-28030
advisory
-
github.com
/bodoni/truetype/issues/11
web, report
-
github.com
/bodoni/truetype
package
-
crates.io
/crates/truetype
package
Sources
- CVE List CVE-2021-28030
- GitHub Advisory GHSA-v7q4-97x4-4qw2
- NVD CVE-2021-28030
- OSV RUSTSEC-2021-0029
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.