# GHSA-2p6r-x3vv-xqm2: rpassword affected by partial password reveal when input is interrupted

- Severity: Low 3.8 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-05-06T21:49:33.000Z
- Modified: 2026-09-10T03:51:04.143Z
- Weaknesses: CWE-200, CWE-755

## 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.

(As written by GitHub Advisory Database.)

## Affected

- rpassword (crates.io): before 7.5.0

## References

- <https://github.com/conradkleinespel/rpassword/security/advisories/GHSA-2p6r-x3vv-xqm2> (web)
- <https://github.com/conradkleinespel/rpassword> (package)
- <https://github.com/conradkleinespel/rpassword/releases/tag/v7.5.0> (web)

## Sources

- GitHub Advisory Database: [GHSA-2p6r-x3vv-xqm2](https://github.com/advisories/GHSA-2p6r-x3vv-xqm2), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/GHSA-2p6r-x3vv-xqm2 · Whole record: https://cve.day/GHSA-2p6r-x3vv-xqm2.json · Rebuilt by cve.day 2026-11-25T22:56:42.143Z
