GitHub Advisoryadvisory · crates.io
GHSA-v6x3-9r38-r27q Sequoia PGP has Subtraction Overflow when aes_key_unwrap function is provided ciphertext that is too short
MEDIUM
Official page ↗
- Aliases
- CVE-2025-67897
- Ecosystem
- crates.io
- Packages
- sequoia-openpgp
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-195
- Reviewed
- 2025-12-16
Affected packages
• crates.io sequoia-openpgp: < 2.1.0 → fixed in 2.1.0
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.
Related
Alias · CVE (1)
- CVE-2025-67897 In Sequoia before 2.1.0, aes_key_unwrap panics if passed a ciphertext that is too short. vulnerability
Weakness · CWE (1)
- CWE-195 Signed to Unsigned Conversion Error weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-67897 advisory
- https://bugs.debian.org/1122582 web
- https://gitlab.com/sequoia-pgp/sequoia package
- https://gitlab.com/sequoia-pgp/sequoia/-/blob/b59886e5e7bdf7169ed330f309a6633d131776e5/openpgp/NEWS#L7-L26 web
- https://gitlab.com/sequoia-pgp/sequoia/-/commit/b59886e5e7bdf7169ed330f309a6633d131776e5 web
- https://rustsec.org/advisories/RUSTSEC-2025-0136.html web