{"id":"RUSTSEC-2025-0108","summary":"Uninitialized memory exposure in string reading functions","details":"Multiple string reading functions expose uninitialized memory by setting length to capacity when no null terminator is found.\n\nThis allows reading uninitialized memory which may contain sensitive data from previous allocations.\n\nThe ncurses-rs repository is archived and unmaintained.","aliases":["GHSA-x77x-7mmh-cxv3"],"modified":"2025-10-28T06:29:26.788646Z","published":"2025-10-21T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/ncurses"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2025-0108.html"},{"type":"WEB","url":"https://github.com/RustSec/advisory-db/pull/2427"}],"affected":[{"package":{"name":"ncurses","ecosystem":"crates.io","purl":"pkg:cargo/ncurses"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}],"ecosystem_specific":{"affects":{"functions":["ncurses::inchnstr","ncurses::inchstr","ncurses::innstr","ncurses::mvwinchnstr","ncurses::mvwinchstr","ncurses::mvwinnstr","ncurses::winchnstr","ncurses::winchstr","ncurses::winnstr","ncurses::winstr"],"arch":[],"os":[]},"affected_functions":null},"database_specific":{"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2025-0108.json","cvss":null,"informational":"unsound","categories":["memory-exposure"]}}],"schema_version":"1.7.3"}