User IDs and notation data are displayed without escaping control characters
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Sequoia PGPsequoia-openpgp |
< 2.5.0→ 2.5.0 |
2.5.0 |
| Red HatRed Hat Ansible Automation Platform 2 | — | Not listed |
| Red HatRed Hat Enterprise Linux 10 | — | Not listed |
| Red HatRed Hat Enterprise Linux 9 | — | Not listed |
| Red HatRed Hat Hardened Images | — | Not listed |
| Red HatRed Hat OpenShift Container Platform 4 | — | Not listed |
| Red HatRed Hat Satellite 6 | — | Not listed |
| Red HatRed Hat Trusted Profile Analyzer | — | Not listed |
| crates.iosequoia-openpgp |
≥ 0.0.0-0, < 2.5.0→ 2.5.0 |
2.5.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-115834 rust-sequoia-openpgp No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-115834 rust-sequoia-openpgp No fixed version in this record
Original description The description as published by the source.
Users of the library often display attacker-controlled user IDs and notation
data. If these contain control characters, this can cause problems. For
instance, if a user ID contains an embedded NUL character, libraries that use C
strings may display a truncated version. If the data is displayed in a
terminal, an attacker can inject newlines to perform a sigspoof-style attack, or
they can control the user's terminal by injecting ANSI escape sequences.
Unfortunately, it is easy to forgot to sanitize these values. To mitigate this
risk, the display and debug implementations of UserID and NotationData now
escape control characters. The display of these values does not change for
legitimate users, who do use control characters for user IDs or notations.
Going forward, users who used String::from_utf8_lossy(userid.value()) to
display a user ID should just display userid directly.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory rustsec.org
- package crates.io
- web gitlab.com
- web crates.io
- web secalert@redhat.com
- web secalert@redhat.com
- web nvd.nist.gov
- web github.com
- web gitlab.com