IntelligenceAdvisoriesAdvisory
RUSTSEC-2026-0611
Tolerant ASCII armor parsing can select a different block than a strict parser
In short
What to know.
- Package
- sequoia-openpgp crates.iofrom 0.0.0-0 before 2.5.0
- What to do
- Upgrade sequoia-openpgp to 2.5.0 or later.
- Source's rating
- Not ratedNoumen has not assessed it.
- Noumen finding
- NMN-2026-0185Candidate. Severity unknown, confidence high.
3 December 2026
Source
- OSV record RUSTSEC-2026-0611osv.devRetrieved 3 December 2026
Full record
- Identifier
- RUSTSEC-2026-0611
- Aliases
- CVE-2026-115836
- Severity
- Not rated, as rated by the source. Noumen has not assessed it.
- CVSS
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- Fixed versions
- 2.5.0
- Published
- 27 November 2026
- Modified
- 29 November 2026
- Source
- OSV record RUSTSEC-2026-0611, retrieved 3 December 2026, 00:00 UTC
Affected packages and ranges
| Package | Affected versions | Fixed in |
|---|---|---|
| sequoia-openpgp crates.io | from 0.0.0-0 before 2.5.0 | 2.5.0 |
Affected means inside a published range, not that the code path is reachable in your project.
Details, as published by the source
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`.