GHSA-x77x-7mmh-cxv3: ncurses 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 Oct 22, 2025
Affected packages
ncurses
- Ecosystem
- Rust (crates.io)
- Affected
- <= 6.0.1
- Fixed in
- No patched version yet
- Check
cargo tree -i ncurses
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
