{"id":"CVE-2024-58261","aliases":["GHSA-9344-p847-qm5c","RUSTSEC-2024-0345"],"url":"https://o3.security/vulnerability/CVE-2024-58261","summary":"Low severity (DoS) vulnerability in sequoia-openpgp","details":"There is a denial-of-service vulnerability in sequoia-openpgp, our crate providing a low-level interface to our OpenPGP implementation. When triggered, the process will enter an infinite loop.\n\nMany thanks to Andrew Gallagher for disclosing the issue to us.\n\n## Impact\n\nAny software directly or indirectly using the interface `sequoia_openpgp::cert::raw::RawCertParser`.  Notably, this includes all\nsoftware using the `sequoia_cert_store` crate.\n\n## Details\n\nThe `RawCertParser` does not advance the input stream when encountering unsupported cert (primary key) versions, resulting in an infinite loop.\n\nThe fix introduces a new raw-cert-specific `cert::raw::Error::UnuspportedCert`.\n\n## Affected software\n\n- sequoia-openpgp 1.13.0\n- sequoia-openpgp 1.14.0\n- sequoia-openpgp 1.15.0\n- sequoia-openpgp 1.16.0\n- sequoia-openpgp 1.17.0\n- sequoia-openpgp 1.18.0\n- sequoia-openpgp 1.19.0\n- sequoia-openpgp 1.20.0\n- Any software built against a vulnerable version of sequoia-openpgp which is directly or indirectly using the interface sequoia_`openpgp::cert::raw::RawCertParser`.  Notably, this includes all software using the `sequoia_cert_store` crate.","published":"2025-07-27T00:00:00Z","modified":"2026-08-12T03:51:21.038938453Z","cvss":{"score":2.9,"severity":"LOW","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"},"epss":{"score":0.00361,"percentile":0.29694,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"sequoia-openpgp","fixedVersion":"1.21.0"}],"fix":null,"references":[{"type":"WEB","url":"https://crates.io/crates/sequoia-openpgp"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58261.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58261"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2024-0345.html"},{"type":"REPORT","url":"https://gitlab.com/sequoia-pgp/sequoia/-/issues/1106"},{"type":"PACKAGE","url":"https://gitlab.com/sequoia-pgp/sequoia"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:21.038938453Z"}}