LRS code structure can be fully recovered in polynomial time, breaking McEliece use
LRS codes are insecure for McEliece-like encryption because their full structure can be recovered from any generator matrix
Crypto & theory arXiv 25 Nov 2026 Attack Theory
Published as “Full Structure Recovery of Linearized Reed-Solomon Codes”
Why it matters
Designers of code-based cryptosystems must avoid using raw LRS codes, as their algebraic structure can be efficiently uncovered.
Summary
The paper presents a polynomial-time algorithm that fully recovers the evaluation parameters of linearized Reed-Solomon (LRS) codes from any public generator matrix, showing that LRS codes cannot be used directly in McEliece-like encryption. The authors combine Overbeck-type attacks, matrix manipulations and shortening techniques to handle all non-degenerate parameter ranges, and provide detailed complexity bounds (O(N^{ω+1}) operations in F_{q^m}). The evidence is strong: the construction is proved rigorously, covers most practical dimensions, and includes explicit algorithms and complexity analysis.
What they found 2
- A polynomial-time procedure can recover the full LRS structure from only a generator matrix.
“we propose a polynomial-time procedure for the full structure recovery of LRS codes from the sole knowledge of an arbitrary generator matrix.”
- Consequently, LRS codes are unsuitable as-is for McEliece-like encryption.
“Our results show that, like their Hamming and rank metric counterparts, LRS codes cannot be used as they are for McEliece-like encryption.”
Caveats 5
- The algorithm does not cover the extreme cases k = tm-1 and k = tm, which are excluded as “of no interest for cryptographic purposes”.
- The main results are proved only for the constant profile (m,...,m); extensions to arbitrary profiles are only sketched, not fully formalised.
- The cases k = tm -1 and k = tm are of no interest for cryptographic purposes and hence are not treated.
- Our approach ... restricted to the case of codes with profile (m, . . . , m). However, the general setting presented in Problem 1 can probably be treated analogously.
- These scenarios include the cases t = m = 2 and k = 2m -1 = m + 1 or k = 2m, which are left out by Corollary 1 and Theorem 7, respectively.
What’s new here 4
- Provides the first fully general, polynomial-time recovery of the complete LRS structure from an arbitrary generator matrix.
- Handles all relevant parameter regimes (except trivial degenerate cases) using a unified shortening and Overbeck-type approach.
- Shows that generalized LRS codes are equivalent to LRS codes, removing a previously perceived extra degree of freedom.
- Supplies explicit complexity formulas and concrete algorithms (including pseudocode) for practical key-recovery.