When creating a RSA private key from its components, the construction panics, instead of returning an error, when one of the primes is 1.
Discovered by Christian Reitter from Radically Open Security during a security review for Proton AG.
{
"github_reviewed_at": "2026-01-06T18:14:08Z",
"severity": "LOW",
"github_reviewed": true,
"cwe_ids": [
"CWE-703"
],
"nvd_published_at": "2026-01-08T14:15:57Z"
}