{"id":"GHSA-2p6r-x3vv-xqm2","summary":"rpassword affected by partial password reveal when input is interrupted ","details":"rpassword maintainers were made aware of a possible issue with a partial password reveal when input is interrupted.\n\nTo quote @squell:\n\n\u003e @conradkleinespel I've confirmed this problem with SequoiaPGP, which I think uses rpassword, e.g.:\n\u003e\n\u003e Suppose we use pkill -9 sq in a different terminal right after the password has been typed in:\n\u003e\n\u003e $ sq key generate --userid \"barf\" --with-password\n\u003e Enter password to protect the key: Killed\n\u003e $ hello^C\n\u003e\n\u003e Where the password I typed in is \"hello\".\n\nThis has been fixed in version v7.5.0 and above.","modified":"2026-09-10T03:51:04.143649116Z","published":"2026-05-06T21:49:33Z","database_specific":{"cwe_ids":["CWE-200","CWE-755"],"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2026-05-06T21:49:33Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/conradkleinespel/rpassword/security/advisories/GHSA-2p6r-x3vv-xqm2"},{"type":"PACKAGE","url":"https://github.com/conradkleinespel/rpassword"},{"type":"WEB","url":"https://github.com/conradkleinespel/rpassword/releases/tag/v7.5.0"}],"affected":[{"package":{"name":"rpassword","ecosystem":"crates.io","purl":"pkg:cargo/rpassword"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"7.5.0"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 7.4.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-2p6r-x3vv-xqm2/GHSA-2p6r-x3vv-xqm2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N"}]}