{"id":"RUSTSEC-2026-0616","aliases":["CVE-2026-121478"],"title":"Unescaped control characters in user IDs enable terminal output spoofing","titleSource":"OSV","descriptionSource":"OSV","description":"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<https://en.wikipedia.org/wiki/SigSpoof>\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.","severity":"unknown","score":null,"published":"2026-11-27T12:00:00.000Z","modified":"2026-11-29T16:00:03.876Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"crates.io","name":"sqz","sources":[{"name":"OSV · RUSTSEC-2026-0616","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0616"}],"ranges":[{"events":[{"introduced":"0.0.0-0"},{"fixed":"0.2.0"}],"type":"SEMVER"}],"versions":[],"fixed":["0.2.0"]}],"sourceAffected":[],"references":["https://crates.io/crates/sqz","https://rustsec.org/advisories/RUSTSEC-2026-0616.html","https://gitlab.com/sequoia-pgp/sequoia-sq/-/blob/sqz/v0.2.0/lib/NEWS"],"sources":[{"name":"OSV","id":"RUSTSEC-2026-0616","modified":"2026-11-29T16:00:03.876829175Z","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0616"}],"assessments":[],"products":[],"remediation":[],"observedAt":"2026-11-29T16:30:41.669Z","kev":{"status":"not-listed","checkedAt":"2026-11-29T21:00:32.443Z"},"coverage":[{"source":"NVD","status":"no-result","checkedAt":"2026-11-29T16:35:36.446Z","attemptedAt":"2026-11-29T16:35:36.446Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-29T16:35:35.264Z","attemptedAt":"2026-11-29T16:35:35.264Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-29T16:35:35.626Z","attemptedAt":"2026-11-29T16:35:35.626Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-29T16:35:36.617Z","attemptedAt":"2026-11-29T16:35:36.617Z"}],"evidence":[],"aiSummary":null}