{"id":"RUSTSEC-2026-0616","summary":"Unescaped control characters in user IDs enable terminal output spoofing","details":"We were not always careful to ensure that control characters in e.g. user IDs,\nwere escaped.  For instance, `sq verify` did not correctly sanitize the signer's\nuser ID.  An attacker could use this to embed ANSI cursor movement sequences in\na user ID to overwrite a verification warning with fake \"Fully authenticated\"\ntext thereby spoofing the signature verification result.\n\nNote: this attack can be used to modify the human readable output; it cannot be\nused to influence the control plane, like in the sigspoof attacks.\n\n\u003chttps://en.wikipedia.org/wiki/SigSpoof\u003e\n\nThis has been fixed by upgrading to the latest version of `sequoia-openpgp`,\nwhose implementations of `Display` and `Debug` for `UserID` (as well as other\ndata structures) escape any control characters.","aliases":["CVE-2026-121478"],"modified":"2026-11-29T16:00:03.876829175Z","published":"2026-11-27T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/sqz"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0616.html"},{"type":"WEB","url":"https://gitlab.com/sequoia-pgp/sequoia-sq/-/blob/sqz/v0.2.0/lib/NEWS"}],"affected":[{"package":{"name":"sqz","ecosystem":"crates.io","purl":"pkg:cargo/sqz"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.2.0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"os":[],"functions":[]}},"database_specific":{"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0616.json","categories":["format-injection"],"cvss":null,"informational":null}}],"schema_version":"1.9.2"}