3.7low
Sequoia-openpgp: sequoia-openpgp: tolerant ascii armor parsing can select a different block than a strict parser
- Severity
- 3.7low CVSS:3.1 by redhat
- Exploit likelihood
- 0.42% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- RUSTSEC-2026-0611
Description
A flaw was found in sequoia-openpgp. The default ASCII-armor parser accepts Unicode dash characters in armor framing and ignores leading quote characters. A crafted byte stream can be parsed as one message by this tolerant parser and as a different message by a strict ASCII-armor parser. The strict mode is opt-in; the default parser remains tolerant.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ansible-automation-platform-26/hub-rhel9 | Not specified | CVE List |
| ansible-automation-platform-27/hub-rhel9 | Not specified | CVE List |
| python3.12-pysequoia | Not specified | CVE List |
| rust-podman-sequoia | Not specified | CVE List |
| rust-rpm-sequoia | Not specified | CVE List |
| rust-sequoia-sq | Not specified | CVE List |
| rust-sequoia-sqv | Not specified | CVE List |
| trustee | Not specified | CVE List |
| trustee-guest-components | Not specified | CVE List |
| kata-containers | Not specified | CVE List |
| python-pysequoia | Not specified | CVE List |
| rhtpa/rhtpa-trustification-service-rhel9 | Not specified | CVE List |
| rhtpa/rhtpa-rhel10 | Not specified | CVE List |
| sequoia-openpgp (crates.io) | from 0.0.0-0 before 2.5.0 | RustSec Advisory Database |
All scores
| redhat | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| RustSec Advisory Database | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
A flaw was found in sequoia-openpgp. The default ASCII-armor parser accepts Unicode dash characters in armor framing and ignores leading quote characters. A crafted byte stream can be parsed as one message by this tolerant parser and as a different message by a strict ASCII-armor parser. The strict mode is opt-in; the default parser remains tolerant.
RustSec Advisory Database
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-115836 changed 2026-11-27 | CVE Terms of Use |
| RustSec Advisory Database | RUSTSEC-2026-0611 changed 2026-11-29 | CC0-1.0 |
| NVD | CVE-2026-115836 changed 2026-11-27 | Public domain |