Skip to content

Commit d67a3d9

Browse files
committed
New advisory for ncurses:unsound
1 parent d47b07c commit d67a3d9

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
```toml
2+
[advisory]
3+
id = "RUSTSEC-0000-0000"
4+
package = "ncurses"
5+
date = "2025-10-21"
6+
url = "https://gist.github.com/lewismosciski/e5b5519b875ebbb3900056023ee9f128"
7+
informational = "unsound"
8+
categories = ["memory-exposure"]
9+
keywords = ["memory-safety", "soundness"]
10+
11+
[affected.functions]
12+
"ncurses::inchnstr" = ["<=6.0.1"]
13+
"ncurses::inchstr" = ["<=6.0.1"]
14+
"ncurses::innstr" = ["<=6.0.1"]
15+
"ncurses::mvwinchnstr" = ["<=6.0.1"]
16+
"ncurses::mvwinchstr" = ["<=6.0.1"]
17+
"ncurses::mvwinnstr" = ["<=6.0.1"]
18+
"ncurses::winchnstr" = ["<=6.0.1"]
19+
"ncurses::winchstr" = ["<=6.0.1"]
20+
"ncurses::winnstr" = ["<=6.0.1"]
21+
"ncurses::winstr" = ["<=6.0.1"]
22+
23+
[versions]
24+
patched = []
25+
```
26+
27+
# Soundness issue: Uninitialized memory exposure
28+
29+
Multiple functions improperly use `Vec::set_len()` and `String::set_len()`, setting the length to full capacity when no null terminator is found. This exposes uninitialized memory containing potentially sensitive data.
30+
31+
The ncurses-rs repository is archived and unmaintained. Users should migrate to maintained alternatives such as `crossterm` or `termion`.

0 commit comments

Comments
 (0)