CVE-2024-58261Sequoia-pgp Sequoia-openpgp
High 7.5 No auth needed
Follow: this CVE · Sequoia-pgp · Sequoia-pgp Sequoia-openpgp We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 41
- Auth required
- No
- Published
- Jul 27, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-835
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
The sequoia-openpgp crate 1.13.0 before 1.21.0 for Rust allows an infinite loop of "Reading a cert: Invalid operation: Not a Key packet" messages for RawCertParser operations that encounter an unsupported primary key type.
What to do
- Apply the vendor's security update for Sequoia-openpgp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | sequoia-openpgp |
≥ 1.13.0 < 1.21.0 |
1.21.0 |
cargo update -p sequoia-openpgp --precise 1.21.0 |
| crates.io | sequoia-openpgp |
≥ 1.13.0 < 1.21.0 |
1.21.0 |
cargo update -p sequoia-openpgp --precise 1.21.0 |
Per OSV / GitHub Advisories (GHSA-9344-p847-qm5c, RUSTSEC-2024-0345). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sequoia-pgp | sequoia-openpgp | ≥ 1.13.0 < 1.21.0 |
Official sources
References
Links published by the sources. Open them with care.
- crates.io Product
- gitlab.com Exploit
- rustsec.org Third Party Advisory