Skip to main content

Sequoia PGP CVE-2025-67897

MEDIUM
Signed to Unsigned Conversion Error (CWE-195)
2025-12-14 cve@mitre.org
5.3
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft short-ciphertext PKESK/SKESK packet
  2. Exploit
    Send encrypted message to victim
  3. Impact
    Victim app decrypts and panics (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Signed/unsigned conversion safety
Exploitation Conditions

Exploitation requires the victim to decrypt or otherwise process an attacker-supplied OpenPGP message whose PKESK or SKESK session-key packet contains an AES key-wrap ciphertext that is too short, triggering a panic in aes_key_unwrap. Affected: any application built on Sequoia openpgp before 2.1.0. No authentication is required (PR:N), but exploitation is limited by required user interaction (UI:R) - the target must actually attempt to decrypt the malicious message - and impact is confined to a crash (availability only); there is no code execution or data disclosure.

Impact

This is a moderate-severity denial-of-service issue, not a high-priority emergency. The NVD CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H, 5.3) correctly limits impact to availability only (A:H) with no confidentiality or integrity impact - the bug is a Rust panic (CWE-195, signed-to-unsigned conversion / integer underflow leading to an out-of-bounds length) in aes_key_unwrap when handling a too-short ciphertext. All exploitation signals point to low real-world urgency: there is no CISA KEV listing, no public exploit code referenced, and no EPSS score supplied in the input. One signal is worth flagging as questionable: NVD rates AC:H, but crafting an undersized ciphertext in a PKESK/SKESK packet is trivial, so attack complexity is arguably LOW - the real brake on exploitation is UI:R (a victim must actually decrypt the attacker's message), not complexity. Net: a genuine but self-contained crash bug in applications built on the Sequoia OpenPGP library; worth patching promptly but it does not enable code execution or data compromise, and there is no evidence of active exploitation.

Exploit ScenarioDerived

An attacker composes an OpenPGP-encrypted message for a victim in which the session-key packet (PKESK or SKESK) carries a deliberately truncated AES key-wrap ciphertext. When the victim's application uses Sequoia (openpgp < 2.1.0) to decrypt the message, aes_key_unwrap panics and the application crashes. No public proof-of-concept is referenced, but the malformed packet is simple to produce by hand.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 14, 2026

Denial of service in Sequoia PGP before 2.1.0 allows a remote, unauthenticated attacker (CVSS vector PR:N) to crash any application built on the sequoia-openpgp crate by sending a victim an OpenPGP message whose PKESK or SKESK session-key packet carries an AES key-wrap ciphertext that is shorter than the algorithm requires; the undersized input drives aes_key_unwrap into a panic. Exploitation is constrained by user interaction (UI:R) - the target must actually attempt to decrypt or otherwise process the malicious message - and impact is limited to availability, with no code execution, data disclosure, or integrity loss. This is a moderate-severity availability issue rather than a high-priority emergency, and no public exploit identified at time of analysis; Sequoia 2.1.0 contains the upstream fix.

RemediationAI

Vendor-released patch: upgrade to Sequoia PGP / sequoia-openpgp 2.1.0, which is the first release containing the fix; the upstream commit is b59886e5e7bdf7169ed330f309a6633d131776e5 and the release notes documenting the correction are in the project's openpgp NEWS file at gitlab.com/sequoia-pgp/sequoia/-/blob/b59886e5e7bdf7169ed330f309a6633d131776e5/openpgp/NEWS#L7-L26, with Debian-specific tracking at bugs.debian.org/1122582 so that distributions rebuild dependent packages against the corrected library. Because the flaw lives in a library, applications that statically link or vendor Sequoia must be recompiled and redeployed - updating a distribution package alone will not patch an application built against an older vendored copy. Where immediate upgrade is impossible, effective compensating controls are architectural: isolate decryption of untrusted OpenPGP data into a separate, short-lived worker process supervised for automatic restart, so a panic degrades one message-handling task instead of a long-running service (trade-off: added process-management complexity and a brief availability gap on each crash); and wrap the decryption entry point in Rust's panic-catching mechanism (std::panic::catch_unwind) so the failure is converted to a handled error (trade-off: ineffective if the build uses panic = "abort", which must be changed to unwinding first). Deployments that do not require v6 PKESK/SKESK interoperability can additionally reject v6 messages that carry AES-key-wrapped session keys at the application boundary, at the cost of losing standards-compliant v6 message handling. Note that no patch-free alternative fully removes the exposure, since the trigger is legitimate-looking ciphertext processed on the normal decrypt path.

Affected Packages

cargo sequoia-openpgp fix: 2.1.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in cargo

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Sequoia is a Rust implementation of OpenPGP that is consumed both as the standalone sequoia-pgp tooling and, more commonly, as the sequoia-openpgp crate embedded in mail clients, package managers, and other software that must parse and decrypt OpenPGP data. The vulnerable path is session-key handling: modern (v6) PKESK and SKESK packets can transport the message's symmetric session key wrapped with AES Key Wrap (RFC 3394), which requires an input of at least 16 bytes plus the 8-byte integrity check register. Sequoia's aes_key_unwrap did not validate the declared ciphertext length before unwrapping it. The assigned weakness, CWE-195 (Signed to Unsigned Conversion Error), is consistent with a length or slice bound being derived from an unchecked value inside the Rust routine, so a truncated ciphertext produces an out-of-range computation and a panic instead of a recoverable parse error. Because Rust panics unwind (or abort, depending on build profile) and the unwrap call sits on the ordinary decryption path, the failure escapes as a process-level crash rather than a handled error. The reference list points to Debian bug 1122582 and to the upstream fix commit b59886e5e7bdf7169ed330f309a6633d131776e5, whose NEWS fragment documents the correction in the 2.1.0 release; no CPE strings were supplied with the advisory, so affected scope must be derived from the project and its downstream packages.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 5.3 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

Crafting a short ciphertext is trivial (AC:L, not NVD's AC:H); victim must decrypt the message (UI:R); unauthenticated (PR:N); crash-only, so C:N/I:N/A:H.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

In Sequoia before 2.1.0, aes_key_unwrap panics if passed a ciphertext that is too short. A remote attacker can take advantage of this issue to crash an application by sending a victim an encrypted message with a crafted PKESK or SKESK packet.

Threat Intelligence Overview

EPSS Score
0.4%
Top 73% exploitable
Prevalence
Low
niche Rust OpenPGP library; some Debian tooling use, limited broad footprint
Data Quality
2 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy