{"id":"RUSTSEC-2026-0611","summary":"Tolerant ASCII armor parsing can select a different block than a strict parser","details":"The ASCII armor parser has a new mode, `ReaderMode::Strict`, which only\nconsiders compliant ASCII-armor blocks.  This should be used when it is\nessential that a message be understood in the same way by different\nimplementations.  For instance, an attacker could leverage the current tolerant\nmode to create a message that is interpreted one way by Sequoia and another way\nby a different implementation.  Imagine a file that contains an out-of-spec\nASCII-armor block that only Sequoia understands followed by a fully valid\nASCII-armor block.  Sequoia will parse the first block and the other\nimplementation will parse the second one. This can lead to two people who have\nthe message assuming that the same thing has been parsed, when in fact they got\ndifferent things.\n\nTo prevent this attack, users must explicitly select `ReaderMode::Strict`.","aliases":["CVE-2026-115836"],"modified":"2026-11-29T16:00:03.590607365Z","published":"2026-11-27T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/sequoia-openpgp"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0611.html"},{"type":"WEB","url":"https://gitlab.com/sequoia-pgp/sequoia/-/blob/openpgp/v2.5.0/openpgp/NEWS"}],"affected":[{"package":{"name":"sequoia-openpgp","ecosystem":"crates.io","purl":"pkg:cargo/sequoia-openpgp"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"2.5.0"}]}],"ecosystem_specific":{"affects":{"functions":[],"arch":[],"os":[]},"affected_functions":null},"database_specific":{"informational":null,"categories":[],"cvss":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0611.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}