Security & privacy

NSA urges immediate shift to post-quantum cryptography after ECC weakness

The NSA advises accelerating the move to ML-DSA and ML-KEM algorithms, citing likely weaknesses in 256-bit elliptic curves like P-256 and Ed25519.

Illustration of broken elliptic curve security being replaced by robust post-quantum cryptography
Illustration generated for this article

On December 2, 2026, the National Security Agency (NSA) issued an urgent advisory recommending an immediate transition to post-quantum cryptography (PQC). This guidance follows disclosures from frontier artificial intelligence companies regarding new classical attacks that significantly weaken widely used cryptographic systems. The agency specifically targets National Security Systems owners but signals a broader industry imperative to upgrade infrastructure before these vulnerabilities are widely exploited.

What happened

The core of the advisory is a stark warning that 256-bit elliptic curve cryptography, including standards like P-256 and Curve25519 (X25519/Ed25519), is likely broken or significantly weaker than previously assumed. While quantum computing remains a long-term threat, the NSA highlights that adversaries are already collecting encrypted data to decrypt later. The recent discoveries, attributed to AI companies, suggest these are classical algorithmic advances rather than quantum breakthroughs, meaning the threat is present now even if it is not yet widespread due to high computational costs.

The NSA explicitly identifies which algorithms are compromised by exclusion. In its guidance on what to inventory and replace, it lists DSA, deprecated Diffie-Hellman groups, pairing-based cryptography, and elliptic curves other than P-384 or P-521. By omitting P-256 and Ed25519 from the safe list, the agency implicates them as vulnerable. Conversely, RSA and P-384 are not called out as broken, positioning them as viable interim solutions while organizations migrate to fully post-quantum resistant standards.

The recommended destination for this migration is clear: ML-DSA for digital signatures and ML-KEM for key encapsulation. These algorithms form the basis of the CNSA 2.0 suite, which the NSA designates as the standard for general-purpose post-quantum security. The advisory stresses that while CNSA 2.0 is the formal guideline for National Security Systems, the urgency applies broadly to any system protecting sensitive information against harvest-now-decrypt-later strategies.

How it works

Post-quantum cryptography relies on mathematical problems that are hard for both classical and quantum computers to solve. The NSA’s preferred algorithms, ML-DSA and ML-KEM, are based on lattice-based cryptography. Unlike elliptic curve cryptography, which relies on the difficulty of finding discrete logarithms on curved lines, lattice-based schemes involve finding short vectors in high-dimensional grids. This structural difference makes them resistant to the Shor’s algorithm attacks that threaten current public-key infrastructure.

To facilitate a rapid transition, the NSA has adjusted its stance on hybrid key exchanges. Previously cautious about combining classical and post-quantum methods, the agency now explicitly permits the use of X25519MLKEM768. This hybrid approach combines the widely supported X25519 elliptic curve with the post-quantum ML-KEM-768 algorithm. It allows organizations to maintain compatibility with existing systems while adding a layer of post-quantum security, serving as a critical bridge during the migration period.

For authentication and certificate signing, where full ML-DSA deployment may take longer, the NSA provides specific stopgap measures. Organizations unable to immediately implement ML-DSA should verify that their root certificates use RSA 3072-bit keys or P-384 elliptic curves. In legacy scenarios where even these are unavailable, RSA 2048-bit keys are accepted as a last resort, though they offer less security margin. This tiered approach acknowledges the practical difficulties of updating public key infrastructure (PKI) across complex networks.

Key details

  • Vulnerable algorithms: P-256, Curve25519, X25519, and Ed25519 are considered likely broken or significantly weakened by new classical attacks.
  • Recommended replacements: ML-DSA-87 for signatures and ML-KEM-1024 for key exchange are the primary targets for CNSA 2.0 compliance.
  • Interim solutions: RSA 3072-bit and P-384 are acceptable temporary measures; RSA 2048-bit is permitted only for legacy support.
  • Hybrid allowance: The NSA explicitly approves X25519MLKEM768 for hybrid key exchange to accelerate deployment despite previous reservations.
  • Threat model: Adversaries are engaging in "harvest now, decrypt later" tactics, making immediate confidentiality upgrades a priority over authentication.
  • Source of discovery: Recent vulnerabilities were disclosed responsibly by frontier AI companies, indicating classical algorithmic improvements rather than quantum hardware breakthroughs.

Why it matters

For software engineers and security practitioners, this advisory shifts the timeline for post-quantum migration from a future planning item to an immediate operational requirement. The realization that 256-bit elliptic curves may be compromised means that many current TLS connections and SSH keys are potentially vulnerable to retroactive decryption. Teams must prioritize updating their cryptographic stacks to prevent sensitive data collected today from being exposed in the near future as attack methods become more efficient and accessible.

The practical impact involves significant changes to certificate management and protocol configuration. Engineers need to audit their systems for any use of non-approved algorithms, particularly P-256 and Ed25519, and plan for rapid rotation of keys and certificates. The acceptance of hybrid modes like X25519MLKEM768 offers a pragmatic path forward, allowing teams to enhance security without breaking compatibility with older clients. However, the ultimate goal remains a full transition to ML-DSA and ML-KEM to ensure long-term resilience against both classical and quantum threats.

What you can do

  • Audit your TLS and SSH configurations to identify any use of P-256, X25519, or Ed25519 algorithms.
  • Configure hybrid key exchange using X25519MLKEM768 according to IETF RFC 10024 specifications for immediate protection.
  • Update OpenSSH to version 10.6 or later and rotate keys to ssh-mldsa44-ed25519 where possible.
  • Prepare your private PKI to issue certificates using ML-DSA, or fall back to RSA 3072/P-384 if ML-DSA is not yet feasible.
  • Plan for WebPKI certificate rotation and update your ACME stack to support post-quantum algorithm suites.
  • Monitor for further updates on the practicality of the new classical attacks and adjust contingency plans accordingly.
  • #cryptography
  • #nsa
  • #post-quantum
  • #security
  • #tls

Tools from the Bytechap store

Keep reading

All stories