Skip to main content
VulnerabilityPublished

rpassword affected by partial password reveal when input is interrupted

Affects rpasswordSource GCVE Database

0

CVSS 3.8 Low : upgrade to 7.5.0 when convenient.

Data as of 27 Oct 2026, 00:07 UTC

CVSS 3.1 base score
3.8Low
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 7.5.0
CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N

What to do

Upgrade rpassword to 7.5.0.

Affected software

ProductAffectedFixed in
crates.iorpasswordAffected
  • <7.5.0
Fixed in
  • 7.5.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

rpassword maintainers were made aware of a possible issue with a partial password reveal when input is interrupted. To quote @squell: > @conradkleinespel I've confirmed this problem with SequoiaPGP, which I think uses rpassword, e.g.: > > Suppose we use pkill -9 sq in a different terminal right after the password has been typed in: > > $ sq key generate --userid "barf" --with-password > Enter password to protect the key: Killed > $ hello^C > > Where the password I typed in is "hello". This has been fixed in version v7.5.0 and above.

References

Community reviews

Loading reviews…