CVE-2026-115834: User IDs and notation data are displayed without escaping control characters
Published 2026-11-27 · Updated 2026-11-29 · Also known as RUSTSEC-2026-0614
Summary
The sequoia-openpgp library fails to escape control characters in user IDs and notation data, leading to potential terminal manipulation or spoofing attacks. Developers and engineers using the library should update to address this issue.
Who is affected
When applications display attacker-controlled user IDs or notation data containing control characters, problems such as string truncation or terminal manipulation via ANSI escape sequences can occur. Exploitation requires network access and user interaction to display the untrusted data.
Exploitability
The vulnerability has a low CVSS base score of 3.1 with a vector of CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N, indicating that it requires high attack complexity and user interaction over the network. The EPSS score is 0.003 and CISA KEV status is no, meaning active exploitation is not documented.
Remediation
- Upgrade the crates.io package sequoia-openpgp to version 2.5.0 or later.
- Display `userid` directly instead of using `String::from_utf8_lossy(userid.value())`.
How to check your project
- Check Cargo.toml and Cargo.lock files to determine if the project uses sequoia-openpgp versions prior to 2.5.0.
Automated analysis of the published advisory data, generated 2026-11-29. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| crates.io | sequoia-openpgp |
>= 0.0.0-0, < 2.5.0 | 2.5.0 | cargo update -p sequoia-openpgp --precise 2.5.0 |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | High |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | Low |
| Availability | None |
FAQ
What packages are affected?
The crates.io package sequoia-openpgp introduced in version 0.0.0-0 and fixed in version 2.5.0 is affected.
Is there any active exploitation of this vulnerability?
No, CISA Known Exploited Vulnerabilities status is no and active exploitation is not documented.
How can applications avoid string sanitization errors for user IDs?
The display and debug implementations of UserID and NotationData now automatically escape control characters, so applications can display `userid` directly.
Original advisory description
References
- PACKAGE https://crates.io/crates/sequoia-openpgp
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0614.html
- WEB https://gitlab.com/sequoia-pgp/sequoia/-/blob/openpgp/v2.5.0/openpgp/NEWS
Source records: RUSTSEC-2026-0614 (OSV.dev) · EPSS by FIRST, 2026-11-29.