Security mailing lists by PureSourceCode

GHSA-x77x-7mmh-cxv3

MEDIUM

ncurses exposes uninitialized memory in string reading functions

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.

Published
21 Oct 2025
Last modified
28 Oct 2025
Weakness
CWE-125
Also known as
RUSTSEC-2025-0108
Sources
OSVJSONOSV RUSTSEC-2025-0108JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io ncurses <= 6.0.1
OSV crates.io ncurses >= 0.0.0-0

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Oct 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Oct 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.