LOW · CVSS 3.1 3.1 EPSS 0.3% · 19th percentile

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

How to check your project

Automated analysis of the published advisory data, generated 2026-11-29. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
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 vectorNetwork
Attack complexityHigh
Privileges requiredNone
User interactionRequired
ScopeUnchanged
ConfidentialityNone
IntegrityLow
AvailabilityNone

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
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.

References

Source records: RUSTSEC-2026-0614 (OSV.dev) · EPSS by FIRST, 2026-11-29.