Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. sequoia-openpgp
  4. ›
  5. CVE-2024-58261

CVE-2024-58261: Low severity (DoS) vulnerability in sequoia-openpgp

June 26, 2024 (updated July 28, 2025)

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.

References

  • github.com/advisories/GHSA-9344-p847-qm5c
  • gitlab.com/sequoia-pgp/sequoia
  • gitlab.com/sequoia-pgp/sequoia/-/issues/1106
  • nvd.nist.gov/vuln/detail/CVE-2024-58261
  • rustsec.org/advisories/RUSTSEC-2024-0345.html

Code Behaviors & Features

Detect and mitigate CVE-2024-58261 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.13.0 before 1.21.0

Fixed versions

  • 1.21.0

Solution

Upgrade to version 1.21.0 or above.

Impact 2.9 LOW

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

cargo/sequoia-openpgp/CVE-2024-58261.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:40 +0000.