RUSTSEC-2026-0614

Source
https://rustsec.org/advisories/RUSTSEC-2026-0614
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0614.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2026-0614
Aliases
  • CVE-2026-115834
Published
2026-11-27T12:00:00Z
Modified
2026-11-29T16:00:03Z
Severity
  • 3.1 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N CVSS Calculator
Summary
User IDs and notation data are displayed without escaping control characters
Details

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.

Database specific
{
    "license":  "CC0-1.0"
}
References

Affected packages

crates.io / sequoia-openpgp

Package

Name
sequoia-openpgp
View open source insights on deps.dev
Purl
pkg:cargo/sequoia-openpgp

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
2.5.0

Ecosystem specific

{
    "affected_functions":  null,
    "affects":  {
        "arch":  [],
        "functions":  [],
        "os":  []
    }
}

Database specific

categories
[
    "format-injection"
]
cvss
"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N"
informational
null
source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0614.json"