Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-58261: The sequoia-openpgp crate 1.13.0 before 1.21.0 for Rust allows an infinite loop of "Reading a cert: Invalid op

24
Routine
LOW 2.9UPGRADE

CVE-2024-58261 is a low-severity flaw (CVSS 2.9) affecting sequoia-openpgp. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score2.9 (Low)
Attack vectorLocal
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance0.4% (top 63%)
CISA exploited listNo
WeaknessCWE-835
Published2025-07-27
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: sequoia-pgp

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

sequoia-pgp sequoia-openpgp UPGRADE
Affected: >= 1.13.0 and < 1.21.0
Fixed in: 1.21.0
Safe to downgrade to: a release before 1.13.0
1. Check installed version
apt-cache policy sequoia-openpgp || rpm -q sequoia-openpgp || sequoia-openpgp --version
2. UPGRADE to 1.21.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade sequoia-openpgp
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade sequoia-openpgp
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 1.13.0 (Debian / Ubuntu)
apt-cache madison sequoia-openpgp sudo apt install sequoia-openpgp=<VERSION_BEFORE_1.13.0> sudo apt-mark hold sequoia-openpgp
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list sequoia-openpgp sudo dnf downgrade sequoia-openpgp-<VERSION_BEFORE_1.13.0> sudo dnf versionlock add sequoia-openpgp
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-58261?

sequoia-openpgp: upgrade to 1.21.0. Exact commands for each OS are on this page.

Is CVE-2024-58261 being exploited?

CVE-2024-58261 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-58261 affect?

CVE-2024-58261 affects sequoia-openpgp. Severity is low (CVSS 2.9). 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.

How urgent is CVE-2024-58261?

Priority 24/100. Public exploit reference

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.