LOW · CVSS 3.1 3.7 EPSS 0.4% · 28th percentile

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

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:N/S:U/C:N/I:L/A:N

Attack vectorNetwork
Attack complexityHigh
Privileges requiredNone
User interactionNone
ScopeUnchanged
ConfidentialityNone
IntegrityLow
AvailabilityNone

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
The ASCII armor parser has a new mode, `ReaderMode::Strict`, which only considers compliant ASCII-armor blocks. This should be used when it is essential that a message be understood in the same way by different implementations. For instance, an attacker could leverage the current tolerant mode to create a message that is interpreted one way by Sequoia and another way by a different implementation. Imagine a file that contains an out-of-spec ASCII-armor block that only Sequoia understands followed by a fully valid ASCII-armor block. Sequoia will parse the first block and the other implementation will parse the second one. This can lead to two people who have the message assuming that the same thing has been parsed, when in fact they got different things. To prevent this attack, users must explicitly select `ReaderMode::Strict`.

References

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