# CVE-2021-25905: Out of bounds read in bra

- Severity: Critical 9.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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.66%, higher than 77% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-01-02T12:00:00.000Z
- Modified: 2026-06-17T03:42:33.303Z
- Also known as: GHSA-j8qq-58cr-8cc7, RUSTSEC-2021-0008
- Weaknesses: CWE-125, CWE-908
- Assigned by: mitre

## Description

An issue was discovered in the bra crate before 0.1.1 for Rust. It lacks soundness because it can read uninitialized memory.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- bra (crates.io): before 0.1.1; from 0.0.0-0 before 0.1.1
- bra_project bra: before 0.1.1

## Every score

- 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`
- RustSec Advisory Database: 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 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:P`

## References

- <https://rustsec.org/advisories/RUSTSEC-2021-0008.html> (exploit, advisory, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25905> (advisory)
- <https://github.com/Enet4/bra-rs/issues/1> (report, web)
- <https://github.com/Enet4/bra-rs/commit/aabf5562f8c6374ab30f615b28e0cff9b5c79e5f> (web)
- <https://github.com/Enet4/bra-rs> (package)
- <https://crates.io/crates/bra> (package)

## Sources

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

---

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