GHSA-x77x-7mmh-cxv3
medium
ncurses exposes uninitialized memory in string reading functions
- Severity
- medium CVSS:4.0 by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2025-0108
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ncurses (crates.io) | up to 6.0.1, from 0.0.0-0 | GitHub Advisory Database, RustSec Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-x77x-7mmh-cxv3 changed 2025-10-28 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2025-0108 changed 2025-10-28 | CC0-1.0 |