---
title: "Classic McEliece (binary Goppa codes)"
description: "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."
url: "https://pqt-19a6ffd695e12a.pages.dev/algorithms/classic-mceliece/"
site: "PQ Tracker, maintained by zkSecurity"
reviewed: "2026-11-25"
license: "https://creativecommons.org/licenses/by/4.0/"
---

# Classic McEliece (binary Goppa codes)

KEM · Code-based (binary Goppa codes)

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.

**zkSecurity** · Reviewed 2026-11-25

## Security standing

> 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.

## Assumptions

A failure of any one breaks the scheme · [Comparison](https://pqt-19a6ffd695e12a.pages.dev/assumptions/)

- [Syndrome decoding](https://pqt-19a6ffd695e12a.pages.dev/assumptions/syndrome-decoding/): Recovering the message means decoding a random-looking binary linear code
- [Goppa indistinguishability](https://pqt-19a6ffd695e12a.pages.dev/assumptions/goppa-indistinguishability/) Distinguisher found (2026): The public key (a scrambled binary Goppa code) must be indistinguishable from a random code. A 2026 distinguisher contradicts this
- [Random oracle model](https://pqt-19a6ffd695e12a.pages.dev/assumptions/random-oracle-model/): KEM transform proven in the ROM/QROM

## Parameter sets

Sizes in bytes

| Parameter set | Category | Public key | Secret key | Ciphertext |
| --- | --- | --- | --- | --- |
| mceliece348864 | 1 | 261120 | 6492 | 96 |
| mceliece460896 | 3 | 524160 | 13608 | 156 |
| mceliece6688128 | 5 | 1044992 | 13932 | 208 |

NIST security categories: 1 ≈ AES-128, 2 ≈ SHA-256 collision, 3 ≈ AES-192, 5 ≈ AES-256.

## Deployment

2 listed · [Deployments table](https://pqt-19a6ffd695e12a.pages.dev/deployments/?alg=classic-mceliece)

- 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 scope

- 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

Full scope: [post-quantum audit checklist](https://pqt-19a6ffd695e12a.pages.dev/audit-checklist/).

## Record

10 entries · [In the feed](https://pqt-19a6ffd695e12a.pages.dev/feed/?scheme=classic-mceliece)

- 2026-11-24 · Theoretical result · No action required · [New generic syndrome-decoding records (length 580/weight 71; quasi-cyclic weight 64)](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-11-24-new-generic-syndrome-decoding-records-length-580/)
- 2026-09-29 · Policy · Action: monitor · [Germany: BSI advises against Classic McEliece in new developments after new cryptanalysis](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-09-29-germany-bsi-advises-against-classic-mceliece-in/)
- 2026-08-20 · Reduced security margin · Action: monitor · [Heuristic key-recovery attacks put Classic McEliece below its claimed security levels](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-08-20-heuristic-key-recovery-attacks-put-classic-mceli/)
- 2026-08-07 · Reduced security margin · Action: monitor · [Quasipolynomial-time distinguisher for Classic McEliece public keys (GIJS)](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-08-07-quasipolynomial-time-distinguisher-for-classic-m/)
- 2026-06 · Standards action · [ISO/IEC 18033-2:2006/Amd 2:2026 published, standardizing Classic McEliece](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-06-iso-iec-18033-2-2006-amd-2-2026-published-standa/)
- 2026-06-10 · Theoretical result · Action: monitor · [New algebraic key-recovery approaches on Goppa codes solve challenges, not real parameters](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-06-10-new-algebraic-key-recovery-approaches-on-goppa-c/)
- 2026-01-23 · Policy · [Germany: BSI TR-02102-1 version 2026-01 sets end dates for classical-only public-key use](https://pqt-19a6ffd695e12a.pages.dev/feed/2026-01-23-germany-bsi-tr-02102-1-version-2026-01-sets-end/)
- 2025-03-11 · Selection · [NIST selects HQC as a second KEM; fourth round ends (NIST IR 8545)](https://pqt-19a6ffd695e12a.pages.dev/feed/2025-03-11-nist-selects-hqc-as-a-second-kem-fourth-round-en/)
- 2024-07-24 · Theoretical result · Action: monitor · [Syzygy distinguisher: first subexponential distinguisher for Classic McEliece Goppa codes](https://pqt-19a6ffd695e12a.pages.dev/feed/2024-07-24-syzygy-distinguisher-first-subexponential-distin/)
- 2022-05-02 · Implementation vulnerability · Demonstrated · Action: monitor · [First key-recovery power side-channel attack on Classic McEliece implementations](https://pqt-19a6ffd695e12a.pages.dev/feed/2022-05-02-first-key-recovery-power-side-channel-attack-on/)

- **Type**: Key-encapsulation mechanism (KEM)
- **Family**: Code-based (binary Goppa codes)
- **Standard**: [ISO/IEC 18033-2 Amd 2](https://classic.mceliece.org/)
- **Standardized by**: ISO/IEC
- **Published**: 2026-06 (ISO/IEC amendment 2026-06; NIST fourth round ended 2025-03-11 without selecting it)
- **Status**: New attacks in 2026

**Primary sources (4)**

- [Classic McEliece project](https://classic.mceliece.org/)
- [BSI TR-02102-1 Cryptographic Mechanisms](https://www.bsi.bund.de/EN/Themen/Unternehmen-und-Organisationen/Standards-und-Zertifizierung/Technische-Richtlinien/TR-nach-Thema-sortiert/tr02102/tr02102_node.html)
- [BSI: Notes on recent developments concerning Classic McEliece (2026-09-29)](https://www.bsi.bund.de/SharedDocs/Downloads/EN/BSI/Crypto/Notes_Classic_McEliece.pdf?__blob=publicationFile&v=2)
- [Ghoshal, Ishai, Jain, Sun: Quasipolynomial cryptanalysis of the McEliece cryptosystem](https://eprint.iacr.org/2026/1630)

### Audit

zkSecurity audits Classic McEliece implementations and integrations. [Request an audit](https://www.zksecurity.xyz/contact.html).

### Data

[data.json](https://pqt-19a6ffd695e12a.pages.dev/algorithms/classic-mceliece/data.json)
