# CVE-2020-36512: InputStream::read_exact : `Read` on uninitialized buffer causes UB

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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.23%, higher than 69% of CVEs (2026-12-01)
- Published: 2020-12-31T12:00:00.000Z
- Modified: 2026-06-17T03:15:37.547Z
- Also known as: GHSA-hmx9-jm3v-33hv, GHSA-v938-qcc9-rwv8, RUSTSEC-2020-0154
- Weaknesses: CWE-908
- Assigned by: mitre

## Description

An issue was discovered in the buffoon crate through 2020-12-31 for Rust. InputStream::read_exact may read from uninitialized memory locations.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- buffoon (crates.io): up to 0.5.0; from 0.0.0-0
- buffoon_project buffoon: 0.5.0

## Every score

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

## References

- <https://rustsec.org/advisories/RUSTSEC-2020-0154.html> (advisory, third-party-advisory, web)
- <https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/buffoon/RUSTSEC-2020-0154.md> (third-party-advisory, web)
- <https://github.com/carllerche/buffoon/issues/2> (report, web)
- <https://github.com/carllerche/buffoon> (package)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-36512> (advisory)
- <https://crates.io/crates/buffoon> (package)

## Sources

- CVE List: [CVE-2020-36512](https://www.cve.org/CVERecord?id=CVE-2020-36512), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-hmx9-jm3v-33hv](https://github.com/advisories/GHSA-hmx9-jm3v-33hv), CC-BY-4.0, modified 2023-11-08
- GitHub Advisory Database: [GHSA-v938-qcc9-rwv8](https://github.com/advisories/GHSA-v938-qcc9-rwv8), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2020-0154](https://rustsec.org/advisories/RUSTSEC-2020-0154.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2020-36512](https://nvd.nist.gov/vuln/detail/CVE-2020-36512), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-36512 · Whole record: https://cve.day/CVE-2020-36512.json · Rebuilt by cve.day 2026-11-25T22:57:58.558Z
