← Back to section · Research & Analysis
Decryption Failures and Reaction Attacks: How a KEM's Tiny δ Becomes the Entry Point of a Whole Attack Chain
Both lattice-based and code-based KEMs carry a non-zero decryption failure rate. Reaction-attack research shows that observable failure events leak private-key information — and how failure boosting analysis and implicit rejection close the gap.
Unlike textbook RSA, mainstream post-quantum KEMs have no “guaranteed” decapsulation: noise is part of how they work, noise occasionally crosses the boundary, and decapsulation computes a wrong result with tiny probability. That failure probability, written δ, looks like an unremarkable number on a parameter table. The central finding of reaction-attack research is that in a world where one can only watch ciphertexts succeed or fail, δ is a reliability issue — but as soon as an attacker can craft ciphertexts and observe outcomes, δ becomes an information leakage rate. This research line reshaped KEM parameter selection and protocol usage, and is among the best demonstrations in post-quantum security that “the devil is in the interaction”.
Failure as Oracle: The Principle of Reaction Attacks
Imagine an attacker repeatedly submitting carefully crafted ciphertexts to a device holding the private key, recording whether each decapsulation succeeds or fails. If the failure probability correlates with particular structures of the private key relative to components of the ciphertext — the sparse support of a key, the weight distribution of a key vector — then the sequence of outcomes forms a statistical channel about the key. A single observation carries almost no information, but the channel can be sampled without limit, and statistics eventually force the structure out. This is the classic shape of an oracle attack: the leakage is in no single answer, but in the correlation between answers and inputs.
The principle received its weightiest validation on code-based schemes. In 2016, Guo, Johansson and Stankovski published a reaction attack against QC-MDPC McEliece variants: by constructing error vectors with specific weight patterns and observing decoding success or failure, they statistically recovered the distance spectrum of the sparse private polynomial and thereby the private key. The conditions deserve stating: the attack assumes the attacker can submit many chosen ciphertexts to the decoding party and observe outcomes (or an equivalent timing signal), and that the target’s failure rate is at a samplable magnitude. The significance of the result is not that some parameter set fell, but that it proved “failure correlation” is structural: any scheme whose failure probability depends on private-key structure has this channel in principle.
Failure Boosting: Quantifying the Exploitation Threshold
Follow-up research quantified the problem: if naturally sampled failures are too rare, can the attacker amplify them artificially? Failure boosting constructs batches of ciphertexts “near the failure boundary” to raise the effective failure rate, then runs statistics on the amplified samples. Work in this line derived relationships between boosting success rates and the complexity of key recovery, and its value is two-sided: it gives a realistic threshold for attacks, and it gives defenders a computable yardstick — parameter selection must ensure that even under optimal boosting, the number of queries needed for key recovery exceeds any feasible budget. Failure analysis for lattice KEMs follows the same path: the δ of ML-KEM’s parameter sets is designed at the magnitude of two to the power of minus well over a hundred (published estimates of roughly 2^-139 to 2^-164 depending on the parameter set), precisely to make sampling-based exploitation physically infeasible.
How δ Itself Is Computed: The Extrapolation Problem of Estimation
Both sides of the reaction-attack contest ultimately rest on the value of δ, and δ is not measured but estimated — a second-order problem in this research line. At failure rates as low as two to the power of minus well over a hundred, no experiment can directly sample a single failure; estimators can only fit a noise-distribution model at measurable, high-failure-rate parameter points and extrapolate to the target parameters. The credibility of the extrapolation depends on whether the noise tail model is accurate, and the tail is exactly the hardest part to validate: distribution assumptions (the deviation between Gaussian tails and the actual discrete distributions), correlated noise at the implementation level, and joint tails of multidimensional noise can each bias the extrapolation low by several orders of magnitude. The community’s countermeasure is conservative handling: cross-estimating with several independent models, reporting by the less favourable result, and reserving orders of magnitude of margin for δ when parameters are generated. Historically, individual code-based candidates have had parameters adjusted after later work revised their failure-rate estimates — evidence that this step is no formality: estimation error in δ converts directly into error in the reaction-attack threshold.
The Protocol-Layer Answer: Implicit Rejection and Failure Invisibility
The second line of defence sits in the construction. Modern variants of the Fujisaki–Okamoto transform use implicit rejection: on decapsulation failure, instead of signalling an error, the decapsulator derives a random-looking fake shared secret from the private seed and returns normally. The two protocol parties will end up with mismatched keys and the connection will fail, but the attacker cannot observe the bit “a failure happened here” from a single interaction — the oracle is switched off. ML-KEM adopts exactly this design. It should be noted that implicit rejection closes the direct success/failure signal; if the implementation has timing differences (a failure path that executes at a different speed), the signal returns through a side channel — which is why decapsulation implementations must be constant-time throughout, and why these two research lines meet here.
The third line of defence is usage discipline: a KEM key must not be reused without limit under chosen-ciphertext exposure; protocol design should cap the number of decapsulations a single key pair will accept, and runtime monitoring should track the decapsulation failure rate — an anomalously rising failure rate is itself a signal that an attack is under way.
Closing
Decryption-failure research reveals a deep feature of post-quantum security: safety is increasingly not a static mathematical quantity but the product of a mathematical quantity and an interaction model. The same δ is harmless in offline signature verification and fatal under an online decapsulation oracle. Reading δ on a parameter table together with its deployment model is the concrete method this research line leaves to every deployer.
Tags: decryption failuresreaction attacksKEMimplicit rejection