MEDIUM · CVSS 3.1 6.5 EPSS 0.5% · 34th percentile

CVE-2026-115835: ASCII armor parsing buffers a line without a length limit

Published 2026-11-27 · Updated 2026-11-29 · Also known as RUSTSEC-2026-0610

Summary

The ASCII-armor reader in sequoia-openpgp lacks a length limit on lines, allowing memory exhaustion when parsing very long lines. Developers and maintainers using vulnerable versions of the crate must update.

Who is affected

Deployments parsing untrusted OpenPGP ASCII-armor input over network or file interfaces are affected. An attacker providing a message with an excessively long line can cause a denial of service through memory exhaustion.

Exploitability

The vulnerability has a CVSS base score of 6.5 (Medium) with network attack vector and low complexity, requiring user interaction. It has an EPSS score of 0.005 and is not listed in the CISA Known Exploited Vulnerabilities catalog.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-29. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
crates.io sequoia-openpgp >= 0.0.0-0, < 2.5.0 2.5.0 cargo update -p sequoia-openpgp --precise 2.5.0

CVSS 3.1 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionRequired
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh

FAQ

What causes the vulnerability?

The vulnerability is caused by the ASCII-armor reader buffering a line without a length limit, leading to unbounded memory allocation.

Is there a fixed version available?

Yes, sequoia-openpgp version 2.5.0 fixes the issue by enforcing a 4096 byte line length limit.

Is this vulnerability actively exploited in the wild?

No, CISA Known Exploited Vulnerabilities status is no.

Original advisory description
The ASCII-armor reader did not limit the length of a line, parsing an armored message with a very long line could exhaust memory in the process. Memory use follows the input size, with a small constant factor, and is not a classic amplification. A 4096 byte line length of ASCII-armor input is now enforced to prevent a potentially unbounded memory allocation.

References

Source records: RUSTSEC-2026-0610 (OSV.dev) · EPSS by FIRST, 2026-11-29.