Infinite Loop Vulnerability in Rust's Sequoia OpenPGP Library
CVE-2024-58261

7.5HIGH

Key Information:

Status
Vendor
CVE Published:
27 July 2025

What is CVE-2024-58261?

The sequoia-openpgp crate versions prior to 1.21.0 for Rust is susceptible to an infinite loop issue during RawCertParser operations. When an unsupported primary key type is encountered, the system generates a repeated error message, 'Reading a cert: Invalid operation: Not a Key packet.' This behavior can lead to application hangs, impacting the reliability and performance of Rust applications that utilize the sequoia-openpgp crate for cryptographic operations.

Affected Version(s)

sequoia 1.13.0 < 1.21.0

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.