CVE-2026-115835: Sequoia-openpgp: sequoia-openpgp: ascii armor parsing buffers a line without a length limit

Published Oct 23, 2026
·
Updated

A flaw was found in sequoia-openpgp. The ASCII-armor reader buffers each input line with readto(newline) and does not enforce a maximum line length. An attacker-supplied armored message whose line length is comparable to the process memory limit can exhaust memory in the parsing process. Resident memory follows the input size, with a small constant factor from the growable buffer. This is not a classic amplification flaw. The issue is present in sequoia-openpgp 2.4.2. The unreleased fix enforces a 4096-byte line limit.

Other sources

A flaw was found in sequoia-openpgp. The ASCII-armor reader does not limit the length of a line. Parsing an armored message with a very long line can exhaust memory in the process. Memory use follows the input size, with a small constant factor, and is not a classic amplification.

— MITRE

Affected Software

1 affected component
crates.io/sequoia-openpgp=2.4.2

Event History

Oct 23, 2026
Data Sourced
via Red Hat·04:48 PM
DescriptionSeverityAffected Software
Nov 27, 2026
CVE Published
via MITRE·08:19 AM
Data Sourced
via MITRE·08:19 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications that use cargo/sequoia-openpgp to parse ASCII-armored OpenPGP messages are exposed if they accept attacker-controlled armored input. The issue affects the process performing the parsing.

2

What must an attacker do to trigger the memory exhaustion?

An attacker needs to cause the application to parse an ASCII-armored message containing a very long line. No privileges are required, but the supplied vector indicates user interaction is required.

3

Is this a high-amplification memory exhaustion issue?

No. Memory consumption follows the input size with a small constant factor, rather than producing classic amplification. An attacker still may exhaust available process memory by providing sufficiently large input.

4

How can I determine whether an application may be affected?

Identify whether the application depends on cargo/sequoia-openpgp and parses ASCII-armored OpenPGP data. Review whether that data can come from untrusted users or external sources and whether input line lengths are constrained before parsing.

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