CVE-2026-115834
JSON

3.1low

Sequoia-openpgp: sequoia-openpgp: user ids and notation data are displayed without escaping control characters

Severity
3.1low CVSS:3.1 by redhat
Exploit likelihood
0.33% (higher than 28% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
RUSTSEC-2026-0614

Description

A flaw was found in sequoia-openpgp. Display and Debug formatting of User IDs and notation data does not escape control characters. When an application prints those values, a crafted User ID or notation can misrender the identity or alter terminal output.

Affected

Product or packageVersionsReported by
ansible-automation-platform-26/hub-rhel9Not specifiedCVE List
ansible-automation-platform-27/hub-rhel9Not specifiedCVE List
python3.12-pysequoiaNot specifiedCVE List
rust-podman-sequoiaNot specifiedCVE List
rust-rpm-sequoiaNot specifiedCVE List
rust-sequoia-sqNot specifiedCVE List
rust-sequoia-sqvNot specifiedCVE List
trusteeNot specifiedCVE List
trustee-guest-componentsNot specifiedCVE List
kata-containersNot specifiedCVE List
python-pysequoiaNot specifiedCVE List
rhtpa/rhtpa-trustification-service-rhel9Not specifiedCVE List

All scores

redhat3.1low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
RustSec Advisory Database3.1low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N

Classification

CWE-150

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

A flaw was found in sequoia-openpgp. Display and Debug formatting of User IDs and notation data does not escape control characters. When an application prints those values, a crafted User ID or notation can misrender the identity or alter terminal output.

RustSec Advisory Database

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

Sources

SourceRecordLicence
CVE ListCVE-2026-115834 changed 2026-12-01CVE Terms of Use
RustSec Advisory DatabaseRUSTSEC-2026-0614 changed 2026-11-29CC0-1.0
NVDCVE-2026-115834 changed 2026-12-01Public domain