CVE-2026-115836: Sequoia-openpgp: sequoia-openpgp: tolerant ascii armor parsing can select a different block than a strict parser

Published Oct 23, 2026
·
Updated

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.

Other sources

A flaw was found in sequoia-openpgp. The default ASCII-armor ReaderMode is Tolerant. Header detection treats Unicode dash punctuation, including en dash and em dash, as armor framing dashes, and the header search ignores leading quote characters such as greater-than. A byte stream can therefore contain an out-of-specification armor region that this reader accepts and a later specification-compliant region that a strict reader accepts. The two readers then yield different data. sequoia-openpgp 2.4.2 has no ReaderMode::Strict. The unreleased fix adds that mode as an opt-in. The default remains tolerant.

— Red Hat

Affected Software

1 affected component
crates/sequoia-openpgp=2.4.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Opt in to strict ASCII-armor parsing; ReaderMode::Strict is unavailable in sequoia-openpgp 2.4.2.

    sequoia-openpgp ASCII-armor parser ReaderMode = Strict

Event History

Oct 23, 2026
Data Sourced
via Red Hat·04:51 PM
DescriptionSeverityAffected Software
Nov 27, 2026
CVE Published
via MITRE·08:22 AM
Data Sourced
via MITRE·08:22 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Are applications using the default parser affected?

Yes. The default ASCII-armor parser remains tolerant; strict parsing is opt-in.

2

What must an attacker provide to exploit this behavior?

An attacker needs to supply a crafted byte stream using Unicode dash characters in armor framing and/or leading quote characters. This can cause the tolerant parser to select one message while a strict ASCII-armor parser selects a different one.

3

What can be done if changing the dependency is not immediately possible?

Use the opt-in strict ASCII-armor parsing mode where possible. This avoids the default tolerant handling described for Unicode dash characters and leading quote characters.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203