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.test.osv.dev/v1/vulns/GHSA-v6x3-9r38-r27q
Published
2025-12-14T06:30:24Z
Modified
2025-12-16T20:42:06.867790Z
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, aeskeyunwrap 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
{
    "nvd_published_at": "2025-12-14T05:16:06Z",
    "cwe_ids": [
        "CWE-195"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2025-12-16T19:30:41Z"
}
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
0Unknown 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"