CVE-2026-115836: Tolerant ASCII armor parsing can select a different block than a strict parser
Published 2026-11-27 · Updated 2026-11-29 · Also known as RUSTSEC-2026-0611
Summary
Tolerant ASCII armor parsing in sequoia-openpgp can select a different OpenPGP block than a strict parser, leading to interpretation discrepancies between implementations. Engineering teams using sequoia-openpgp should update to version 2.5.0 or explicitly configure strict parsing mode.
Who is affected
Affected deployments are those processing untrusted OpenPGP messages using the default tolerant ASCII armor parsing mode in sequoia-openpgp. An attacker can construct a message containing an out-of-spec armor block recognized by Sequoia followed by a fully valid block recognized by other implementations, causing different systems to parse different payloads while assuming they processed the same content.
Exploitability
The vulnerability has a CVSS base score of 3.7 with a low severity rating, featuring a network attack vector and high attack complexity requiring no privileges or user interaction. The EPSS score is 0.004 (percentile 0.277), and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade the crates.io sequoia-openpgp package to version 2.5.0 or later.
- Explicitly select ReaderMode::Strict in the application code where strict compliance is essential.
How to check your project
- Inspect Cargo.toml and Cargo.lock files to check if the sequoia-openpgp package version falls within the range introduced at 0.0.0-0 and fixed before 2.5.0.
- Audit application source code for usages of the ASCII armor parser where ReaderMode::Strict is not explicitly enabled.
Automated analysis of the published advisory data, generated 2026-11-29. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| 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:N/S:U/C:N/I:L/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | High |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | Low |
| Availability | None |
FAQ
What is the root cause of CVE-2026-115836?
The vulnerability stems from tolerant ASCII armor parsing behavior in sequoia-openpgp that can process out-of-spec armor blocks differently than strict parsers used by other implementations.
Which package is affected by this vulnerability?
The crates.io package sequoia-openpgp is affected for versions introduced from 0.0.0-0 up to, but not including, 2.5.0.
How can developers prevent this issue besides updating?
Developers can prevent this attack vector by explicitly selecting ReaderMode::Strict to ensure only compliant ASCII-armor blocks are considered.
Original advisory description
References
- PACKAGE https://crates.io/crates/sequoia-openpgp
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0611.html
- WEB https://gitlab.com/sequoia-pgp/sequoia/-/blob/openpgp/v2.5.0/openpgp/NEWS
Source records: RUSTSEC-2026-0611 (OSV.dev) · EPSS by FIRST, 2026-11-29.