# CVE-2021-26308: Uninitialized buffer use in marc

- 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.52%, higher than 75% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-01-26T12:00:00.000Z
- Modified: 2026-06-17T03:43:05.123Z
- Also known as: GHSA-3mf3-2gv9-h39j, RUSTSEC-2021-0014
- Weaknesses: CWE-908
- Assigned by: mitre

## Description

An issue was discovered in the marc crate before 2.0.0 for Rust. A user-provided Read implementation can gain access to the old contents of newly allocated memory, violating soundness.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- marc (crates.io): before 2.0.0; from 0.0.0-0 before 2.0.0
- marc_project marc: before 2.0.0

## 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-0014.html> (exploit, advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-26308> (advisory)
- <https://github.com/blackbeam/rust-marc/issues/7> (report, web)
- <https://github.com/blackbeam/rust-marc/commit/6299af0> (web)
- <https://github.com/blackbeam/rust-marc> (package)
- <https://crates.io/crates/marc> (package)

## Sources

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

---

Page: https://cve.day/CVE-2021-26308 · Whole record: https://cve.day/CVE-2021-26308.json · Rebuilt by cve.day 2026-11-25T22:57:59.753Z
