Skip to content
OpenAdvisories
Medium · 5.3 CVE-2025-67897 EUVD-2025-203279GHSA-v6x3-9r38-r27qRUSTSEC-2025-0136

Sequoia PGP has Subtraction Overflow when aes_key_unwrap function is provided ciphertext that is too short

Published Dec 14, 2025 · Updated Dec 15, 2025 · Assigned by mitre

Description

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.

Affected products

VendorProductAffectedFixed
sequoia-pgp sequoia < 2.1.0 2.1.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-sequoia-openpgp 2.1.0-1 —
Debian 13 rust-sequoia-openpgp 2.0.0-2+deb13u1 —
Debian 12 rust-sequoia-openpgp No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 rust-sequoia-openpgp No fix yet —
Ubuntu 24.04 LTS rust-sequoia-openpgp No fix yet —
Ubuntu 22.04 LTS rust-sequoia-openpgp No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling rpm-sequoia 1.10.0-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io sequoia-openpgp < 2.1.0 2.1.0 GHSA-v6x3-9r38-r27q
crates.io sequoia-openpgp >= 0.0.0-0, < 2.1.0 2.1.0 RUSTSEC-2025-0136

References