{"id":"CVE-2024-58261","published":"2025-07-27T00:00:00Z","modified":"2025-07-28T18:55:28Z","title":"The sequoia-openpgp crate 1.13.0 before 1.21.0 for Rust allows an infinite loop of \"Reading a cert: Invalid operation…","vendor":"sequoia-pgp","product":"sequoia","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.9,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00428,"percentile":0.37895,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0345.html","tags":[]},{"url":"https://gitlab.com/sequoia-pgp/sequoia/-/issues/1106","tags":[]},{"url":"https://crates.io/crates/sequoia-openpgp","tags":[]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":7.58},{"name":"CVSS severity","points":2.03}]},"vendorSlug":"sequoia-pgp","affectedVersions":[{"vendor":"sequoia-pgp","product":"sequoia","versions":[">= 1.13.0, < 1.21.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-28T18:52:32.245065Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"sequoia-openpgp","vulnerableRanges":[">=1.13.0, <1.21.0"],"patched":["1.21.0"],"from":["GHSA-9344-p847-qm5c","RUSTSEC-2024-0345"],"provenance":"source"}],"summary":{"text":"The sequoia-openpgp crate (product: sequoia, vendor: sequoia-pgp), versions 1.13.0 before 1.21.0 for Rust, contains a flaw in its RawCertParser component where an unsupported primary key type causes an infinite loop. An attacker who can supply a certificate with an unsupported primary key type to RawCertParser operations can trigger endless \"Reading a cert: Invalid operation: Not a Key packet\" messages, and the attack requires local access, high attack complexity, no privileges, and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:26Z"},"euvd":{"id":"EUVD-2024-54821","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-53160","published":"2025-07-28","fixed":"1.16.0","kev":false,"link":{"from":"CVE-2023-53160","to":"CVE-2024-58261","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:sequoia-openpgp","fromFixed":"1.16.0","toFixed":"1.21.0","daysApart":-1}]}},{"cve":"CVE-2024-58261","published":"2025-07-27","fixed":"1.21.0","kev":false},{"cve":"CVE-2025-67897","published":"2025-12-14","fixed":"2.1.0","kev":false}],"package":"crates.io:sequoia-openpgp"}}