Advisory

GHSA-v6x3-9r38-r27q

Also known as: CVE-2025-67897, RUSTSEC-2025-0136

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-12-14 06:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

sequoia-openpgp

crates.io · All systems

Affected

  • introduced 0, fixed 2.1.0 (semver)

Fixed versions

2.1.0

Fix

  • Fixed version 2.1.0
    cargo update -p sequoia-openpgp --precise 2.1.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences