Advisory

GHSA-x77x-7mmh-cxv3

Also known as: RUSTSEC-2025-0108

Summary

ncurses exposes uninitialized memory in string reading functions

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-10-22 17:08 UTC
Modified
2025-10-28 06:29 UTC

Affected packages and fixes

ncurses

crates.io · All systems

Affected

  • introduced 0, last affected 6.0.1 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences