# CVE-2025-67897: Sequoia PGP has Subtraction Overflow when aes_key_unwrap function is provided ciphertext that is too short

- Severity: Medium 5.3 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2025-11-07T12:00:00.000Z
- Modified: 2026-10-14T13:10:00.187Z
- Also known as: GHSA-v6x3-9r38-r27q, RUSTSEC-2025-0136
- Weaknesses: CWE-195
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- sequoia-pgp sequoia: before 2.1.0
- sequoia-openpgp (crates.io): before 2.1.0; from 0.0.0-0 before 2.1.0

## Every score

- mitre: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H`
- RustSec Advisory Database: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`

## References

- <https://gitlab.com/sequoia-pgp/sequoia/-/commit/b59886e5e7bdf7169ed330f309a6633d131776e5> (web)
- <https://bugs.debian.org/1122582> (web)
- <https://gitlab.com/sequoia-pgp/sequoia/-/blob/b59886e5e7bdf7169ed330f309a6633d131776e5/openpgp/NEWS#L7-L26> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-67897> (advisory)
- <https://gitlab.com/sequoia-pgp/sequoia> (package)
- <https://rustsec.org/advisories/RUSTSEC-2025-0136.html> (advisory, web)
- <https://crates.io/crates/sequoia-openpgp> (package)

## Sources

- CVE List: [CVE-2025-67897](https://www.cve.org/CVERecord?id=CVE-2025-67897), CVE Terms of Use, modified 2025-12-15
- GitHub Advisory Database: [GHSA-v6x3-9r38-r27q](https://github.com/advisories/GHSA-v6x3-9r38-r27q), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2025-0136](https://rustsec.org/advisories/RUSTSEC-2025-0136.html), CC0-1.0, modified 2025-12-17
- NVD: [CVE-2025-67897](https://nvd.nist.gov/vuln/detail/CVE-2025-67897), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-67897 · Whole record: https://cve.day/CVE-2025-67897.json · Rebuilt by cve.day 2026-11-25T22:59:09.379Z
