Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2024-58261 — sequoia-openpgp

🟢 CVSS 2.0 — Low ⚠️ Exploit Public CWE-835 OSV
2.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Low severity (DoS) vulnerability in sequoia-openpgp

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.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is high, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability low.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: High — the attacker first has to win a race, learn a secret or otherwise prepare the target.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: None.
  • Integrity impact: None.
  • Availability impact: Low — limited, and the attacker does not choose what is affected.

Weakness class

CVE-2024-58261 is classified as CWE-835: Infinite Loop. A loop condition can never become false for some inputs, hanging the process.

Affected software

CVE-2024-58261 is recorded against 1 package.

  • sequoia-openpgp

Timeline and source

Published on 26 June 2024 and last revised on 17 June 2026. A public exploit is known to exist, which raises the urgency of patching considerably. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
gitlab.com (Package)
gitlab.com (Web)
rustsec.org (Web)

Other advisories for this package

sequoia-openpgp has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-835: Infinite Loop) in other software:

CVE-2024-58261 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity LOW
CVSS Score 2.0
CVSS Vector CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
CWE CWE-835
Public Exploit ⚠️ Yes
Source OSV
Published 2024-06-26
Updated 2026-08-20
Modified 2026-06-17
Fix URL N/A

Affected Packages

Software From version Fixed in
sequoia-openpgp

Exploit Protection

Are you running sequoia-openpgp?

CVE-2024-58261 carries CVSS 2.0 Low rating and a public exploit already exists. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2024-58261 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2024