~ / search / GHSA-v6x3-9r38-r27q

GHSA-v6x3-9r38-r27q

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

Source: GitHub Advisory Database (reviewed) Moderate CVE-2025-67897

Packages

EcosystemPackageAffectedFixed in
crates.io sequoia-openpgp < 2.1.0 2.1.0

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.