Tolerant ASCII armor parsing can select a different block than a strict parser
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Red HatRed Hat Ansible Automation Platform 2 | — | Not listed |
| Red HatRed Hat Enterprise Linux 10 | — | Not listed |
| Red HatRed Hat Enterprise Linux 9 | — | Not listed |
| Red HatRed Hat Hardened Images | — | Not listed |
| Red HatRed Hat OpenShift Container Platform 4 | — | Not listed |
| Red HatRed Hat Satellite 6 | — | Not listed |
| Red HatRed Hat Trusted Profile Analyzer | — | Not listed |
| crates.iosequoia-openpgp |
≥ 0.0.0-0, < 2.5.0→ 2.5.0 |
2.5.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-115836 rust-sequoia-openpgp No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-115836 rust-sequoia-openpgp No fixed version in this record
Original description The description 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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory rustsec.org
- package crates.io
- web secalert@redhat.com
- web secalert@redhat.com
- web nvd.nist.gov
- web github.com
- web gitlab.com