Loop with Unreachable Exit Condition ('Infinite Loop') Affecting rust-sequoia-openpgp package, versions <1.21.0-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-RUSTSEQUOIAOPENPGP-11031201
  • published29 Jul 2025
  • disclosed27 Jul 2025

Introduced: 27 Jul 2025

NewCVE-2024-58261  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Debian:unstable rust-sequoia-openpgp to version 1.21.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-sequoia-openpgp package and not the rust-sequoia-openpgp package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1