GHSA-v6x3-9r38-r27q

Suggest an improvement
Source
https://github.com/advisories/GHSA-v6x3-9r38-r27q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-v6x3-9r38-r27q/GHSA-v6x3-9r38-r27q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v6x3-9r38-r27q
Aliases
Downstream
CGA (2)
Published
2025-12-14T06:30:24Z
Modified
2026-09-10T03:50:32Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-195"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-12-16T19:30:41Z",
    "nvd_published_at":  "2025-12-14T05:16:06Z",
    "severity":  "MODERATE"
}
References

Affected packages

crates.io / sequoia-openpgp

Package

Name
sequoia-openpgp
View open source insights on deps.dev
Purl
pkg:cargo/sequoia-openpgp

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.1.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-v6x3-9r38-r27q/GHSA-v6x3-9r38-r27q.json"