Vulnerability RUSTSEC-2026-0614

Low Risk
LOW RISK
CVSS Score: 3.1
Score Range: < 4.0
Low severity vulnerabilities (CVSS < 4.0). Hygiene issues that can accumulate but pose lower immediate risk.
2 days ago
November 27, 2026 at 12:00 PM UTC
User IDs and notation data are displayed without escaping control characters
>=0.0.0-0 <2.5.0
>=0.0.0-0 <2.5.0

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.

Impacted packages

Timeline

Published
2 days ago
November 27, 2026 at 12:00 PM UTC
Fixed (2.5.0)
4 days ago
November 25, 2026 at 02:42 PM UTC
Last Modified
15 hours ago
November 29, 2026 at 04:00 PM UTC