RUSTSEC-2025-0108

Source
https://rustsec.org/advisories/RUSTSEC-2025-0108
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2025-0108.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2025-0108
Published
2025-10-21T12:00:00Z
Modified
2025-10-22T11:48:30Z
Summary
Uninitialized memory exposure 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.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / ncurses

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0

Ecosystem specific

{
    "affects": {
        "arch": [],
        "os": [],
        "functions": [
            "ncurses::inchnstr",
            "ncurses::inchstr",
            "ncurses::innstr",
            "ncurses::mvwinchnstr",
            "ncurses::mvwinchstr",
            "ncurses::mvwinnstr",
            "ncurses::winchnstr",
            "ncurses::winchstr",
            "ncurses::winnstr",
            "ncurses::winstr"
        ]
    },
    "affected_functions": null
}

Database specific

categories

[
    "memory-exposure"
]

informational

"unsound"

cvss

null