RUSTSEC-2025-0108
MEDIUMncurses exposes uninitialized memory in string reading functions
Multiple string reading functions expose uninitialized memory by setting length to capacity when no null terminator is found.
This allows reading uninitialized memory which may contain sensitive data from previous allocations.
The ncurses-rs repository is archived and unmaintained.
- Published
- 21 Oct 2025
- Last modified
- 28 Oct 2025
- Weakness
- CWE-125
- Also known as
- GHSA-x77x-7mmh-cxv3
- Sources
- OSV GHSA-x77x-7mmh-cxv3JSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | ncurses | <= 6.0.1 | |
| OSV | crates.io | ncurses | >= 0.0.0-0 |
References
- https://github.com/RustSec/advisory-db/pull/2427 · WEB
- https://github.com/jeaye/ncurses-rs · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2025-0108.html · WEB, ADVISORY
- https://crates.io/crates/ncurses · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Oct 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Oct 2025)