REDHAT-BUG-2560029: Low severity crates/sequoia-openpgp vulnerability

Published Oct 23, 2026
·
Updated

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.

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 ReaderMode::Strict when using a version that includes the fix; sequoia-openpgp 2.4.2 does not provide this mode.

    sequoia-openpgp ASCII-armor Reader ReaderMode = Strict

Event History

Oct 23, 2026
Data Sourced
via Red Hat·04:51 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is exposed to this parsing discrepancy?

Applications that use sequoia-openpgp to read ASCII-armored input and rely on its interpretation matching a specification-compliant or stricter downstream reader are exposed. The issue is relevant when attackers can supply or influence armored byte streams.

2

Does the default configuration accept the problematic input?

Yes. The default ASCII-armor ReaderMode is Tolerant, and it remains tolerant after the unreleased fix. Tolerant mode accepts Unicode dash punctuation as framing dashes and ignores leading quote characters during header search.

3

What does an attacker need to exploit this behavior?

An attacker needs to provide an ASCII-armored byte stream containing an out-of-specification armor region accepted by Sequoia's tolerant reader and a later region accepted by a strict reader. This can cause the two readers to yield different data from the same stream.

4

What mitigation is available if an application needs strict parsing?

The unreleased fix adds ReaderMode::Strict as an opt-in mode. sequoia-openpgp 2.4.2 does not provide ReaderMode::Strict, so applications on that version cannot enable this strict-mode mitigation.

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