[
  {
    "id": "crqc",
    "title": "A quantum computer breaks public-key cryptography",
    "short": "RSA, Diffie-Hellman and every elliptic curve fall to a cryptographically relevant quantum computer.",
    "premise": "Assume a cryptographically relevant quantum computer exists: it recovers private keys from public keys for RSA, finite-field Diffie-Hellman and elliptic curves, at a rate set by its scope. Symmetric ciphers and hashes keep their security margins.",
    "class": "quantum",
    "recordedPast": true,
    "scopes": [
      {
        "id": "early",
        "label": "Early machine",
        "description": "The first machine: a handful of keys per day, so its owner must choose targets. Capacity grows as more machines come online.",
        "breaks": [
          {
            "node": "rsa",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          },
          {
            "node": "ffdh",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          },
          {
            "node": "ecc-nist",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          },
          {
            "node": "secp256k1",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          },
          {
            "node": "curve25519",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 0.02,
            "low": 0.005,
            "high": 0.08,
            "confidence": "low",
            "basis": "A first machine breaks keys one at a time: published designs take {q-rsa2048-gidney2025-days} per RSA-2048 key with under a million qubits [@gidney-rsa-million-qubits-2025], a few days per P-256 key on 26,000 neutral atoms [@cain-oratomic-10000-atoms-2026], or {q-ecc256-google2026-runtime} per curve key on fast superconducting hardware [@babbush-ecc-cryptocurrency-whitepaper-2026]. A handful of keys a day is a few percent of the eventual capacity.",
            "facts": [
              "q-rsa2048-gidney2025-days",
              "q-p256-oratomic2026-qubits",
              "q-ecc256-google2026-runtime"
            ]
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 60,
            "low": 24,
            "high": 120,
            "confidence": "low",
            "basis": "Vendor roadmaps promise about tenfold more logical qubits every two years or so: IonQ from {q-ionq-2027-logical} in 2027 to {q-ionq-2029-logical} in 2029 [@ionq-roadmap-2026], IBM from {q-ibm-starling-logical} in Starling (2029) to {q-ibm-bluejay-logical} in its successor, Blue Jay [@ibm-starling-roadmap-2025]. Roadmaps are claims, not delivery, so the range runs from two to ten years.",
            "facts": [
              "q-ionq-2027-logical",
              "q-ionq-2029-logical",
              "q-ibm-starling-logical",
              "q-ibm-bluejay-logical"
            ]
          },
          "describe": "A few keys per day at first; bulk capacity after several years."
        }
      },
      {
        "id": "mature",
        "label": "Mature fleet",
        "description": "Many machines or a much faster one: any exposed public key can be broken on demand.",
        "breaks": [
          {
            "node": "rsa",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          },
          {
            "node": "ffdh",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          },
          {
            "node": "ecc-nist",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          },
          {
            "node": "secp256k1",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          },
          {
            "node": "curve25519",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 0.3,
            "low": 0.1,
            "high": 0.6,
            "confidence": "low",
            "basis": "A mature machine works at the rates the fastest designs project: {q-ecc256-litinski2023-rate} on 256-bit curves [@litinski-ecc-50m-toffoli-2023], or about {q-ecc256-google2026-primed} with precomputation [@babbush-ecc-cryptocurrency-whitepaper-2026]. That is over a hundred keys a day per machine: a large share of the eventual capacity, but not yet every exposed key on demand.",
            "facts": [
              "q-ecc256-litinski2023-rate",
              "q-ecc256-google2026-primed"
            ]
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 18,
            "low": 6,
            "high": 36,
            "confidence": "low",
            "basis": "Judgment, not measurement: once machines work, adding more is engineering and procurement rather than research. No source times this step."
          },
          "describe": "Hundreds to thousands of keys per day, rising to any exposed key on demand."
        }
      }
    ],
    "defaultScope": "early",
    "defaultPath": "allied-held",
    "defaultYear": 2034,
    "years": [
      2027,
      2045
    ],
    "narrative": [
      "Assume a quantum computer large and reliable enough to run Shor's algorithm exists. It computes private keys from public keys for RSA, finite-field Diffie-Hellman and every elliptic curve in common use. Symmetric ciphers and hashes keep their margins: NIST believes its approved symmetric primitives with at least 128 bits of classical security already meet its lowest post-quantum security category, and it will deprecate the vulnerable public-key algorithms after 2030 and disallow them after 2035 [@nist-ir-8547-2026].",
      "Secrecy fails first, and it fails backwards in time. Anyone who recorded encrypted traffic can decrypt it once the machine runs, which is why US agencies warn of harvest now, decrypt later [@cisa-nsa-nist-quantum-readiness-2023] and BSI and 17 other EU states call it the most imminent threat [@bsi-pqc-joint-statement-press-2024]. Some secrets must hold for decades: US classified records are declassified automatically after {x-eo13526-auto-25}, and those that would reveal a human source can stay closed for 50 to 75 years [@eo-13526-2009]. Signatures fail differently. A forgery needs the machine to exist, but on that day every certificate, firmware key and coin whose public key is already visible becomes forgeable, so signatures have to move before any machine exists [@google-pqc-timeline-2029-2026]. Project Eleven counts about 7.2 million BTC [#a-btc-exposed-p11-2026-11] in addresses whose public keys are already exposed [@projecteleven-risq-list-metrics-2026].",
      "Migration is under way but uneven. 73% of human traffic to Cloudflare is post-quantum encrypted [@cloudflare-pq-still-safe-2026], yet only about 15% of the origin servers Cloudflare connects to use hybrid ML-KEM [@cloudflare-pq-visibility-2026], and 0.26% of mail servers support post-quantum key exchange [@schaumann-smtp-pqc-2026]. On the top million websites the hybrid X25519MLKEM768 is now the most common key exchange, at {di-tls-pq-negotiated-top1m-helme-2026} [@helme-top1m-2026], and 45.2% of SSH hosts support a post-quantum exchange [@haque-pqc-ssh-2026]. Signatures lag: the Web PKI rules do not yet allow ML-DSA certificates [@schaumann-pqc-certs-2026]. NIST notes that previous transitions took 10 to 20 years [@nist-ir-8547-2026].",
      "The deep uncertainty is the date and the speed. Resource estimates keep falling: 20 million noisy qubits to factor RSA-2048 in 2019 [@gidney-ekera-rsa-20m-qubits-2019], under a million in 2025 [@gidney-rsa-million-qubits-2025], and under half a million for 256-bit elliptic curves in 2026, a result Google validated with a zero-knowledge proof rather than publish the circuits [@babbush-ecc-cryptocurrency-whitepaper-2026; @google-research-ecc-disclosure-blog-2026]. Hardware is far behind: Google's below-threshold error correction still left orders of magnitude to practical computation [@google-willow-nature-2024]. Surveyed experts put the chance of a cryptographically relevant machine within ten years at 28 to 49% [@gri-quantum-threat-timeline-2025], and BSI calls one by 2040 a reasonable expectation [@bsi-quantum-computer-status-2025]. Speed matters as much as the date: fast superconducting designs could take minutes per curve key, slower neutral-atom designs days [@babbush-ecc-cryptocurrency-whitepaper-2026; @cain-oratomic-10000-atoms-2026]."
    ],
    "precedents": [
      "Public-key breaks arrive as cost curves, and deployments outlive them. Factoring a 512-bit RSA key took {p-rsa512-1999-effort} of distributed computing in 1999; by 2016 it cost {p-rsa512-2016-faas} on rented cloud machines, while hundreds or thousands of 512-bit keys were still deployed [@valenta-faas-2016].",
      "Shared parameters make one break pay many times. In 2015, precomputation for a single 1024-bit Diffie-Hellman group would have exposed 18% of popular HTTPS sites, and a second group 66% of IPsec VPNs and 26% of SSH servers; the authors judged this plausibly within NSA's resources [@adrian-imperfect-forward-secrecy-2015].",
      "Agencies decrypt in bulk when they can. An NSA document from late 2009 described processing 1,000 requests an hour to decrypt VPN connections, expected to reach 100,000 an hour by the end of 2011 [@spiegel-nsa-war-internet-security-2014].",
      "Transitions are slow even with a deadline. NIST deprecated SHA-1 in 2011 and set the end of 2030 for its removal from federal modules [@stevens-shattered-2017; @nist-sha1-retire-2022]. OpenSSH made a hybrid post-quantum exchange its default in 2022, and in 2026 45.2% of SSH hosts supported one [@openssh-release-notes; @haque-pqc-ssh-2026].",
      "A capability can be proven without being shown. Google validated its 2026 elliptic-curve estimate with a zero-knowledge proof and engaged the US government first, withholding the circuits as responsible disclosure [@babbush-ecc-cryptocurrency-whitepaper-2026; @google-research-ecc-disclosure-blog-2026]."
    ],
    "cases": [],
    "facts": [
      "x-eo13526-auto-25",
      "a-btc-exposed-p11-2026-11",
      "di-tls-pq-negotiated-top1m-helme-2026",
      "p-rsa512-1999-effort",
      "p-rsa512-2016-faas",
      "q-rsa2048-gidney2025-days",
      "q-ecc256-google2026-runtime",
      "q-ionq-2027-logical",
      "q-ionq-2029-logical",
      "q-ibm-starling-logical",
      "q-ibm-bluejay-logical",
      "q-ecc256-litinski2023-rate",
      "q-ecc256-google2026-primed",
      "q-p256-oratomic2026-qubits",
      "q-rsa2048-ge2019-hours",
      "q-ecc256-google2026-physical",
      "q-gri2025-10y",
      "q-cf-pq-share-2026-12",
      "q-cf-origin-pq-2026-09b",
      "q-ir8547-deprecate-2030",
      "q-ir8547-past-migrations-10-20y",
      "q-google-signatures-later",
      "q-bsi-sndl-imminent",
      "x-eo13526-human-sources-50-75",
      "di-ssh-pq-hosts-2026",
      "p-dh1024-https-share",
      "p-dh1024-ipsec-share",
      "p-dh1024-ssh-share"
    ],
    "sources": [
      "nist-ir-8547-2026",
      "cisa-nsa-nist-quantum-readiness-2023",
      "bsi-pqc-joint-statement-press-2024",
      "eo-13526-2009",
      "google-pqc-timeline-2029-2026",
      "projecteleven-risq-list-metrics-2026",
      "cloudflare-pq-still-safe-2026",
      "cloudflare-pq-visibility-2026",
      "schaumann-smtp-pqc-2026",
      "helme-top1m-2026",
      "haque-pqc-ssh-2026",
      "schaumann-pqc-certs-2026",
      "gidney-ekera-rsa-20m-qubits-2019",
      "gidney-rsa-million-qubits-2025",
      "babbush-ecc-cryptocurrency-whitepaper-2026",
      "google-research-ecc-disclosure-blog-2026",
      "google-willow-nature-2024",
      "gri-quantum-threat-timeline-2025",
      "bsi-quantum-computer-status-2025",
      "cain-oratomic-10000-atoms-2026",
      "valenta-faas-2016",
      "adrian-imperfect-forward-secrecy-2015",
      "spiegel-nsa-war-internet-security-2014",
      "stevens-shattered-2017",
      "nist-sha1-retire-2022",
      "openssh-release-notes",
      "ionq-roadmap-2026",
      "ibm-starling-roadmap-2025",
      "litinski-ecc-50m-toffoli-2023"
    ]
  },
  {
    "id": "ecc-classical",
    "title": "A classical break of an elliptic curve",
    "short": "A new classical algorithm solves discrete logarithms on one curve family, with no quantum computer needed.",
    "premise": "Assume a classical algorithm solves the elliptic-curve discrete logarithm problem on one curve family at practical cost: private keys can be computed from public keys on ordinary hardware. Other curves, RSA and post-quantum algorithms are unaffected.",
    "class": "classical-math",
    "recordedPast": true,
    "scopes": [
      {
        "id": "secp256k1",
        "label": "secp256k1",
        "description": "The Bitcoin and Ethereum curve falls. Its use outside digital assets is small.",
        "breaks": [
          {
            "node": "secp256k1",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 0.4,
            "low": 0.1,
            "high": 0.8,
            "confidence": "low",
            "basis": "No classical break of a deployed curve exists to measure. The nearest analogues ran on one ordinary machine from the first day: the SIKE break in {c-sike-break-time-original} on one core [@cacm-sike-cracked-2022] and the Rainbow break in {c-rainbow-break-time} on a laptop [@beullens-rainbow-2022]. Compute per key still limits how many keys can be taken at first.",
            "facts": [
              "c-sike-break-time-original",
              "c-rainbow-break-time"
            ]
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 9,
            "low": 2,
            "high": 24,
            "confidence": "low",
            "basis": "Published attacks get faster quickly: the SIKE attack went from about an hour to {c-sike-break-time-revised} [@cacm-sike-cracked-2022; @castryck-decru-sidh-2022], and MD5 collisions from eight hours on a PC in 2005 to {p-md5-collision-seconds-2007} in 2007 [@ietf-rfc4270-2005; @ietf-rfc6151-2011].",
            "facts": [
              "c-sike-break-time-revised",
              "p-md5-collision-seconds-2007"
            ]
          },
          "describe": "Hours of compute per key at first, then minutes."
        }
      },
      {
        "id": "curve25519",
        "label": "Curve25519 (X25519, Ed25519)",
        "description": "The curve behind most modern key exchange and many signature systems falls. Hybrid post-quantum key exchange still holds.",
        "breaks": [
          {
            "node": "curve25519",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 0.4,
            "low": 0.1,
            "high": 0.8,
            "confidence": "low",
            "basis": "No classical break of a deployed curve exists to measure. The nearest analogues ran on one ordinary machine from the first day: the SIKE break in {c-sike-break-time-original} on one core [@cacm-sike-cracked-2022] and the Rainbow break in {c-rainbow-break-time} on a laptop [@beullens-rainbow-2022]. Compute per key still limits how many keys can be taken at first.",
            "facts": [
              "c-sike-break-time-original",
              "c-rainbow-break-time"
            ]
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 9,
            "low": 2,
            "high": 24,
            "confidence": "low",
            "basis": "Published attacks get faster quickly: the SIKE attack went from about an hour to {c-sike-break-time-revised} [@cacm-sike-cracked-2022; @castryck-decru-sidh-2022], and MD5 collisions from eight hours on a PC in 2005 to {p-md5-collision-seconds-2007} in 2007 [@ietf-rfc4270-2005; @ietf-rfc6151-2011].",
            "facts": [
              "c-sike-break-time-revised",
              "p-md5-collision-seconds-2007"
            ]
          },
          "describe": "Hours of compute per key at first, then minutes."
        }
      },
      {
        "id": "nist-curves",
        "label": "NIST P-curves",
        "description": "P-256 and P-384 fall: certificates, passkeys, smart cards, vehicles and national-security systems.",
        "breaks": [
          {
            "node": "ecc-nist",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 0.4,
            "low": 0.1,
            "high": 0.8,
            "confidence": "low",
            "basis": "No classical break of a deployed curve exists to measure. The nearest analogues ran on one ordinary machine from the first day: the SIKE break in {c-sike-break-time-original} on one core [@cacm-sike-cracked-2022] and the Rainbow break in {c-rainbow-break-time} on a laptop [@beullens-rainbow-2022]. Compute per key still limits how many keys can be taken at first.",
            "facts": [
              "c-sike-break-time-original",
              "c-rainbow-break-time"
            ]
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 9,
            "low": 2,
            "high": 24,
            "confidence": "low",
            "basis": "Published attacks get faster quickly: the SIKE attack went from about an hour to {c-sike-break-time-revised} [@cacm-sike-cracked-2022; @castryck-decru-sidh-2022], and MD5 collisions from eight hours on a PC in 2005 to {p-md5-collision-seconds-2007} in 2007 [@ietf-rfc4270-2005; @ietf-rfc6151-2011].",
            "facts": [
              "c-sike-break-time-revised",
              "p-md5-collision-seconds-2007"
            ]
          },
          "describe": "Hours of compute per key at first, then minutes."
        }
      }
    ],
    "defaultScope": "secp256k1",
    "defaultPath": "open",
    "defaultYear": 2027,
    "years": [
      2026,
      2040
    ],
    "narrative": [
      "Assume a new classical algorithm solves the elliptic-curve discrete logarithm problem for one curve family at practical cost, so that private keys follow from public keys on ordinary computers. No quantum computer is involved, and other curves, RSA and the post-quantum algorithms are untouched. Which curve falls decides who is hurt.",
      "secp256k1 signs Bitcoin and Ethereum transactions [@bip340-schnorr-2020; @ethereum-yellow-paper-2025]. Project Eleven counts about 7.2 million BTC [#a-btc-exposed-p11-2026-11] in addresses whose public keys are already visible [@projecteleven-risq-list-metrics-2026], and dormant coins cannot be fixed by a later fork [@babbush-ecc-cryptocurrency-whitepaper-2026]. The NIST P-curves sign web certificates and passkeys: the Web PKI allows only P-256, P-384 and P-521 for elliptic-curve keys, and WebAuthn falls back to P-256 [@cabf-baseline-requirements-2026; @w3c-webauthn-l3-2026]. Curve25519 carries modern key exchange: it sits inside OpenSSH's default exchange, is the only exchange in WireGuard, and underlies Signal's key agreement [@openssh-release-notes; @wireguard-protocol; @signal-x3dh-2016].",
      "Hybrids decide much of the Curve25519 outcome. A hybrid exchange stays secure as long as one component holds [@ietf-tls-hybrid-design-16], and on the top million websites X25519MLKEM768 already outnumbers plain X25519, {di-tls-pq-negotiated-top1m-helme-2026} against {di-tls-kex-x25519-helme-2026} [@helme-top1m-2026]. Signatures have no such cushion yet: the Web PKI does not allow ML-DSA certificates [@schaumann-pqc-certs-2026], and the algorithms WebAuthn recommends are all classical [@w3c-webauthn-l3-2026].",
      "There is no precedent for a classical break of a well-chosen curve. The largest public discrete-log computation reached a group of about 2^112 elements on a weak binary curve [@bernstein-sect113r2-ecdl-2016], against about 2^126 to 2^128 rho operations for the curves in use [@safecurves-rho]. How the NSA generated the NIST curve seeds is still unknown, though Filippo Valsorda, who offered a bounty for them, doubts it hides a weakness [@valsorda-nist-seeds-bounty-2023]. The elliptic-curve key losses on record came from implementations, such as bad randomness, biased nonces and timing leaks [@bitcoin-org-android-alert-2013; @putty-cve-2024-31497; @bernstein-lange-nistecc-2016]. The model therefore borrows its timing from the closest analogue, sudden classical breaks of newer schemes."
    ],
    "precedents": [
      "Sudden classical breaks do happen to newer schemes. SIKE fell {c-sike-round4-to-break} after NIST advanced it to a fourth round, to an attack that ran in {c-sike-break-time-original} on one core [@castryck-decru-sidh-2022; @cacm-sike-cracked-2022], and Rainbow, a signature finalist, to one that took {c-rainbow-break-time} on a laptop [@beullens-rainbow-2022].",
      "Attacks speed up after publication. The SIKE attack fell from about an hour to {c-sike-break-time-revised} [@castryck-decru-sidh-2022], and MD5 collisions from eight hours in 2005 to {p-md5-collision-seconds-2007} by 2007 [@ietf-rfc4270-2005; @ietf-rfc6151-2011].",
      "Breaking many keys costs little more than breaking one: with the rho method, a million keys cost about 1,000 times as much as one [@safecurves-rho].",
      "Weak randomness has already emptied elliptic-curve wallets. A flaw in Android's random number generator left every Android Bitcoin wallet made before August 2013 open to theft [@bitcoin-org-android-alert-2013], and the Milk Sad seed flaw exposed over {s-milksad-wallets}, from which over {s-milksad-losses} was moved [@milksad-disclosure-2023].",
      "Re-keying a ledger is slow. After Bitcoin's SegWit upgrade activated in 2017, it took about six years for 90% of transactions to use it [@chaincode-milton-shikhelman-2025]."
    ],
    "cases": [],
    "facts": [
      "a-btc-exposed-p11-2026-11",
      "di-tls-pq-negotiated-top1m-helme-2026",
      "di-tls-kex-x25519-helme-2026",
      "c-sike-round4-to-break",
      "c-sike-break-time-original",
      "c-rainbow-break-time",
      "c-sike-break-time-revised",
      "p-md5-collision-seconds-2007",
      "s-milksad-wallets",
      "s-milksad-losses",
      "p-ecdl-record-2016",
      "p-rho-multitarget",
      "q-bitcoin-p2pk-exposed"
    ],
    "sources": [
      "bip340-schnorr-2020",
      "ethereum-yellow-paper-2025",
      "projecteleven-risq-list-metrics-2026",
      "babbush-ecc-cryptocurrency-whitepaper-2026",
      "cabf-baseline-requirements-2026",
      "w3c-webauthn-l3-2026",
      "openssh-release-notes",
      "wireguard-protocol",
      "signal-x3dh-2016",
      "ietf-tls-hybrid-design-16",
      "helme-top1m-2026",
      "schaumann-pqc-certs-2026",
      "bernstein-sect113r2-ecdl-2016",
      "safecurves-rho",
      "valsorda-nist-seeds-bounty-2023",
      "bitcoin-org-android-alert-2013",
      "putty-cve-2024-31497",
      "bernstein-lange-nistecc-2016",
      "castryck-decru-sidh-2022",
      "cacm-sike-cracked-2022",
      "beullens-rainbow-2022",
      "ietf-rfc4270-2005",
      "ietf-rfc6151-2011",
      "milksad-disclosure-2023",
      "chaincode-milton-shikhelman-2025"
    ]
  },
  {
    "id": "sha256-collision",
    "title": "SHA-256 collisions become practical",
    "short": "Two different inputs with the same SHA-256 hash can be made on demand, including with chosen prefixes.",
    "premise": "Assume chosen-prefix collisions for SHA-256 cost about what a SHA-1 chosen-prefix collision cost in 2020: within reach of a well-funded group. Preimages remain infeasible, so existing hashes and HMAC stay safe.",
    "class": "hash",
    "recordedPast": false,
    "scopes": [
      {
        "id": "chosen-prefix",
        "label": "Chosen-prefix collisions",
        "description": "An attacker can craft a benign and a malicious document with the same hash, get the benign one signed, and reuse the signature.",
        "breaks": [
          {
            "node": "sha256",
            "modes": [
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 0.7,
              "low": 0.4,
              "high": 0.9,
              "confidence": "low",
              "basis": "Collisions break only signatures over content an attacker can shape; shared-secret authentication and key derivation are unaffected [@ietf-rfc4270-2005], as is HMAC [@bellare-hmac-2006]. Most of SHA-256's integrity role is as a signature digest, so most of it is exposed, but not all."
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 0.1,
            "low": 0.02,
            "high": 0.3,
            "confidence": "low",
            "basis": "The premise sets the price near SHA-1's in 2020: {p-sha1-shambles-actual-spend} spent, {p-sha1-shambles-cost-cp} estimated per chosen-prefix collision [@leurent-peyrin-shambles-2020]. At that price each collision is a project, so few are made at first.",
            "facts": [
              "p-sha1-shambles-actual-spend",
              "p-sha1-shambles-cost-cp"
            ]
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 36,
            "low": 12,
            "high": 60,
            "confidence": "low",
            "basis": "SHA-1 collision costs fell about tenfold in three years, from {p-sha1-shattered-cloud-cost} in 2017 [@stevens-shattered-2017] to {p-sha1-shambles-cost-ip} in 2020, and the authors projected under $10,000 for a chosen-prefix collision by 2025 [@leurent-peyrin-shambles-2020].",
            "facts": [
              "p-sha1-shattered-cloud-cost",
              "p-sha1-shambles-cost-ip"
            ]
          },
          "describe": "A costly computation per collision at first, falling with optimization."
        }
      }
    ],
    "defaultScope": "chosen-prefix",
    "defaultPath": "open",
    "defaultYear": 2030,
    "years": [
      2026,
      2045
    ],
    "narrative": [
      "Assume anyone with tens of thousands of dollars of rented computing can make two different inputs with the same SHA-256 hash, each starting with a prefix of their choice. That is where SHA-1 stood in 2020 [@leurent-peyrin-shambles-2020]. Finding an input that matches a hash someone else already made stays infeasible.",
      "What fails is any signature over content an attacker helped shape, because one signature then covers two documents. With MD5 this produced a rogue certificate authority trusted by every common browser in 2008 [@stevens-rogue-ca-2008], and Flame used a new chosen-prefix collision to pose as a Microsoft security update [@cwi-flame-2012]. Certificates and code signing are exposed, as is Git, which is moving its default to SHA-256 [@lwn-git-3-2026] and lets signatures vouch for everything a hash names [@git-hash-function-transition]. Commitment schemes built on collision-free hashing lose their guarantee [@halevi-micali-commitment-1996].",
      "Much of what SHA-256 does is untouched. RFC 4270 found that among common Internet uses of a hash, collisions affect only signatures on messages and certificates, and even then only in limited circumstances; shared-secret authentication and key derivation are not affected [@ietf-rfc4270-2005]. HMAC's security does not rest on collision resistance [@bellare-hmac-2006], and PureEdDSA signatures survive hash collisions [@rfc8032-eddsa-2017].",
      "The uncertainty is how far off this is. SHA-256 has 64 steps [@alamgir-sat-sha256-2024]; practical collisions reach 36 of them and theoretical attacks 38, or 39 if an unreviewed November 2026 preprint holds [@li-et-al-sha2-39steps-2026; @gong-et-al-sha256-39step-2026]. After more than a decade stuck at 31 steps, 2026 brought the first advance in 12 years [@zhang-et-al-sha256-37step-2026]. Full SHA-256 is still far out of reach [@alamgir-sat-sha256-2024], but SHA-1 went from a first theoretical attack in 2005 to a practical chosen-prefix collision in 2020 [@schneier-sha1-broken-2005; @leurent-peyrin-shambles-2020]."
    ],
    "precedents": [
      "MD5 fell in stages: first collisions in 2004, chosen-prefix collisions for X.509 certificates in 2007, a rogue certificate authority in 2008 [@ietf-rfc6151-2011; @stevens-lenstra-deweger-cpc-2007; @stevens-rogue-ca-2008]. Of the 30,000 certificates the researchers collected, about {p-md5-ca-usage-2008} were still signed with MD5 [@stevens-rogue-ca-2008].",
      "Attackers can be ahead of the public. Flame used an unpublished chosen-prefix collision variant against a Microsoft certificate authority that still signed with MD5 in 2010, after CAs were thought to have stopped in 2009, and ran for at least {c-flame-md5-exploitation-to-discovered} before it was found [@cwi-flame-2012; @kaspersky-flame-qa-2012].",
      "Costs fall fast once an attack is public. SHA-1's first collision cost about {p-sha1-shattered-cloud-cost} in GPU time in 2017 [@stevens-shattered-2017]; by 2020 a collision was priced at {p-sha1-shambles-cost-ip} and a chosen-prefix collision at {p-sha1-shambles-cost-cp} [@leurent-peyrin-shambles-2020].",
      "Browsers move first and the tail runs for years. Firefox stopped trusting SHA-1 certificates in 2017, when they served well under 0.1% of web traffic [@mozilla-end-of-sha1-2017], but NIST set the end of 2030 for SHA-1 in federal modules [@nist-sha1-retire-2022].",
      "Moving a hash out of a data format is slow: Git has supported SHA-256 repositories since 2020, but interoperability was about 100 patches into an estimated 200 to 400 in late 2025 [@lwn-git-sha256-2025]."
    ],
    "cases": [],
    "facts": [
      "p-md5-ca-usage-2008",
      "c-flame-md5-exploitation-to-discovered",
      "p-sha1-shattered-cloud-cost",
      "p-sha1-shambles-cost-ip",
      "p-sha1-shambles-cost-cp",
      "p-sha1-shambles-actual-spend",
      "p-hash-rfc4270-uses",
      "p-sha256-steps",
      "p-sha256-36step-practical-2026",
      "p-sha256-38step-2026",
      "p-sha256-39step-claim-2026",
      "p-sha256-37step-2026"
    ],
    "sources": [
      "leurent-peyrin-shambles-2020",
      "stevens-rogue-ca-2008",
      "cwi-flame-2012",
      "lwn-git-3-2026",
      "git-hash-function-transition",
      "halevi-micali-commitment-1996",
      "ietf-rfc4270-2005",
      "bellare-hmac-2006",
      "rfc8032-eddsa-2017",
      "alamgir-sat-sha256-2024",
      "li-et-al-sha2-39steps-2026",
      "gong-et-al-sha256-39step-2026",
      "zhang-et-al-sha256-37step-2026",
      "schneier-sha1-broken-2005",
      "ietf-rfc6151-2011",
      "stevens-lenstra-deweger-cpc-2007",
      "kaspersky-flame-qa-2012",
      "stevens-shattered-2017",
      "mozilla-end-of-sha1-2017",
      "nist-sha1-retire-2022",
      "lwn-git-sha256-2025"
    ]
  },
  {
    "id": "sha256-preimage",
    "title": "SHA-256 preimages become practical",
    "short": "Given a SHA-256 hash, an input that produces it can be found: commitments, addresses and proof of work stop meaning what they mean.",
    "premise": "Assume second preimages for SHA-256 can be computed at practical cost: given any existing message, a different one with the same hash can be found. This is far stronger than a collision and has no historical precedent for a standard hash.",
    "class": "hash",
    "recordedPast": false,
    "scopes": [
      {
        "id": "second-preimage",
        "label": "Second preimages",
        "description": "Existing signatures, certificates, Merkle proofs and transaction ids can be matched by forgeries.",
        "breaks": [
          {
            "node": "sha256",
            "modes": [
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 0.1,
            "low": 0.02,
            "high": 0.4,
            "confidence": "low",
            "basis": "No precedent exists; the closest record is MD5, whose best preimage attack still cost 2^123.4 [@ietf-rfc6151-2011]. Assumed, as for collisions, that a first attack is a costly project per target.",
            "facts": [
              "p-md5-preimage-2009"
            ]
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 36,
            "low": 12,
            "high": 72,
            "confidence": "low",
            "basis": "Assumed to follow the collision cost curve, which fell about tenfold in three years for SHA-1 [@stevens-shattered-2017; @leurent-peyrin-shambles-2020], with a wider range because preimage attacks have no history to calibrate against.",
            "facts": [
              "p-sha1-shattered-cloud-cost",
              "p-sha1-shambles-cost-ip"
            ]
          },
          "describe": "Costly per target at first."
        }
      }
    ],
    "defaultScope": "second-preimage",
    "defaultPath": "open",
    "defaultYear": 2035,
    "years": [
      2026,
      2050
    ],
    "narrative": [
      "Assume that, given any existing message, someone can compute a different message with the same SHA-256 hash at practical cost. This is a second-preimage attack. Unlike a collision, it needs no help from the victim: it matches things that already exist.",
      "That is far worse than a collision; RFC 4270 calls practical preimage attacks much more devastating in the real world [@ietf-rfc4270-2005]. Existing signatures, certificates and signed software can be matched by forgeries. Certificate Transparency's Merkle trees depend on second-preimage resistance [@ietf-rfc9162-2021], Bitcoin links its transactions and blocks by hash [@nakamoto-bitcoin-2008], and a broken hash could be used to rewrite a Git repository's history in ways that are hard to detect [@lwn-git-3-2026]. Systems that move to hash-based signatures make the hash their last line: the Ethereum Foundation notes that its security would then reduce to the hash function [@ef-pqai-1-keccak-2026].",
      "Some uses depend on details the premise leaves open. Passwords should be salted and run through a password-hashing scheme [@nist-sp800-63b-4-2025], and HMAC and key derivation mix in secrets the attacker does not know [@ietf-rfc4270-2005]; whether they hold depends on the attack. Bitcoin mining searches for hashes that begin with zero bits [@nakamoto-bitcoin-2008], and what a preimage attack would do to that search is an open question.",
      "Nothing like this has happened to a standard hash. MD5 has had practical collisions since 2004, yet its best preimage attack still cost 2^123.4 in 2011 [@ietf-rfc6151-2011]. SHA-256 collision attacks reach 36 of 64 steps in practice [@li-et-al-sha2-39steps-2026; @alamgir-sat-sha256-2024]. The scenario is a stress test of what would have to be rebuilt, not a forecast."
    ],
    "precedents": [
      "No standard hash has suffered a practical preimage attack. The best MD5 preimage attack in 2011 still cost 2^123.4, seven years after its first collisions [@ietf-rfc6151-2011].",
      "Warning signs come as step counts. SHA-256 collision attacks were stuck at 31 steps for over a decade, then reached 37, 38 and possibly 39 in 2026 [@zhang-et-al-sha256-37step-2026; @li-et-al-sha2-39steps-2026; @gong-et-al-sha256-39step-2026].",
      "Theoretical attacks turn practical slowly: the 31-step SHA-256 collision went from a 2013 theoretical attack to a practical one in 2024, taking 1.2 hours on 64 threads [@zhang-et-al-sha256-37step-2026; @li-et-al-31step-sha256-2024].",
      "Retiring a hash takes a decade or more: NIST deprecated SHA-1 in 2011 and set the end of 2030 for its removal from federal modules [@stevens-shattered-2017; @nist-sha1-retire-2022].",
      "Formats that name data by hash are the hardest to move: Git's SHA-256 support, available since 2020, still lacked GitHub support in 2026 [@lwn-git-sha256-2025; @lwn-git-3-2026]."
    ],
    "cases": [],
    "facts": [
      "p-md5-preimage-2009",
      "p-sha1-shattered-cloud-cost",
      "p-sha1-shambles-cost-ip",
      "p-hash-preimage-worse",
      "p-sha256-steps",
      "p-sha256-36step-practical-2026",
      "p-sha256-stagnation-2013-2025",
      "p-sha256-31step-practical-2024"
    ],
    "sources": [
      "ietf-rfc4270-2005",
      "ietf-rfc9162-2021",
      "nakamoto-bitcoin-2008",
      "lwn-git-3-2026",
      "ef-pqai-1-keccak-2026",
      "nist-sp800-63b-4-2025",
      "ietf-rfc6151-2011",
      "li-et-al-sha2-39steps-2026",
      "alamgir-sat-sha256-2024",
      "zhang-et-al-sha256-37step-2026",
      "gong-et-al-sha256-39step-2026",
      "li-et-al-31step-sha256-2024",
      "stevens-shattered-2017",
      "nist-sha1-retire-2022",
      "lwn-git-sha256-2025",
      "leurent-peyrin-shambles-2020"
    ]
  },
  {
    "id": "aes",
    "title": "A practical attack on AES",
    "short": "AES keys can be recovered from ciphertext at practical cost.",
    "premise": "Assume a cryptanalytic advance recovers AES keys from captured ciphertext at a cost within reach of a large agency. Public-key cryptography and hashes are unaffected.",
    "class": "symmetric",
    "recordedPast": true,
    "scopes": [
      {
        "id": "aes-128",
        "label": "AES-128 only",
        "description": "The 128-bit variant falls; AES-256 keeps enough margin.",
        "breaks": [
          {
            "node": "aes-128",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 0.03,
            "low": 0.005,
            "high": 0.1,
            "confidence": "low",
            "basis": "A first attack on a cipher this studied would likely be an agency-scale computation per key. The nearest published price is about $30 million [#p-rsa1024-cost-lu] to factor one RSA-1024 key on rented GPUs [@lu-cognition-rsa260-2026]; at such prices only a few chosen keys are worth breaking.",
            "facts": [
              "p-rsa1024-cost-lu"
            ]
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 48,
            "low": 12,
            "high": 120,
            "confidence": "low",
            "basis": "Attack costs fall with dedicated hardware and scale: DES went from {p-des-deep-crack-time-1998} on a purpose-built machine in 1998 to {p-des-challenge-iii-1999} a year later [@eff-des-cracker-faq-1998; @distributed-net-des-1999], and RSA-512 from {p-rsa512-1999-effort} of computing to {p-rsa512-2016-faas} over 17 years [@valenta-faas-2016]. Assumed four years to full capacity, with a wide range.",
            "facts": [
              "p-des-deep-crack-time-1998",
              "p-des-challenge-iii-1999",
              "p-rsa512-1999-effort",
              "p-rsa512-2016-faas"
            ]
          },
          "describe": "One key at a time, at great cost, at first."
        }
      },
      {
        "id": "all-aes",
        "label": "Every key size",
        "description": "AES-128 and AES-256 both fall.",
        "breaks": [
          {
            "node": "aes-128",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          },
          {
            "node": "aes-256",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 0.02,
            "low": 0.005,
            "high": 0.08,
            "confidence": "low",
            "basis": "AES-256 has far more margin than AES-128: the best full-cipher attacks cost about 2^254.4 against 2^126.1 [@bogdanov-biclique-aes-2011]. An attack reaching both would likely cost more per key at first than one reaching AES-128 alone.",
            "facts": [
              "p-aes256-biclique-full-round",
              "p-aes128-biclique-full-round"
            ]
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 60,
            "low": 12,
            "high": 120,
            "confidence": "low",
            "basis": "The same cost curves as for AES-128 [@eff-des-cracker-faq-1998; @valenta-faas-2016], a year longer because the larger key adds cost at every step.",
            "facts": [
              "p-des-deep-crack-time-1998",
              "p-rsa512-2016-faas"
            ]
          },
          "describe": "One key at a time, at great cost, at first."
        }
      }
    ],
    "defaultScope": "aes-128",
    "defaultPath": "allied-held",
    "defaultYear": 2030,
    "years": [
      2026,
      2045
    ],
    "narrative": [
      "Assume a cryptanalytic advance recovers AES keys from captured ciphertext at a cost a large agency can pay. Public-key cryptography and hashes are unaffected, but the data they help protect is usually encrypted with AES once the handshake is done: TLS 1.3 requires AES-128-GCM [@rfc8446-tls13-2018], IPsec requires AES-GCM [@rfc8221-esp-algorithms-2017], and cloud key services encrypt data keys with AES-256 [@aws-kms-cryptography].",
      "Stored data fails worst. A break of a key exchange exposes sessions; a break of AES also exposes every recording, disk, backup and archive encrypted under it, and fixing that means re-encrypting the data, as NIST told agencies to do when DES was withdrawn [@fr-fips46-3-withdrawal-2005]. Traffic has a fallback: ChaCha20-Poly1305 was standardized so that a weakness in AES would not leave only the much slower 3DES [@rfc8439-chacha20-poly1305-2018], and WireGuard already uses it [@wireguard-protocol].",
      "The scopes split on key size. US national-security systems standardize on AES-256 under CNSA 2.0 [@ietf-cnsa2-tls-profile-2026], so a break of AES-128 alone spares them, while a break of every key size reaches them too.",
      "This is the least expected scenario in the set. The best attacks on full AES beat brute force by only about {p-aes-full-round-margin-2026} [@nasr-carlini-aes-7round-2026; @bogdanov-biclique-aes-2011], and NIST expects AES-128 to remain secure for decades even against quantum computers [@nist-pqc-faq]. AI-assisted cryptanalysis in 2026 sped up attacks on 7-round AES, but its authors say no production software has to change [@anthropic-cryptographic-weaknesses-2026]. The uncertainty is not when, but whether."
    ],
    "precedents": [
      "DES fell to money, not mathematics: a machine costing under {p-des-deep-crack-cost-1998} found a key in {p-des-deep-crack-time-1998} in 1998, and a distributed effort found one in {p-des-challenge-iii-1999} the next year [@eff-des-cracker-faq-1998; @distributed-net-des-1999].",
      "Withdrawal left stored data behind: NIST withdrew DES in 2005 and told agencies to re-encrypt data protected with it, over objections citing investment in DES technology [@fr-fips46-3-withdrawal-2005].",
      "Old ciphers linger in configurations. In 2016, 86% of TLS servers still offered Triple-DES and 1 to 2% of connections likely used it [@bhargavan-leurent-sweet32-2016]; NIST disallowed three-key Triple-DES for encryption only after 2023 [@nist-sp800-131ar2-2019].",
      "Practical AES failures so far are failures of use, not of the cipher: a 2016 scan found {p-gcm-nonce-repeat-servers-2016} repeating GCM nonces, which fully breaks the authenticity of their connections [@bock-nonce-disrespecting-2016].",
      "Brute-force costs fall steadily: factoring a 512-bit RSA key took {p-rsa512-1999-effort} in 1999 and cost {p-rsa512-2016-faas} in 2016 [@valenta-faas-2016]."
    ],
    "cases": [],
    "facts": [
      "p-aes-full-round-margin-2026",
      "p-des-deep-crack-cost-1998",
      "p-des-deep-crack-time-1998",
      "p-des-challenge-iii-1999",
      "p-gcm-nonce-repeat-servers-2016",
      "p-rsa512-1999-effort",
      "p-rsa512-2016-faas",
      "p-rsa1024-cost-lu",
      "p-aes256-biclique-full-round",
      "p-aes128-biclique-full-round",
      "p-des-reencrypt-stored-data",
      "p-3des-server-support-2016"
    ],
    "sources": [
      "rfc8446-tls13-2018",
      "rfc8221-esp-algorithms-2017",
      "aws-kms-cryptography",
      "fr-fips46-3-withdrawal-2005",
      "rfc8439-chacha20-poly1305-2018",
      "wireguard-protocol",
      "ietf-cnsa2-tls-profile-2026",
      "nasr-carlini-aes-7round-2026",
      "bogdanov-biclique-aes-2011",
      "nist-pqc-faq",
      "anthropic-cryptographic-weaknesses-2026",
      "eff-des-cracker-faq-1998",
      "distributed-net-des-1999",
      "bhargavan-leurent-sweet32-2016",
      "nist-sp800-131ar2-2019",
      "bock-nonce-disrespecting-2016",
      "valenta-faas-2016",
      "lu-cognition-rsa260-2026"
    ]
  },
  {
    "id": "pqc-break",
    "title": "A post-quantum standard falls after migration",
    "short": "ML-KEM, ML-DSA or SLH-DSA is broken classically, after the world has started moving to it.",
    "premise": "Assume a classical attack breaks one of NIST's post-quantum standards at practical cost after deployment has begun, as SIKE and Rainbow were broken late in NIST's competition. Classical algorithms keep their pre-quantum security.",
    "class": "pqc",
    "recordedPast": true,
    "scopes": [
      {
        "id": "ml-kem",
        "label": "ML-KEM",
        "description": "The key-encapsulation standard falls. Hybrid key exchange keeps its classical half.",
        "breaks": [
          {
            "node": "ml-kem",
            "modes": [
              "C"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 0.6,
            "low": 0.2,
            "high": 1,
            "confidence": "low",
            "basis": "Past breaks of post-quantum candidates were cheap from the first day: SIKE fell in {c-sike-break-time-original} on one core [@cacm-sike-cracked-2022] and Rainbow in {c-rainbow-break-time} on a laptop [@beullens-rainbow-2022]. A break of a standard after years of scrutiny might cost more, hence the wide range.",
            "facts": [
              "c-sike-break-time-original",
              "c-rainbow-break-time"
            ]
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 6,
            "low": 1,
            "high": 12,
            "confidence": "low",
            "basis": "Published attacks improve within months: the SIKE attack went from about an hour to {c-sike-break-time-revised} [@cacm-sike-cracked-2022; @castryck-decru-sidh-2022].",
            "facts": [
              "c-sike-break-time-revised"
            ]
          },
          "describe": "Practical on ordinary hardware."
        }
      },
      {
        "id": "ml-dsa",
        "label": "ML-DSA",
        "description": "The lattice signature standard falls: post-quantum certificates and firmware signed with it can be forged.",
        "breaks": [
          {
            "node": "ml-dsa",
            "modes": [
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 0.6,
            "low": 0.2,
            "high": 1,
            "confidence": "low",
            "basis": "Past breaks of post-quantum candidates were cheap from the first day: SIKE fell in {c-sike-break-time-original} on one core [@cacm-sike-cracked-2022] and Rainbow in {c-rainbow-break-time} on a laptop [@beullens-rainbow-2022]. A break of a standard after years of scrutiny might cost more, hence the wide range.",
            "facts": [
              "c-sike-break-time-original",
              "c-rainbow-break-time"
            ]
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 6,
            "low": 1,
            "high": 12,
            "confidence": "low",
            "basis": "Published attacks improve within months: the SIKE attack went from about an hour to {c-sike-break-time-revised} [@cacm-sike-cracked-2022; @castryck-decru-sidh-2022].",
            "facts": [
              "c-sike-break-time-revised"
            ]
          },
          "describe": "Practical on ordinary hardware."
        }
      },
      {
        "id": "module-lattice",
        "label": "Both (module lattices)",
        "description": "A structural attack on module lattices takes down ML-KEM and ML-DSA together.",
        "breaks": [
          {
            "node": "ml-kem",
            "modes": [
              "C"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          },
          {
            "node": "ml-dsa",
            "modes": [
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 0.4,
            "low": 0.1,
            "high": 0.8,
            "confidence": "low",
            "basis": "An attack deep enough to reach both standards is more likely to start as a heavy computation than as a laptop job; the AI-found lattice algorithms of 2026 are asymptotic and impractical at real parameters [@anthropic-formal-math-lattices-2026]. Set below the single-scheme case."
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 12,
            "low": 3,
            "high": 24,
            "confidence": "low",
            "basis": "Rainbow's history fits a deeper attack: {c-rainbow-first-to-second-attack} passed between the first serious weakening and the practical key recovery [@beullens-uov-rainbow-eprint-2020; @beullens-rainbow-2022].",
            "facts": [
              "c-rainbow-first-to-second-attack"
            ]
          },
          "describe": "Practical on clusters, then ordinary hardware."
        }
      },
      {
        "id": "slh-dsa",
        "label": "SLH-DSA",
        "description": "The hash-based signature standard falls; it rests only on hash-function assumptions, so this implies a hash weakness too.",
        "breaks": [
          {
            "node": "slh-dsa",
            "modes": [
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 1,
              "low": 1,
              "high": 1,
              "confidence": "high",
              "basis": "The premise: the primitive is broken outright."
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 0.3,
            "low": 0.05,
            "high": 0.6,
            "confidence": "low",
            "basis": "SLH-DSA is hash-based [@nsa-cnsa-2-faq-2024], and the practical breaks of standard hashes on record are collisions; MD5's best preimage attack still cost 2^123.4 [@ietf-rfc6151-2011]. A break would likely be costly per signature at first.",
            "facts": [
              "p-md5-preimage-2009"
            ]
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 36,
            "low": 12,
            "high": 60,
            "confidence": "low",
            "basis": "Assumed to follow hash-attack cost curves, which for SHA-1 fell about tenfold in three years [@stevens-shattered-2017; @leurent-peyrin-shambles-2020].",
            "facts": [
              "p-sha1-shattered-cloud-cost",
              "p-sha1-shambles-cost-ip"
            ]
          },
          "describe": "Costly per signature at first."
        }
      }
    ],
    "defaultScope": "ml-kem",
    "defaultPath": "open",
    "defaultYear": 2031,
    "years": [
      2026,
      2045
    ],
    "narrative": [
      "Assume a classical attack breaks one of NIST's post-quantum standards at practical cost after deployment has started. This has happened to candidates before: SIKE, in NIST's fourth round, was broken on a single core in about an hour [@cacm-sike-cracked-2022; @nist-ir-8545-2025], and Rainbow, a signature finalist, in a weekend on a laptop [@beullens-rainbow-2022; @nist-ir-8413-third-round-2022].",
      "Hybrids decide what fails. A hybrid key exchange stays secure as long as one of its components holds [@ietf-tls-hybrid-design-16], and nearly all deployed post-quantum key exchange is hybrid: 99.99% of sites offering one use X25519MLKEM768 [@schaumann-pqc-use-2026-09]. A break of ML-KEM leaves those sessions with the classical security they had before. What fails is ML-KEM used alone, and US national-security systems are told they need not use hybrids [@nsa-cnsa-2-faq-2024]. Signatures are mixed: OpenSSH pairs ML-DSA with Ed25519 [@openssh-release-notes], but where ML-DSA signs alone a forgery needs nothing else.",
      "The fallbacks are thin. HQC was chosen as a backup to ML-KEM because it rests on different mathematics, but its standard was still under development in October 2026 [@nist-hqc-selection-2025; @nist-ir-8547-2026]. SLH-DSA is the backup for ML-DSA [@nist-pqc-fips-release-2024], and it is not approved for US national-security systems [@nsa-cnsa-2-faq-2024]. ML-KEM and ML-DSA both rest on module lattices [@nist-fips-203-2024; @cloudflare-pq-auth-origins-2026], so a structural attack there would take them down together.",
      "The risk is real but unmeasured. 48% of the 69 first-round submissions were broken by late 2023, as were 36% of those NIST picked to continue [@bernstein-qrcsp-microblog-2023]. The lattice standards have held: a 2024 quantum attack on lattices was found to fail {c-chen-quantum-lattice-2024-claim-to-bug} after it was posted [@chen-quantum-lattice-2024; @schneier-lattice-quantum-2024], and AI-found lattice algorithms in 2026 are asymptotic and impractical at ML-KEM and ML-DSA parameters [@anthropic-formal-math-lattices-2026]. Implementations are a separate risk: KyberSlash timing leaks let secret keys be recovered from several Kyber implementations, including the reference code [@bernstein-kyberslash-2024]."
    ],
    "precedents": [
      "SIKE went from fourth-round candidate to broken in {c-sike-round4-to-break}: the attack ran in {c-sike-break-time-original} on one core, and its own designers declared it insecure [@castryck-decru-sidh-2022; @cacm-sike-cracked-2022; @sike-team-statement].",
      "Rainbow weakened before it broke: a 2020 attack left its parameters short of NIST's requirements, and the key recovery that took {c-rainbow-break-time} on a laptop followed {c-rainbow-first-to-second-attack} later; NIST did not select it [@beullens-uov-rainbow-eprint-2020; @beullens-rainbow-2022; @nist-ir-8413-third-round-2022].",
      "Hybrids were built for exactly this. Cloudflare's 2019 experiment paired SIKE with X25519 so the classical exchange would hold if the new algorithm failed [@cloudflare-tls-pq-experiment-2019]; SIKE broke three years later [@castryck-decru-sidh-2022].",
      "Claimed breaks can be wrong: a 2024 quantum attack on lattice problems was found to contain a bug that undid its claim {c-chen-quantum-lattice-2024-claim-to-bug} after it was posted [@chen-quantum-lattice-2024; @schneier-lattice-quantum-2024].",
      "Implementation fixes spread unevenly: the Kyber reference code was patched for KyberSlash in December 2023, but some Kyber libraries were still unpatched in August 2025 [@kyberslash-libraries-2025]."
    ],
    "cases": [],
    "facts": [
      "c-chen-quantum-lattice-2024-claim-to-bug",
      "c-sike-round4-to-break",
      "c-sike-break-time-original",
      "c-rainbow-break-time",
      "c-rainbow-first-to-second-attack",
      "c-sike-break-time-revised",
      "p-md5-preimage-2009",
      "p-sha1-shattered-cloud-cost",
      "p-sha1-shambles-cost-ip",
      "q-hybrid-rationale",
      "q-slh-dsa-backup-role",
      "q-hqc-standard-under-development-2026",
      "q-round1-share-broken",
      "q-anthropic-lattice-billions-qubits",
      "q-scan-x25519mlkem768-share",
      "c-rainbow-break-to-rejection"
    ],
    "sources": [
      "cacm-sike-cracked-2022",
      "nist-ir-8545-2025",
      "beullens-rainbow-2022",
      "nist-ir-8413-third-round-2022",
      "ietf-tls-hybrid-design-16",
      "schaumann-pqc-use-2026-09",
      "nsa-cnsa-2-faq-2024",
      "openssh-release-notes",
      "nist-hqc-selection-2025",
      "nist-ir-8547-2026",
      "nist-pqc-fips-release-2024",
      "nist-fips-203-2024",
      "cloudflare-pq-auth-origins-2026",
      "bernstein-qrcsp-microblog-2023",
      "chen-quantum-lattice-2024",
      "schneier-lattice-quantum-2024",
      "anthropic-formal-math-lattices-2026",
      "bernstein-kyberslash-2024",
      "castryck-decru-sidh-2022",
      "sike-team-statement",
      "beullens-uov-rainbow-eprint-2020",
      "cloudflare-tls-pq-experiment-2019",
      "kyberslash-libraries-2025",
      "ietf-rfc6151-2011",
      "stevens-shattered-2017",
      "leurent-peyrin-shambles-2020"
    ]
  },
  {
    "id": "rng",
    "title": "Randomness fails at scale",
    "short": "Keys and nonces from a widely used random number generator become predictable to someone.",
    "premise": "Assume the random numbers from a widely used source are predictable to an attacker, because of a backdoor or a bug, for keys and nonces generated while the flaw is present. The algorithms themselves are sound.",
    "class": "randomness",
    "recordedPast": true,
    "scopes": [
      {
        "id": "drbg-backdoor",
        "label": "Backdoored generator standard",
        "description": "A standardized generator design carries a secret trapdoor, as Dual_EC_DRBG was shown to permit. Only the holder of the trapdoor can predict outputs.",
        "breaks": [
          {
            "node": "drbg",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 0.15,
              "low": 0.03,
              "high": 0.4,
              "confidence": "low",
              "basis": "A standard generator is one choice among several: Dual EC was in over 50 validated modules, yet NIST said that did not mean it was widely used [@nist-vcat-report-2014]. It was the default only in some products, such as RSA's libraries [@checkoway-dual-ec-tls-2014].",
              "facts": [
                "c-dual-ec-drbg-cmvp-modules",
                "s-dualec-default-bsafe"
              ]
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 1,
            "low": 1,
            "high": 1,
            "confidence": "high",
            "basis": "The trapdoor's holder predicts output directly; a NIST review judged it highly likely that Dual EC's trapdoor allowed NSA exactly that [@nist-vcat-report-2014]."
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 0,
            "low": 0,
            "high": 0,
            "confidence": "high",
            "basis": "Immediate: the capability exists before the flaw is public."
          },
          "describe": "Cheap for the holder of the trapdoor; impossible for everyone else."
        }
      },
      {
        "id": "os-entropy",
        "label": "Entropy failure in a major OS or library",
        "description": "A bug strips the entropy from a dominant platform's generator for a period, as the Debian OpenSSL bug did for 20 months.",
        "breaks": [
          {
            "node": "os-entropy",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 0.1,
              "low": 0.015,
              "high": 0.4,
              "confidence": "low",
              "basis": "The Debian bug reached {s-debian-prng-ssl-hosts-affected} of over 50,000 TLS servers scanned, about 1.5% [@yilek-debian-keys-2009], and boot-time entropy failures exposed 0.50% of TLS hosts [@heninger-mining-ps-qs-2012]. A flaw in a more dominant platform could reach far more, hence the high end.",
              "facts": [
                "s-debian-prng-ssl-hosts-affected"
              ]
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 1,
            "low": 1,
            "high": 1,
            "confidence": "high",
            "basis": "Once the flaw is known, the affected keys form a small set: {s-debian-prng-keyspace} for Debian [@heninger-mining-ps-qs-2012].",
            "facts": [
              "s-debian-prng-keyspace"
            ]
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 0,
            "low": 0,
            "high": 0,
            "confidence": "high",
            "basis": "Immediate."
          },
          "describe": "Affected keys can be enumerated on a laptop."
        }
      },
      {
        "id": "hw-rng",
        "label": "Weak hardware generator in a common chip",
        "description": "A widely used chip's entropy source is weak, as Infineon's key generation was in ROCA.",
        "breaks": [
          {
            "node": "hw-rng",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 0.2,
              "low": 0.05,
              "high": 0.5,
              "confidence": "low",
              "basis": "ROCA reached at least a billion chips [@ria-roca-lessons-2018], about 24% of sampled laptop TPMs and more than half of Estonian citizen ID cards, but only a negligible share of TLS keys [@nemec-roca-2017].",
              "facts": [
                "s-roca-global-chips",
                "s-roca-tpm-share",
                "s-roca-estonia-share"
              ]
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 0.3,
            "low": 0.05,
            "high": 1,
            "confidence": "low",
            "basis": "Cost per key depends on the flaw. Taiwan's weak card keys were factored straight from the public certificate database [@bernstein-taiwan-coppersmith-2013], while Estonia judged ROCA critical only once the full research was published [@err-suspend-certificates-2017].",
            "facts": [
              "s-taiwan-keys-factored"
            ]
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 12,
            "low": 0,
            "high": 36,
            "confidence": "low",
            "basis": "Methods improve after publication: ROCA's full paper followed the first disclosure by {c-roca-public-to-full-paper} [@crocs-roca-disclosure-2017], and the SIKE attack sped up about sixfold within a year [@cacm-sike-cracked-2022; @castryck-decru-sidh-2022].",
            "facts": [
              "c-roca-public-to-full-paper",
              "c-sike-break-time-revised"
            ]
          },
          "describe": "Moderate cost per key."
        }
      }
    ],
    "defaultScope": "drbg-backdoor",
    "defaultPath": "adversary-held",
    "defaultYear": 2027,
    "years": [
      2026,
      2040
    ],
    "narrative": [
      "Assume a widely used source of random numbers becomes predictable to an attacker, through a planted trapdoor or an accident, for every key and nonce it produced while the flaw was present. The algorithms are sound; the keys are not.",
      "What fails is a cohort of keys, not a protocol. The Debian OpenSSL bug cut key generation to {s-debian-prng-keyspace} for about two years [@heninger-mining-ps-qs-2012], and Debian told users to regenerate all key material made with it since September 2006, including SSH, OpenVPN, DNSSEC and certificate keys [@debian-dsa-1571-2008]. A flaw in Infineon's key generation, ROCA, reached at least a billion chips [@ria-roca-lessons-2018], including about 24% of sampled laptop TPMs and more than half of Estonian citizen ID cards [@nemec-roca-2017]. Fixing the generator does not fix the keys it already made: Android's 2013 flaw left every wallet generated until then open to theft until its owner moved the coins to a new key [@bitcoin-org-android-alert-2013].",
      "A backdoor is the hardest version to see. NIST standardized Dual_EC_DRBG in 2006 [@bernstein-dual-ec-backdoor-2015]; researchers showed in 2007 that it could hide a backdoor [@schneier-wired-dual-ec-2007], yet RSA's libraries still used it by default in 2013 [@checkoway-dual-ec-tls-2014; @wired-rsa-advisory-2013], and NIST advised against it only {c-dual-ec-drbg-public-to-nist-advice} after the warning [@nist-sp800-90-historical-info]. A NIST review later judged it highly likely that the trapdoor let NSA predict the output [@nist-vcat-report-2014]. Only the holder can exploit such a trapdoor, and others cannot tell it is in use: after unknown parties changed the Dual EC constant in Juniper's ScreenOS in 2012 [@checkoway-juniper-dual-ec-2016], Juniper said no detection existed for the resulting VPN decryption [@juniper-jsa10713-2015].",
      "The uncertainty is breadth: how many deployments draw keys from the flawed source. Measured cases range from 0.50% of TLS hosts for boot-time entropy failures [@heninger-mining-ps-qs-2012] and {s-debian-prng-ssl-hosts-affected} of over 50,000 TLS servers for Debian [@yilek-debian-keys-2009] to most of a national ID card system for ROCA [@nemec-roca-2017]. Dual EC was in over 50 validated modules but, NIST said, not widely used [@nist-vcat-report-2014]."
    ],
    "precedents": [
      "Debian, 2006 to 2008: a Debian-specific change left OpenSSL's generator predictable for {c-debian-openssl-introduced-to-public} [@debian-dsa-1571-2008], and 30% of affected hosts were still vulnerable almost six months after disclosure [@yilek-debian-keys-2009].",
      "Dual EC, 2006 to 2013: a generator publicly suspected of a backdoor stayed in the NIST standard for {c-dual-ec-drbg-public-to-nist-advice} after the warning, and NIST reopened the standard only days after leaked documents described NSA's SIGINT Enabling program [@schneier-wired-dual-ec-2007; @nist-sp800-90-historical-info; @nist-vcat-report-2014].",
      "Juniper, 2012 to 2015: an unauthorized change to the Dual EC constant in ScreenOS stayed hidden for about {c-juniper-screenos-introduced-to-public}, and the generator was exploitable by whoever chose the constant from 2008 until April 2016 [@checkoway-juniper-dual-ec-2016].",
      "Taiwan, 2013: weak keys on certified smart cards, about 10,000 of which had been issued without health tests, let researchers factor {s-taiwan-keys-factored} from the public certificate database; replacement ran through {s-taiwan-remediation} [@bernstein-taiwan-coppersmith-2013].",
      "ROCA, 2017: Estonia suspended the certificates of nearly {c-roca-estonia-cards-suspended} once the full research was published [@err-suspend-certificates-2017], and nearly 300,000 not renewed by the deadline were voided [@err-300000-not-renewed-2018]."
    ],
    "cases": [],
    "facts": [
      "s-debian-prng-keyspace",
      "c-dual-ec-drbg-public-to-nist-advice",
      "s-debian-prng-ssl-hosts-affected",
      "c-debian-openssl-introduced-to-public",
      "c-juniper-screenos-introduced-to-public",
      "s-taiwan-keys-factored",
      "s-taiwan-remediation",
      "c-roca-estonia-cards-suspended",
      "c-roca-public-to-full-paper",
      "c-dual-ec-drbg-cmvp-modules",
      "s-dualec-default-bsafe",
      "s-roca-global-chips",
      "s-roca-tpm-share",
      "s-roca-estonia-share",
      "c-sike-break-time-revised",
      "c-debian-openssl-key-scope",
      "s-debian-prng-residual-6-months",
      "s-juniper-exposure-window",
      "c-juniper-screenos-exposed-devices",
      "c-roca-estonia-voided"
    ],
    "sources": [
      "heninger-mining-ps-qs-2012",
      "debian-dsa-1571-2008",
      "ria-roca-lessons-2018",
      "nemec-roca-2017",
      "bitcoin-org-android-alert-2013",
      "bernstein-dual-ec-backdoor-2015",
      "schneier-wired-dual-ec-2007",
      "checkoway-dual-ec-tls-2014",
      "wired-rsa-advisory-2013",
      "nist-sp800-90-historical-info",
      "nist-vcat-report-2014",
      "checkoway-juniper-dual-ec-2016",
      "juniper-jsa10713-2015",
      "yilek-debian-keys-2009",
      "bernstein-taiwan-coppersmith-2013",
      "err-suspend-certificates-2017",
      "err-300000-not-renewed-2018",
      "crocs-roca-disclosure-2017",
      "cacm-sike-cracked-2022",
      "castryck-decru-sidh-2022"
    ]
  },
  {
    "id": "library",
    "title": "A dominant crypto library fails",
    "short": "An implementation flaw in the code everyone shares, not in the mathematics.",
    "premise": "Assume a severe implementation flaw in a dominant cryptographic library or platform verifier: keys leak from memory, forged signatures verify, or a backdoor ships through the supply chain. The algorithms are sound; the code is not.",
    "class": "implementation",
    "recordedPast": false,
    "scopes": [
      {
        "id": "memory-disclosure",
        "label": "Key-leaking memory disclosure",
        "description": "A Heartbleed-class bug lets anyone read server memory, including private keys and session data.",
        "breaks": [
          {
            "node": "openssl-family",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 0.6,
              "low": 0.3,
              "high": 0.9,
              "confidence": "low",
              "basis": "Heartbleed reached an estimated 24 to 55% of all popular HTTPS sites at disclosure [@durumeric-matter-of-heartbleed-2014]. Not every site ran the affected library, so the share of the library's own deployments exposed was higher; assumed about 0.6, lower for a flaw confined to one release line.",
              "facts": [
                "c-heartbleed-share-popular-sites"
              ]
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 1,
            "low": 1,
            "high": 1,
            "confidence": "high",
            "basis": "Exploitation is cheap and scriptable: attempts from almost {c-heartbleed-attack-sources} began within 24 hours of Heartbleed's disclosure [@durumeric-matter-of-heartbleed-2014].",
            "facts": [
              "c-heartbleed-attack-sources"
            ]
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 0,
            "low": 0,
            "high": 0,
            "confidence": "high",
            "basis": "Immediate."
          },
          "describe": "Anyone with a script, against any reachable server."
        },
        "remediation": {
          "kind": "ref",
          "ref": "patch-speed",
          "scale": 1,
          "complement": false
        }
      },
      {
        "id": "verifier-bypass",
        "label": "Signature-verification bypass",
        "description": "A platform's verifier accepts forged signatures, as Windows CryptoAPI did (CurveBall) and Java did (Psychic Signatures).",
        "breaks": [
          {
            "node": "platform-crypto",
            "modes": [
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 0.4,
              "low": 0.05,
              "high": 0.8,
              "confidence": "low",
              "basis": "Reach depends on which versions carry the flaw: CurveBall affected Windows 10 and Server 2016 and 2019 and every application relying on them [@nsa-csa-curveball-2020], while Psychic Signatures hit Java 15 to 18 when over 94% of production Java applications ran Java 8 or 11 [@madden-psychic-signatures-2022; @newrelic-java-ecosystem-2022].",
              "facts": [
                "s-psychic-exposure-adoption"
              ]
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 1,
            "low": 1,
            "high": 1,
            "confidence": "high",
            "basis": "Forging needs no special compute: a public CurveBall demonstration appeared within a day of disclosure [@ars-curveball-exploit-2020].",
            "facts": [
              "c-curveball-public-to-poc"
            ]
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 0,
            "low": 0,
            "high": 0,
            "confidence": "high",
            "basis": "Immediate."
          },
          "describe": "Forgeries on demand."
        },
        "remediation": {
          "kind": "ref",
          "ref": "patch-speed",
          "scale": 1,
          "complement": false
        }
      },
      {
        "id": "supply-chain",
        "label": "Supply-chain backdoor",
        "description": "A backdoor is slipped into a widely shipped library release, as the xz-utils backdoor nearly was in 2024.",
        "breaks": [
          {
            "node": "openssl-family",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 0.25,
              "low": 0.02,
              "high": 0.7,
              "confidence": "low",
              "basis": "The one large modern attempt was caught early: xz's backdoor had reached mostly pre-release distributions such as Fedora Rawhide and Fedora 40 beta, and no RHEL version, when it was found [@freund-xz-oss-security-2024; @redhat-xz-alert-2024]. A backdoor that rode stable releases unnoticed could reach far further.",
              "facts": [
                "s-xz-limited-deployment"
              ]
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 1,
            "low": 1,
            "high": 1,
            "confidence": "high",
            "basis": "The backdoor's owner has full use from the day it ships."
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 0,
            "low": 0,
            "high": 0,
            "confidence": "high",
            "basis": "Immediate."
          },
          "describe": "Full control for whoever planted it."
        },
        "remediation": {
          "kind": "ref",
          "ref": "patch-speed",
          "scale": 1,
          "complement": false
        }
      }
    ],
    "defaultScope": "memory-disclosure",
    "defaultPath": "coordinated",
    "defaultYear": 2027,
    "years": [
      2026,
      2035
    ],
    "narrative": [
      "Assume a severe flaw in the code that most systems share, not in the mathematics: a dominant library leaks keys from memory, a platform's verifier accepts forged signatures, or a backdoor ships in a release. Every algorithm is sound; the implementation is not.",
      "These failures move fast. Heartbleed let anyone read server memory on an estimated 24 to 55% of popular HTTPS sites, and exploitation attempts from almost {c-heartbleed-attack-sources} began within 24 hours of disclosure [@durumeric-matter-of-heartbleed-2014]. CurveBall broke certificate checks on Windows 10 and Server 2016 and 2019 [@nsa-csa-curveball-2020]; less than a day after disclosure a researcher showed how to impersonate any website or server with it [@ars-curveball-exploit-2020], and US agencies were given {s-curveball-ed-deadline} to patch [@cisa-ed-20-02-2020].",
      "Patching is fast; repairing trust is not. Popular sites patched Heartbleed within days, but only about 10% of vulnerable sites replaced their certificates within a month, and 14% of those that did reused the same private key [@durumeric-matter-of-heartbleed-2014]. A key that leaked before the patch stays leaked, and Heartbleed's flaw had shipped for {c-heartbleed-release-to-public} before disclosure [@codenomicon-heartbleed-com-2014].",
      "Breadth is the main uncertainty, because a flaw's reach depends on which versions carry it. Psychic Signatures broke ECDSA verification in Java 15 to 18 [@madden-psychic-signatures-2022], but in 2022 more than 94% of production Java applications still ran Java 8 or 11 [@newrelic-java-ecosystem-2022]. The xz backdoor was caught while it had reached mostly pre-release distributions [@freund-xz-oss-security-2024; @redhat-xz-alert-2024]. No source measures one library's share of deployed cryptography directly, so the severity ranges here are wide."
    ],
    "precedents": [
      "Heartbleed, 2014: the flaw shipped in OpenSSL for {c-heartbleed-release-to-public} [@codenomicon-heartbleed-com-2014]; the first exploitation attempt came 21 hours after disclosure, and 3% of top sites were still vulnerable almost two months on [@durumeric-matter-of-heartbleed-2014].",
      "CurveBall, 2020: the flaw shipped in Windows 10 for about {c-curveball-introduced-to-public} before it was disclosed [@microsoft-lifecycle-windows-10; @msrc-cvrf-cve-2020-0601], and NSA, which found it, expected remote exploitation tools to be made quickly and widely available [@nsa-csa-curveball-2020].",
      "Psychic Signatures, 2022: a rewrite of Java's elliptic-curve code let attackers bypass ECDSA signature checks entirely, and the fix took five months from report to release [@madden-psychic-signatures-2022].",
      "xz, 2024: a backdoor slipped in by a contributor who had worked on the project since 2021 was found by an engineer chasing slow SSH logins {c-xz-backdoor-introduced-to-discovered} after the first backdoored release [@cox-xz-timeline-2024; @freund-xz-oss-security-2024].",
      "BigSig, 2021: a flaw in Mozilla's NSS library, exploitable since a June 2012 refactoring, was fixed in NSS 3.73.0 in late 2021 [@project-zero-bigsig-2021]."
    ],
    "cases": [],
    "facts": [
      "c-heartbleed-attack-sources",
      "s-curveball-ed-deadline",
      "c-heartbleed-release-to-public",
      "c-curveball-introduced-to-public",
      "c-xz-backdoor-introduced-to-discovered",
      "c-heartbleed-share-popular-sites",
      "s-psychic-exposure-adoption",
      "c-curveball-public-to-poc",
      "s-xz-limited-deployment",
      "s-heartbleed-cert-replacement",
      "c-heartbleed-unpatched-2-months",
      "c-curveball-public-to-patch"
    ],
    "sources": [
      "durumeric-matter-of-heartbleed-2014",
      "nsa-csa-curveball-2020",
      "ars-curveball-exploit-2020",
      "cisa-ed-20-02-2020",
      "codenomicon-heartbleed-com-2014",
      "madden-psychic-signatures-2022",
      "newrelic-java-ecosystem-2022",
      "freund-xz-oss-security-2024",
      "redhat-xz-alert-2024",
      "microsoft-lifecycle-windows-10",
      "msrc-cvrf-cve-2020-0601",
      "cox-xz-timeline-2024",
      "project-zero-bigsig-2021"
    ]
  },
  {
    "id": "pki",
    "title": "A root of trust is compromised",
    "short": "A root CA's key, an HSM vendor's fleet or a platform's code-signing key falls into the wrong hands.",
    "premise": "Assume an attacker obtains the private key of a major trust anchor, or can extract keys from a vendor's deployed HSMs. Every algorithm is sound; the keys themselves are lost.",
    "class": "trust",
    "recordedPast": false,
    "scopes": [
      {
        "id": "root-ca",
        "label": "A major root CA",
        "description": "A widely trusted CA's signing key is stolen. Any trusted CA can issue a certificate for any domain, so every site is impersonable until the CA is distrusted.",
        "breaks": [
          {
            "node": "web-pki",
            "modes": [
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 0.85,
              "low": 0.6,
              "high": 1,
              "confidence": "low",
              "basis": "A trusted root can sign for any name [@stevens-rogue-ca-2008]. Some misuse is caught: Chrome detected DigiNotar's rogue Google certificate on its own [@google-diginotar-mitm-blog-2011]. The rest of the web stays impersonable until the CA is distrusted."
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 1,
            "low": 1,
            "high": 1,
            "confidence": "high",
            "basis": "Issuing certificates costs nothing once the key is held: DigiNotar's intruder issued at least {c-diginotar-rogue-certs} [@foxit-black-tulip-final-2012].",
            "facts": [
              "c-diginotar-rogue-certs"
            ]
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 0,
            "low": 0,
            "high": 0,
            "confidence": "high",
            "basis": "Immediate."
          },
          "describe": "Certificates for any name, on demand."
        },
        "remediation": {
          "kind": "ref",
          "ref": "distrust-speed",
          "scale": 1,
          "complement": false
        }
      },
      {
        "id": "hsm-fleet",
        "label": "An HSM vendor's fleet",
        "description": "A vulnerability or backdoor lets keys be extracted from one vendor's deployed HSMs.",
        "breaks": [
          {
            "node": "hsm",
            "modes": [
              "C",
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 0.35,
              "low": 0.15,
              "high": 0.6,
              "confidence": "low",
              "basis": "ABI ranks {dc-payment-hsm-vendors} in payment HSMs, with Thales first, but publishes no shares [@abi-payment-hsm-ranking-2025]. Assumed: the leading vendor's fleet holds about a third of the keys, with a wide range.",
              "facts": [
                "dc-payment-hsm-vendors"
              ]
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 0.2,
            "low": 0.05,
            "high": 0.5,
            "confidence": "low",
            "basis": "Known extraction flaws in secure hardware need the device in hand and specialized equipment, as EUCLEAK did [@yubico-ysa-2024-03], so keys are taken one site at a time."
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 12,
            "low": 3,
            "high": 36,
            "confidence": "low",
            "basis": "Judgment: access is gained site by site. Hardware that cannot take firmware updates keeps the flaw for its working life [@yubico-ysa-2024-03].",
            "facts": [
              "s-eucleak-no-update"
            ]
          },
          "describe": "Site by site."
        }
      },
      {
        "id": "code-signing-key",
        "label": "A platform code-signing key",
        "description": "A major platform vendor's signing key is stolen, as Microsoft's consumer signing key was in the Storm-0558 intrusion.",
        "breaks": [
          {
            "node": "code-signing",
            "modes": [
              "A"
            ],
            "severity": {
              "kind": "assumption",
              "value": 0.5,
              "low": 0.2,
              "high": 0.8,
              "confidence": "low",
              "basis": "No source gives platform shares. One vendor's key reaches all its devices: every Windows device carries the same Secure Boot certificates [@microsoft-secure-boot-expiry-2026], and the Flame certificates affected all supported Windows releases [@microsoft-advisory-2718704-2012]. Assumed: one major platform is about half of the code-signing node."
            }
          }
        ],
        "capacity": {
          "start": {
            "kind": "assumption",
            "value": 1,
            "low": 1,
            "high": 1,
            "confidence": "high",
            "basis": "Signing costs nothing once the key is held: Storm-0558 forged access to {c-storm-0558-enterprise-orgs} with one key [@csrb-storm-0558-report-2024].",
            "facts": [
              "c-storm-0558-enterprise-orgs"
            ]
          },
          "rampMonths": {
            "kind": "assumption",
            "value": 0,
            "low": 0,
            "high": 0,
            "confidence": "high",
            "basis": "Immediate."
          },
          "describe": "Signed malware on demand."
        },
        "remediation": {
          "kind": "ref",
          "ref": "distrust-speed",
          "scale": 1,
          "complement": false
        }
      }
    ],
    "defaultScope": "root-ca",
    "defaultPath": "adversary-held",
    "defaultYear": 2027,
    "years": [
      2026,
      2035
    ],
    "narrative": [
      "Assume an attacker gets the private key of a major trust anchor: a root certificate authority, a platform's code-signing key, or the keys inside one vendor's hardware security modules. Every algorithm is sound; the keys themselves are lost.",
      "Concentration makes this matter. Nearly all browsers and operating systems derive their trusted roots from {di-root-store-concentration-2021}: Apple, Microsoft and NSS [@ma-tracing-roots-2021]; Let's Encrypt issues more than 66% of all certificates [@cloudflare-ct-insights-2025]; and every Windows device carries the same set of Microsoft Secure Boot certificates [@microsoft-secure-boot-expiry-2026]. A rogue certificate authority trusted by browsers can impersonate any website [@stevens-rogue-ca-2008]. DigiNotar's intruder issued at least {c-diginotar-rogue-certs} in 2011, and one was used against about 300,000 users, almost all in Iran [@foxit-black-tulip-final-2012].",
      "Signing keys fail quietly. In 2023 one stolen Microsoft signing key, which should only have worked for consumer accounts, let Storm-0558 forge access to the mail of {c-storm-0558-enterprise-orgs} and 503 personal accounts and take about {c-storm-0558-state-emails} from the State Department alone; Microsoft does not know how the key was obtained [@csrb-storm-0558-report-2024]. Flame used a forged Microsoft certificate to pose as Windows Update [@cwi-flame-2012], and nearly 500 device models shipped Secure Boot with a key labelled DO NOT TRUST that was compromised in 2022 [@ars-pkfail-2024].",
      "Hardware security modules hold payment keys, code-signing keys and the roots of cloud key services [@abi-payment-hsm-ranking-2025; @cabforum-code-signing-br; @aws-kms-cryptography]. ABI ranks eight payment HSM vendors, with Thales first, but no source publishes their shares [@abi-payment-hsm-ranking-2025]. The best-known extraction flaw needed the device in hand: EUCLEAK went unnoticed for 14 years in Infineon's library, but needed physical possession and specialized equipment [@ninjalab-eucleak-2024; @yubico-ysa-2024-03]. How far one vendor's flaw would reach is the main unknown."
    ],
    "precedents": [
      "DigiNotar, 2011: the company found rogue certificates in July and revoked some without telling Mozilla [@mozilla-diginotar-removal-followup-2011]; the attack became public only when a Gmail user posted a browser warning on 28 August, which Chrome had raised on its own, and DigiNotar was declared bankrupt {c-diginotar-public-to-bankruptcy} after disclosure [@foxit-black-tulip-final-2012; @google-diginotar-mitm-blog-2011].",
      "Symantec, 2017 to 2018: after at least {s-symantec-misissued} were found misissued, Chrome removed trust in Symantec's certificates in two steps during 2018 [@tetelman-symantec-scan-2018; @google-symantec-distrust-2017], and Mozilla delayed its last step because over 1% of top sites still used them [@mozilla-symantec-delay-2018].",
      "Storm-0558, 2023: the stolen key dated from 2016 and was due to be retired in 2021, but Microsoft had stopped rotating consumer keys; it invalidated the key on 24 June 2023, nine days after the State Department detected the intrusion [@csrb-storm-0558-report-2024].",
      "RSA SecurID, 2011: after RSA was breached, Lockheed Martin was reportedly attacked with duplicated tokens, and RSA offered to replace virtually all of about 40 million tokens [@wired-rsa-securid-2011; @ars-rsa-securid-2011].",
      "Gemalto, 2010: leaked documents describe NSA and GCHQ breaking into Gemalto, which makes some 2 billion SIM cards a year, and harvesting millions of SIM keys in three months; Gemalto said the intrusions it found could not have produced a massive theft [@intercept-great-sim-heist-2015; @gemalto-sim-investigation-2015]."
    ],
    "cases": [],
    "facts": [
      "di-root-store-concentration-2021",
      "c-diginotar-rogue-certs",
      "c-storm-0558-enterprise-orgs",
      "c-storm-0558-state-emails",
      "c-diginotar-public-to-bankruptcy",
      "s-symantec-misissued",
      "dc-payment-hsm-vendors",
      "s-eucleak-no-update",
      "c-diginotar-victim-ips",
      "di-ca-le-issuance-share-2025",
      "s-rsa-securid-tokens",
      "s-pkfail-models",
      "s-eucleak-latency"
    ],
    "sources": [
      "ma-tracing-roots-2021",
      "cloudflare-ct-insights-2025",
      "microsoft-secure-boot-expiry-2026",
      "stevens-rogue-ca-2008",
      "foxit-black-tulip-final-2012",
      "csrb-storm-0558-report-2024",
      "cwi-flame-2012",
      "ars-pkfail-2024",
      "abi-payment-hsm-ranking-2025",
      "cabforum-code-signing-br",
      "aws-kms-cryptography",
      "ninjalab-eucleak-2024",
      "yubico-ysa-2024-03",
      "mozilla-diginotar-removal-followup-2011",
      "google-diginotar-mitm-blog-2011",
      "tetelman-symantec-scan-2018",
      "google-symantec-distrust-2017",
      "mozilla-symantec-delay-2018",
      "wired-rsa-securid-2011",
      "ars-rsa-securid-2011",
      "intercept-great-sim-heist-2015",
      "gemalto-sim-investigation-2015",
      "microsoft-advisory-2718704-2012"
    ]
  }
]