Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| sequoia-pgp | sequoia | 1.13.0 – < 1.21.0 | 1.21.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rust-sequoia-openpgp | 1.21.0-1 | — |
| Debian 13 | rust-sequoia-openpgp | 1.21.0-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | rust-sequoia-openpgp | No fix yet | — |
| Ubuntu 22.04 LTS | rust-sequoia-openpgp | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | sequoia-openpgp | >= 1.13.0, < 1.21.0 | 1.21.0 | GHSA-9344-p847-qm5c |