Skip to content

Commit cbeb046

Browse files
lewismosciskidjc
authored andcommitted
Add advisory for ncurses uninitialized memory exposure
1 parent 58f3aae commit cbeb046

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
```toml
2+
[advisory]
3+
id = "RUSTSEC-0000-0000"
4+
package = "ncurses"
5+
date = "2025-10-21"
6+
url = "https://github.com/RustSec/advisory-db/pull/2427"
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+
# Uninitialized memory exposure in string reading functions
28+
29+
Multiple string reading functions expose uninitialized memory by setting length to capacity when no null terminator is found.
30+
31+
This allows reading uninitialized memory which may contain sensitive data from previous allocations.
32+
33+
The ncurses-rs repository is archived and unmaintained.

0 commit comments

Comments
 (0)