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, 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
5.3
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.
- Record
CVE-2025-67897- 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 - Weakness
- CWE-195
- Updated
- 2026-11-02
EUVDEUVD-2025-203279
5.3
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.
- Record
EUVD-2025-203279- 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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-v6x3-9r38-r27q
5.3
Sequoia PGP has Subtraction Overflow when aes_key_unwrap function is provided ciphertext that is too short
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.
- Record
GHSA-v6x3-9r38-r27q- 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 - Weakness
- CWE-195
- Updated
- 2026-11-02
NVD
5.3
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.
- Record
CVE-2025-67897- 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 - Weakness
- CWE-195
- Updated
- 2026-11-02
OSV
5.3
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.
- Record
CVE-2025-67897- 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 - Weakness
- CWE-195
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2025-67897
5.3
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.
- Record
DEBIAN-CVE-2025-67897- 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 - Updated
- 2026-11-02
OSVGHSA-v6x3-9r38-r27q
5.3
Sequoia PGP has Subtraction Overflow when aes_key_unwrap function is provided ciphertext that is too short
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.
- Record
GHSA-v6x3-9r38-r27q- 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 - Weakness
- CWE-195
- Updated
- 2026-11-02
OSVRUSTSEC-2025-0136
4.3
Underflow in aes_key_unwrap function
The aes_key_unwrap function would panic if passed a ciphertext
that was too short. In a debug build, it would panic due to a
subtraction underflow. In a release build, it would use the
small negative quantity to allocate a vector. Since the
allocator expects an unsigned quantity, the negative value would
be interpreted as a huge allocation. The allocator would then
fail to allocate the memory and panic.
An attacker could trigger this panic by sending a victim an encrypted message whose PKESK or SKESK packet has been specially modified. When the victim decrypts the message, the program would crash.
- Record
RUSTSEC-2025-0136- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-67897
5.3
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.
- Record
UBUNTU-CVE-2025-67897- 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 - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
sequoia-openpgpcrates.io |
before 2.1.0 | 2.1.0 |
rust-sequoia-openpgpDebian:12 |
All versions, plus listed versions 1.12.0-21.13.0-11.16.0-11.16.0-21.16.0-3 Show 28 moreShow less1.16.1-11.16.1-21.17.0-11.17.0-21.18.0-11.19.0-11.20.0-11.20.0-21.21.0-11.21.1-11.21.1-21.21.2-11.21.2-21.22.0-11.22.0-22.0.0-12.0.0-22.0.0-32.0.0-42.0.0-52.1.0-12.1.0-22.1.0-32.2.0-12.2.0-22.3.0-12.4.1-12.4.1-2 |
None known |
rust-sequoia-openpgpDebian:13 |
before 2.0.0-2+deb13u1, plus listed versions 2.0.0-2 |
2.0.0-2+deb13u1 |
rust-sequoia-openpgpDebian:14 |
before 2.1.0-1, plus listed versions 2.0.0-22.0.0-32.0.0-42.0.0-5 |
2.1.0-1 |
sequoia-openpgpcrates.io |
0.0.0-0 up to 2.1.0 | 2.1.0 |
rust-sequoia-openpgpUbuntu:22.04:LTS |
All versions, plus listed versions 1.1.0-31.3.0-41.7.0-6 |
None known |
rust-sequoia-openpgpUbuntu:24.04:LTS |
All versions, plus listed versions 1.16.0-11.17.0-11.17.0-21.18.0-11.19.0-11.19.0-1build1 |
None known |
rust-sequoia-openpgpUbuntu:25.10 |
All versions, plus listed versions 1.22.0-12.0.0-2 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-67897 is a medium vulnerability (CVSS 5.3) in Sequoia-pgp Sequoia, published November 7, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.35%, the 29th percentile. Fixed in sequoia-openpgp 2.1.0.
References
gitlab.com/sequoia-pgp/sequoia/-/commit/b59886e5e7bdf7169ed330f309a6633d131776e5
bugs.debian.org/1122582
gitlab.com/sequoia-pgp/sequoia/-/blob/b59886e5e7bdf7169ed330f309a6633d131776e5/openpgp/NEWS
nvd.nist.gov/vuln/detail/CVE-2025-67897
rustsec.org/advisories/RUSTSEC-2025-0136.html
github.com/advisories/GHSA-v6x3-9r38-r27q