GHSA-x77x-7mmh-cxv3
JSON

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 packageVersionsReported by
ncurses (crates.io)up to 6.0.1, from 0.0.0-0GitHub Advisory Database, RustSec Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-x77x-7mmh-cxv3 changed 2025-10-28CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2025-0108 changed 2025-10-28CC0-1.0