jeaye/ncurses-rs · Security

ncurses exposes uninitialized memory in string reading functions

GHSA ID
GHSA-x77x-7mmh-cxv3
Severity
medium
Published
Updated
CVSS v4
5.5 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P

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.

CWEs

References