CVE-2024-58261 Details
Description
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.
A denial-of-service vulnerability has been identified in the Sequoia OpenPGP crate versions 1.13.0 prior to 1.21.0. This vulnerability allows for an infinite loop to occur when the RawCertParser encounters an unsupported primary key type. The issue arises because the parser does not advance the input stream when it encounters unsupported certificate versions, leading to repeated error messages about invalid key packets.
Users can upgrade to Sequoia OpenPGP version 1.21.0 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gitlab.com/sequoia-pgp/sequoia/-/issues/1106 | CISA-ADP | Exploit |
| https://crates.io/crates/sequoia-openpgp | [email protected] | Product |
| https://gitlab.com/sequoia-pgp/sequoia/-/issues/1106 | [email protected] | Exploit |
| https://rustsec.org/advisories/RUSTSEC-2024-0345.html | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| sequoia-pgp sequoia-openpgp | >= 1.13.0, < 1.21.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 6, 2025 | Initial Analysis | [email protected] |
| Jul 28, 2025 | CVE Modified | CISA-ADP |
| Jul 27, 2025 | New CVE Received | [email protected] |