{
  "id": "p-521",
  "name": "NIST P-521 (secp521r1)",
  "family_id": "nist-p521",
  "description": "NIST P-521 (secp521r1) over p = 2^521 - 1, specified in FIPS 186-5 and SP 800-186 for ECDSA and ECDH. Generic Pollard rho costs ~2^260.5 group operations (256-bit+ classical security); practical key recoveries are implementation flaws only (PuTTY 0.68–0.80 biased nonces from ~60 signatures; NSS non-constant-time wNAF EM leakage).",
  "status": "intact",
  "parameters": {
    "field_bits": 521,
    "field_prime": "2^521 - 1",
    "curve": "y^2 = x^3 - 3x + b (mod p)",
    "classical_security_bits": 256,
    "standard": "FIPS 186-5 / SP 800-186 (secp521r1)"
  },
  "references": [
    {
      "title": "NIST SP 800-186: Recommendations for Discrete Logarithm-based Cryptography: Elliptic Curve Domain Parameters",
      "url": "https://doi.org/10.6028/NIST.SP.800-186",
      "authors": [
        "Lily Chen",
        "Dustin Moody",
        "Andrew Regenscheid",
        "Angela Robinson",
        "Karen Randall"
      ],
      "doi": "10.6028/NIST.SP.800-186",
      "quote_location": "Curve P-521 (secp521r1, p = 2^521 - 1)"
    },
    {
      "title": "FIPS 186-5: Digital Signature Standard (DSS)",
      "url": "https://doi.org/10.6028/NIST.FIPS.186-5",
      "authors": [
        "National Institute of Standards and Technology"
      ],
      "doi": "10.6028/NIST.FIPS.186-5",
      "quote_location": "FIPS 186-5, ECDSA over P-521"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "p-521-generic-pollard-rho",
      "target_id": "p-521",
      "title": "Generic Pollard rho ECDLP bound for P-521 (~2^260.5 group operations)",
      "goal": "discrete-logarithm",
      "attack_family": "pollard-rho",
      "setting": "Generic parallel Pollard rho on the prime-order group of P-521; no curve-specific speedup is known",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2023-02-03",
      "authors": [
        "Lily Chen",
        "Dustin Moody",
        "Andrew Regenscheid",
        "Angela Robinson",
        "Karen Randall"
      ],
      "references": [
        {
          "title": "NIST SP 800-186: Recommendations for Discrete Logarithm-based Cryptography: Elliptic Curve Domain Parameters",
          "url": "https://doi.org/10.6028/NIST.SP.800-186",
          "authors": [
            "Lily Chen",
            "Dustin Moody",
            "Andrew Regenscheid",
            "Angela Robinson",
            "Karen Randall"
          ],
          "doi": "10.6028/NIST.SP.800-186",
          "quote_location": "Curve P-521 (secp521r1, p = 2^521 - 1)"
        },
        {
          "title": "FIPS 186-5: Digital Signature Standard (DSS)",
          "url": "https://doi.org/10.6028/NIST.FIPS.186-5",
          "authors": [
            "National Institute of Standards and Technology"
          ],
          "doi": "10.6028/NIST.FIPS.186-5",
          "quote_location": "FIPS 186-5, ECDSA over P-521"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "standard_report",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "pqc_security",
        "classical_core_svp_bits": 260.5,
        "estimator_version": "Generic Pollard rho ~2^260.5 group operations (256-bit+ security strength per NIST SP 800-186 / FIPS 186-5)"
      },
      "notes": "Reuses the pqc_security metric type as the closest available schema shape; classical_core_svp_bits: 260.5 denotes the generic Pollard rho bound in group operations, not a Core-SVP figure. Date approximates SP 800-186 publication (February 2023)."
    },
    {
      "id": "p-521-baumer-2024-putty-biased-nonce",
      "target_id": "p-521",
      "title": "PuTTY P-521 biased-nonce ECDSA key recovery from ~60 signatures (CVE-2024-31497)",
      "goal": "key-recovery",
      "attack_family": "biased-nonce-hidden-number-problem",
      "setting": "PuTTY 0.68–0.80 generates deterministic P-521 ECDSA nonces whose first 9 bits are always zero; a lattice hidden-number-problem attack recovers the full private key from ~60 signatures (CVE-2024-31497)",
      "claim_kind": "record",
      "track": "side_channel",
      "date": "2024-04-15",
      "authors": [
        "Fabian Bäumer",
        "Marcus Brinkmann"
      ],
      "references": [
        {
          "title": "CVE-2024-31497: PuTTY NIST P-521 biased ECDSA nonce generation",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-31497",
          "authors": [
            "Fabian Bäumer",
            "Marcus Brinkmann"
          ],
          "quote_location": "CVE-2024-31497 (PuTTY 0.68–0.80; 9 leading zero bits in P-521 nonces; key recovery from ~60 signatures)"
        },
        {
          "title": "NIST SP 800-186: Recommendations for Discrete Logarithm-based Cryptography: Elliptic Curve Domain Parameters",
          "url": "https://doi.org/10.6028/NIST.SP.800-186",
          "authors": [
            "Lily Chen",
            "Dustin Moody",
            "Andrew Regenscheid",
            "Angela Robinson",
            "Karen Randall"
          ],
          "doi": "10.6028/NIST.SP.800-186",
          "quote_location": "Curve P-521 (secp521r1, p = 2^521 - 1)"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "self_reported",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "pqc_security",
        "gate_count_log2": 0,
        "estimator_version": "Bäumer–Brinkmann CVE-2024-31497 (practical lattice HNP key recovery from ~60 signatures)"
      },
      "notes": "Implementation flaw in PuTTY's nonce generation; it does not affect the mathematical security of P-521. gate_count_log2: 0 is the schema placeholder for a practical implementation result. Source is a vulnerability disclosure (source_status: self_reported). Date approximates the April 2024 disclosure."
    },
    {
      "id": "p-521-ul-hassan-2020-deja-vu-nss",
      "target_id": "p-521",
      "title": "Déjà Vu EM + lattice key recovery of P-521 ECDSA keys in Mozilla NSS",
      "goal": "key-recovery",
      "attack_family": "em-lattice-side-channel",
      "setting": "Electromagnetic side-channel analysis of the non-constant-time wNAF scalar multiplication in Mozilla NSS leaks partial nonce information, and a lattice (hidden-number-problem) step recovers the P-521 ECDSA private key (CVE-2020-6829)",
      "claim_kind": "record",
      "track": "side_channel",
      "date": "2020-11-09",
      "authors": [
        "Sohaib ul Hassan",
        "Iaroslav Gridin",
        "Ignacio M. Delgado-Lozano",
        "Cesar Pereida García",
        "Jesús-Javier Chi-Domínguez",
        "Alejandro Cabrera Aldaya",
        "Billy Bob Brumley"
      ],
      "references": [
        {
          "title": "Déjà Vu: Side-Channel Analysis of Mozilla's NSS",
          "url": "https://doi.org/10.1145/3372297.3417891",
          "authors": [
            "Sohaib ul Hassan",
            "Iaroslav Gridin",
            "Ignacio M. Delgado-Lozano",
            "Cesar Pereida García",
            "Jesús-Javier Chi-Domínguez",
            "Alejandro Cabrera Aldaya",
            "Billy Bob Brumley"
          ],
          "arxiv_id": "2008.06004",
          "doi": "10.1145/3372297.3417891",
          "quote_location": "ACM CCS 2020 / arXiv:2008.06004 (CVE-2020-6829)"
        },
        {
          "title": "NIST SP 800-186: Recommendations for Discrete Logarithm-based Cryptography: Elliptic Curve Domain Parameters",
          "url": "https://doi.org/10.6028/NIST.SP.800-186",
          "authors": [
            "Lily Chen",
            "Dustin Moody",
            "Andrew Regenscheid",
            "Angela Robinson",
            "Karen Randall"
          ],
          "doi": "10.6028/NIST.SP.800-186",
          "quote_location": "Curve P-521 (secp521r1, p = 2^521 - 1)"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "pqc_security",
        "gate_count_log2": 0,
        "estimator_version": "ul Hassan et al. ACM CCS 2020 / arXiv:2008.06004 (Déjà Vu; practical implementation key recovery)"
      },
      "notes": "Implementation side channel; it does not affect the mathematical security of P-521. gate_count_log2: 0 is the schema placeholder for a practical implementation result (trace counts not transcribed). Date approximates ACM CCS 2020."
    }
  ],
  "frontiers": [
    {
      "id": "p-521-nonce-and-constant-time-assurance",
      "target_id": "p-521",
      "title": "Verified nonce generation and constant-time P-521 ECDSA",
      "description": "Both indexed P-521 key recoveries are implementation flaws: a 9-bit nonce bias in PuTTY (CVE-2024-31497) and non-constant-time wNAF in NSS (CVE-2020-6829). Machine-checked unbiased nonce derivation and constant-time guarantees for the full P-521 ECDSA signing path across mainstream libraries remain open.",
      "references": [
        {
          "title": "CVE-2024-31497: PuTTY NIST P-521 biased ECDSA nonce generation",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-31497",
          "authors": [
            "Fabian Bäumer",
            "Marcus Brinkmann"
          ],
          "quote_location": "CVE-2024-31497 (PuTTY 0.68–0.80; 9 leading zero bits in P-521 nonces; key recovery from ~60 signatures)"
        },
        {
          "title": "Déjà Vu: Side-Channel Analysis of Mozilla's NSS",
          "url": "https://doi.org/10.1145/3372297.3417891",
          "authors": [
            "Sohaib ul Hassan",
            "Iaroslav Gridin",
            "Ignacio M. Delgado-Lozano",
            "Cesar Pereida García",
            "Jesús-Javier Chi-Domínguez",
            "Alejandro Cabrera Aldaya",
            "Billy Bob Brumley"
          ],
          "arxiv_id": "2008.06004",
          "doi": "10.1145/3372297.3417891",
          "quote_location": "ACM CCS 2020 / arXiv:2008.06004 (CVE-2020-6829)"
        }
      ]
    }
  ],
  "dead_ends": []
}
