Email me

Rust advisories / sequoia-openpgp

Vulnerability LowRUSTSEC-2024-0345 · sequoia-openpgp

RUSTSEC-2024-0345: Low severity (DoS) vulnerability in sequoia-openpgp

Short answerA security vulnerability in the sequoia-openpgp crate: Low severity (DoS) vulnerability in sequoia-openpgp. GitHub rates it Low. Fixed in 1.21.0: update to a fixed version.

Cratesequoia-openpgp
TypeVulnerability (denial-of-service)
Affected versionsFrom 1.13.0 before 1.21.0.
Fixed in1.21.0
SeverityLow (GitHub rating)
Published2024-06-26
Last changed2025-10-28
Also known asCVE-2024-58261, GHSA-9344-p847-qm5c
Affected functionssequoia_openpgp::cert::raw::RawCertParser

What to do

  1. See which version you have: cargo tree -i sequoia-openpgp (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p sequoia-openpgp. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example sequoia-openpgp = "1.21.0") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

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.

Many thanks to Andrew Gallagher for disclosing the issue to us.

Impact

Any software directly or indirectly using the interface sequoia_openpgp::cert::raw::RawCertParser. Notably, this includes all software using the sequoia_cert_store crate.

Details

The RawCertParser does not advance the input stream when encountering unsupported cert (primary key) versions, resulting in an infinite loop.

The fix introduces a new raw-cert-specific cert::raw::Error::UnuspportedCert.

Affected software

  • sequoia-openpgp 1.13.0
  • sequoia-openpgp 1.14.0
  • sequoia-openpgp 1.15.0
  • sequoia-openpgp 1.16.0
  • sequoia-openpgp 1.17.0
  • sequoia-openpgp 1.18.0
  • sequoia-openpgp 1.19.0
  • sequoia-openpgp 1.20.0
  • 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.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for sequoia-openpgp

Full security history of sequoia-openpgp

Up next

Same cratesequoia-openpgp: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ