{
  "slug": "classic-mceliece",
  "name": "Classic McEliece",
  "aka": "binary Goppa codes",
  "kind": "Key-encapsulation mechanism (KEM)",
  "family": "Code-based (binary Goppa codes)",
  "standard": "ISO/IEC 18033-2 Amd 2",
  "standard_url": "https://classic.mceliece.org/",
  "body": "ISO/IEC",
  "date": "2026-06",
  "status": "New attacks in 2026",
  "summary": "Classic McEliece is the oldest post-quantum KEM design (1978). NIST did not select it in the fourth round (2025-03-11) because of its very large public keys, and ISO/IEC standardized it in June 2026. In August 2026 a quasipolynomial-time distinguisher for its underlying Goppa codes was published, followed by unreviewed key-recovery estimates below its claimed security levels. No attack is practical, but Germany's BSI, which had recommended it since 2020, now advises against using it in new developments.",
  "parameter_sets": [
    {
      "name": "mceliece348864",
      "category": 1,
      "pk": 261120,
      "sk": 6492,
      "ct_or_sig": 96
    },
    {
      "name": "mceliece460896",
      "category": 3,
      "pk": 524160,
      "sk": 13608,
      "ct_or_sig": 156
    },
    {
      "name": "mceliece6688128",
      "category": 5,
      "pk": 1044992,
      "sk": 13932,
      "ct_or_sig": 208
    }
  ],
  "size_label": "Ciphertext",
  "deployments": [
    "Rosenpass (static keys) and Mullvad's mullvad-upgrade-tunnel for stock WireGuard clients",
    "The Mullvad VPN apps replaced it with HQC in 2025 (desktop 2025.7, Android 2025.5, iOS 2025.6)",
    "German and EU government contexts under BSI TR-02102-1"
  ],
  "audit_focus": [
    "Constant-time Goppa decoding (Berlekamp-Massey) and the Benes network for secret permutation",
    "Handling of the ~1 MB public key: memory safety, transport, caching",
    "Key generation failure handling and rejection sampling"
  ],
  "references": [
    {
      "title": "Classic McEliece project",
      "url": "https://classic.mceliece.org/"
    },
    {
      "title": "BSI TR-02102-1 Cryptographic Mechanisms",
      "url": "https://www.bsi.bund.de/EN/Themen/Unternehmen-und-Organisationen/Standards-und-Zertifizierung/Technische-Richtlinien/TR-nach-Thema-sortiert/tr02102/tr02102_node.html"
    },
    {
      "title": "BSI: Notes on recent developments concerning Classic McEliece (2026-09-29)",
      "url": "https://www.bsi.bund.de/SharedDocs/Downloads/EN/BSI/Crypto/Notes_Classic_McEliece.pdf?__blob=publicationFile&v=2"
    },
    {
      "title": "Ghoshal, Ishai, Jain, Sun: Quasipolynomial cryptanalysis of the McEliece cryptosystem",
      "url": "https://eprint.iacr.org/2026/1630"
    }
  ],
  "group": "kem",
  "date_note": "ISO/IEC amendment 2026-06; NIST fourth round ended 2025-03-11 without selecting it",
  "assumptions": [
    {
      "id": "syndrome-decoding",
      "role": "Recovering the message means decoding a random-looking binary linear code"
    },
    {
      "id": "goppa-indistinguishability",
      "role": "The public key (a scrambled binary Goppa code) must be indistinguishable from a random code. A 2026 distinguisher contradicts this"
    },
    {
      "id": "random-oracle-model",
      "role": "KEM transform proven in the ROM/QROM"
    }
  ],
  "security": {
    "level": "watch",
    "note": "Under active cryptanalysis. A 2026 preprint distinguishes its public keys from random codes in quasipolynomial time, and unreviewed follow-up work claims key recovery below the claimed security levels. No attack is practical. New deployments are inadvisable pending review; existing deployments should confirm hybrid use and plan a replacement."
  },
  "page": "https://pqt-19a6ffd695e12a.pages.dev/algorithms/classic-mceliece/",
  "reviewed": "2026-11-25",
  "events": [
    {
      "date": "2026-11-24",
      "title": "New generic syndrome-decoding records (length 580/weight 71; quasi-cyclic weight 64)",
      "summary": "Markku-Juhani Saarinen announced new records on the Decoding Challenge: random binary syndrome decoding at length 580 and weight 71 (2026-11-24, under 3 hours on 40 GH200 GPUs) and quasi-cyclic 'HQC-style' syndrome decoding at length 4098 and weight 64 (2026-09-30). These are challenge instances far smaller than the parameters of Classic McEliece or HQC and do not change their security estimates by themselves; the author noted that the quasi-cyclic instance was favourable and that new HQC estimates from this work are forthcoming.",
      "type": "cryptanalysis",
      "practicality": "theoretical",
      "action": "none",
      "affects": [
        "classic-mceliece",
        "hqc"
      ],
      "assumptions": [
        "syndrome-decoding",
        "qcsd"
      ],
      "id": "2026-11-24-new-generic-syndrome-decoding-records-length-580",
      "classification": "Theoretical result",
      "page": "https://pqt-19a6ffd695e12a.pages.dev/feed/2026-11-24-new-generic-syndrome-decoding-records-length-580/"
    },
    {
      "date": "2026-09-29",
      "title": "Germany: BSI advises against Classic McEliece in new developments after new cryptanalysis",
      "summary": "BSI published a note stating that Classic McEliece should currently no longer be used in new developments or new cryptographic planning, and recommends FrodoKEM, ML-KEM or (once standardized) HQC instead. It cites a series of 2026 structural attacks on Goppa-code McEliece, including claimed key-recovery complexities of 2^99 to 2^102 for the parameter sets BSI recommends, while noting the results are not yet fully peer-reviewed and do not enable a practical attack. BSI will revise its Classic McEliece recommendation in the next TR-02102-1, expected early 2027.",
      "type": "policy",
      "action": "monitor",
      "action_note": "Do not choose Classic McEliece for new designs. If you already deploy it, check that it is used in a hybrid and plan how you would replace it.",
      "affects": [
        "classic-mceliece",
        "frodokem",
        "ml-kem",
        "hqc"
      ],
      "assumptions": [
        "goppa-indistinguishability"
      ],
      "id": "2026-09-29-germany-bsi-advises-against-classic-mceliece-in",
      "classification": "Policy",
      "page": "https://pqt-19a6ffd695e12a.pages.dev/feed/2026-09-29-germany-bsi-advises-against-classic-mceliece-in/"
    },
    {
      "date": "2026-08-20",
      "title": "Heuristic key-recovery attacks put Classic McEliece below its claimed security levels",
      "summary": "Building on the GIJS distinguisher, Vedenev (2026-08-20), Saarinen and Weis posted heuristic key-recovery attacks with estimated costs between about 2^90 and 2^145 bit operations depending on parameter set and cost model, below the claimed security categories; small TII challenge instances were solved but no computation is near full size, and the estimates are unreviewed and contested (Apon published a lower bound against Vedenev's algorithm as first posted, and D. J. Bernstein disputes bit operations as the cost metric). On 2026-09-29 the BSI, which had recommended the scheme since 2020, stated that Classic McEliece should no longer be used in new developments, while noting that no practical attack exists and that existing hybrid use keeps classical security.",
      "type": "cryptanalysis",
      "practicality": "weakens",
      "action": "monitor",
      "action_note": "No practical attack exists and the estimates are unreviewed. Avoid starting new Classic McEliece designs until they are settled; existing hybrid deployments keep their classical security.",
      "affects": [
        "classic-mceliece"
      ],
      "assumptions": [
        "goppa-indistinguishability"
      ],
      "id": "2026-08-20-heuristic-key-recovery-attacks-put-classic-mceli",
      "classification": "Reduced security margin",
      "page": "https://pqt-19a6ffd695e12a.pages.dev/feed/2026-08-20-heuristic-key-recovery-attacks-put-classic-mceli/"
    },
    {
      "date": "2026-08-07",
      "title": "Quasipolynomial-time distinguisher for Classic McEliece public keys (GIJS)",
      "summary": "Ghoshal, Ishai, Jain and Sun posted a provable classical distinguisher that runs in quasipolynomial time n^O(log n) in the Classic McEliece regime and applies to all NIST-process parameter sets; its estimated cost (2^120-2^124 operations for the BSI-recommended sets, per BSI) is below the cost of generic decoding but not practical. They also describe heuristic message-recovery and key-recovery extensions. The Classic McEliece team replied on 2026-08-21 that the message-recovery attack is slower than standard attacks for every parameter set and that a public-key distinguisher is not an attack on one-wayness or IND-CCA2.",
      "type": "cryptanalysis",
      "practicality": "weakens",
      "action": "monitor",
      "affects": [
        "classic-mceliece"
      ],
      "assumptions": [
        "goppa-indistinguishability"
      ],
      "id": "2026-08-07-quasipolynomial-time-distinguisher-for-classic-m",
      "classification": "Reduced security margin",
      "page": "https://pqt-19a6ffd695e12a.pages.dev/feed/2026-08-07-quasipolynomial-time-distinguisher-for-classic-m/"
    },
    {
      "date": "2026-06",
      "title": "ISO/IEC 18033-2:2006/Amd 2:2026 published, standardizing Classic McEliece",
      "summary": "ISO/IEC published Amendment 2 to ISO/IEC 18033-2 (asymmetric ciphers); BSI states that Classic McEliece was standardized by ISO/IEC in this amendment in June 2026. Three months later BSI advised against Classic McEliece in new developments because of new cryptanalysis, so ISO standardization should not be read as a current endorsement.",
      "type": "standard",
      "affects": [
        "classic-mceliece"
      ],
      "id": "2026-06-iso-iec-18033-2-2006-amd-2-2026-published-standa",
      "classification": "Standards action",
      "page": "https://pqt-19a6ffd695e12a.pages.dev/feed/2026-06-iso-iec-18033-2-2006-amd-2-2026-published-standa/"
    },
    {
      "date": "2026-06-10",
      "title": "New algebraic key-recovery approaches on Goppa codes solve challenges, not real parameters",
      "summary": "In June 2026 Briaud, Lemoine, Randriambololona and Tillich posted a heuristic, conjecturally subexponential algebraic key-recovery attack on McEliece with binary Goppa codes (ASIACRYPT 2026), and Hemmert turned the Hemmert-Wiemers higher-order-vanishing distinguisher (CRYPTO 2026) into a key-recovery algorithm. Both broke previously unsolved TII McEliece challenge instances and a CFS key, but their estimated cost for Classic McEliece parameters stays far above the security targets (at best about 2^454 for category 1 for the former). They preceded the quasipolynomial distinguisher published in August 2026.",
      "type": "cryptanalysis",
      "practicality": "theoretical",
      "action": "monitor",
      "affects": [
        "classic-mceliece"
      ],
      "assumptions": [
        "goppa-indistinguishability"
      ],
      "id": "2026-06-10-new-algebraic-key-recovery-approaches-on-goppa-c",
      "classification": "Theoretical result",
      "page": "https://pqt-19a6ffd695e12a.pages.dev/feed/2026-06-10-new-algebraic-key-recovery-approaches-on-goppa-c/"
    },
    {
      "date": "2026-01-23",
      "title": "Germany: BSI TR-02102-1 version 2026-01 sets end dates for classical-only public-key use",
      "summary": "BSI's cryptographic guideline now recommends classical-only key agreement only until the end of 2031 (end of 2030 for very high protection needs) and classical signatures only until the end of 2035. Post-quantum schemes (ML-KEM, FrodoKEM, Classic McEliece) should be used in hybrid form with a classical scheme. The next version is expected in early 2027.",
      "type": "policy",
      "affects": [
        "ml-kem",
        "frodokem",
        "classic-mceliece"
      ],
      "id": "2026-01-23-germany-bsi-tr-02102-1-version-2026-01-sets-end",
      "classification": "Policy",
      "page": "https://pqt-19a6ffd695e12a.pages.dev/feed/2026-01-23-germany-bsi-tr-02102-1-version-2026-01-sets-end/"
    },
    {
      "date": "2025-03-11",
      "title": "NIST selects HQC as a second KEM; fourth round ends (NIST IR 8545)",
      "summary": "NIST selected HQC, a code-based KEM, for standardization as an alternative to ML-KEM and published the fourth-round status report. BIKE and Classic McEliece were not selected. As of late November 2026 no draft HQC standard has been published.",
      "type": "selection",
      "affects": [
        "hqc",
        "classic-mceliece",
        "bike"
      ],
      "id": "2025-03-11-nist-selects-hqc-as-a-second-kem-fourth-round-en",
      "classification": "Selection",
      "page": "https://pqt-19a6ffd695e12a.pages.dev/feed/2025-03-11-nist-selects-hqc-as-a-second-kem-fourth-round-en/"
    },
    {
      "date": "2024-07-24",
      "title": "Syzygy distinguisher: first subexponential distinguisher for Classic McEliece Goppa codes",
      "summary": "Hugues Randriambololona (EUROCRYPT 2025) presented a distinguisher for alternant and Goppa codes whose complexity is subexponential in the error-correcting capability and which, unlike earlier distinguishers, applies in the Classic McEliece regime. It distinguishes public keys from random codes but does not recover keys or messages, and its concrete cost for the proposed parameters is far above the security targets (at least 2^683 for BSI-recommended sets, per BSI). NIST IR 8545 cites it as a claimed asymptotic break of the indistinguishability assumption.",
      "type": "cryptanalysis",
      "practicality": "theoretical",
      "action": "monitor",
      "affects": [
        "classic-mceliece"
      ],
      "assumptions": [
        "goppa-indistinguishability"
      ],
      "id": "2024-07-24-syzygy-distinguisher-first-subexponential-distin",
      "classification": "Theoretical result",
      "page": "https://pqt-19a6ffd695e12a.pages.dev/feed/2024-07-24-syzygy-distinguisher-first-subexponential-distin/"
    },
    {
      "date": "2022-05-02",
      "title": "First key-recovery power side-channel attack on Classic McEliece implementations",
      "summary": "Guo, Johansson and Johansson (TCHES 2022) submitted chosen ciphertexts with single errors and used power leakage in the additive FFT that evaluates the error-locator polynomial to learn the secret permutation entry by entry. The attack was implemented in the ChipWhisperer framework against the FPGA reference design and an ARM Cortex-M4 software implementation, needing fewer than 800 traces for full key recovery on the smallest parameter set. It targets unprotected implementations where the attacker can measure power.",
      "type": "implementation",
      "practicality": "practical",
      "action": "monitor",
      "affects": [
        "classic-mceliece"
      ],
      "id": "2022-05-02-first-key-recovery-power-side-channel-attack-on",
      "classification": "Implementation vulnerability · Demonstrated",
      "page": "https://pqt-19a6ffd695e12a.pages.dev/feed/2022-05-02-first-key-recovery-power-side-channel-attack-on/"
    }
  ],
  "deployments_table": "https://pqt-19a6ffd695e12a.pages.dev/deployments/?alg=classic-mceliece",
  "deployments_listed": [
    {
      "project": "Rosenpass",
      "use": "WireGuard pre-shared key establishment",
      "mechanism": "Classic McEliece 460896 + Kyber-512 (pre-standard)",
      "mode": "Default",
      "since": "2023-02-25",
      "version": "Rosenpass 0.1.1"
    },
    {
      "project": "mullvad-upgrade-tunnel",
      "org": "Mullvad",
      "use": "WireGuard pre-shared key exchange for stock WireGuard clients",
      "mechanism": "Classic McEliece 460896 + ML-KEM-1024",
      "mode": "Default",
      "since": "2024-10-08",
      "version": "wgephemeralpeer 1.0.5"
    }
  ]
}
