CVE-2025-67897: Sequoia PGP has Subtraction Overflow when aes_key_unwrap function is provided ciphertext that is too short
In Sequoia before 2.1.0, aeskeyunwrap 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.
Published Dec 14, 2025 · Updated Dec 16, 2025
Affected packages
sequoia-openpgp
- Ecosystem
- Rust (crates.io)
- Affected
- < 2.1.0
- Fixed in
- 2.1.0
- Check
cargo tree -i sequoia-openpgp
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-67897
- https://bugs.debian.org/1122582
- https://gitlab.com/sequoia-pgp/sequoia/-/blob/b59886e5e7bdf7169ed330f309a6633d131776e5/openpgp/NEWS#L7-L26
- https://gitlab.com/sequoia-pgp/sequoia/-/commit/b59886e5e7bdf7169ed330f309a6633d131776e5
- https://rustsec.org/advisories/RUSTSEC-2025-0136.html
- https://github.com/advisories/GHSA-v6x3-9r38-r27q
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
