On the Vulnerability of FHE Computation to Silent Data Corruption

Jianan Mu, Ge Yu, Zhaoxuan Kan, Song Bian, Liang Kong, Zizhen Liu, Cheng Liu, Jing Ye, Huawei LiarXiv 2026

TL;DR

Fully Homomorphic Encryption (FHE) allows secure cloud servers to process encrypted data without ever decrypting it, but this paper reveals a glaring Achilles' heel: vulnerability to transient hardware faults. Through large-scale fault injection, the authors demonstrate that a single-bit flip can cause catastrophic, completely undetectable "silent data corruption" (SDC) in the final decrypted results. Fortunately, they show that algorithm-based checksums can mitigate these errors with a fraction of the overhead required by traditional redundancy methods.

What Problem Does This Paper Address?

Fully Homomorphic Encryption (FHE)—specifically the popular CKKS scheme—is moving from theoretical cryptography into real-world deployments like secure finance and privacy-preserving AI. By keeping data encrypted during computation, FHE prevents untrusted cloud servers from snooping on sensitive information.

However, FHE is computationally massive, often running $10,000\times$ slower than standard plaintext processing. This extreme execution time drastically increases the probability of encountering transient hardware faults (like soft errors from cosmic rays or electrical noise). Worse yet, because the cloud server only sees pseudorandom encrypted bits, it cannot perform basic sanity checks (like flagging NaN or out-of-range values). Any corruption remains entirely silent until the client decrypts a completely garbled result.

While FHE inherently tolerates a small amount of mathematical "cryptographic noise" to maintain security, it is completely unprepared for the chaotic, uncontrolled nature of hardware-induced bit flips. This paper systematically explores how these hardware faults propagate through FHE operations and evaluates how to stop them.

Figure 1: (a) Typical application scenarios of FHE. (b) An FHE-based cancer detection service showing that accuracy degrades sharply under a single-bit hardware fault.

Methods

The authors conducted a rigorous, large-scale fault-injection study using the Intel Pin dynamic instrumentation framework. They injected single-bit flips into the instruction stream during the ciphertext computation phase of the CKKS scheme (implemented via the OpenFHE library).

They evaluated the vulnerability at multiple levels:

  1. Ciphertext-level operators: Addition, multiplication, and rotation.
  2. Polynomial-level primitives: Internal steps within the critical KeySwitch pipeline (e.g., Number Theoretic Transform (NTT), Basis Conversion).

To defend against these faults, they integrated and evaluated two algorithm-level mitigation strategies:

  • Redundant-Based (Dual-Modular Redundancy / DMR): Running every polynomial operation twice and comparing the results.
  • Checksum-Based (Algorithm-Based Fault Tolerance / ABFT): Utilizing lightweight linear invariants to verify input-output consistency (e.g., verifying NTT calculations via twiddle-factor matrix checksums) without full re-execution.

Datasets

The authors evaluated their fault-injection framework on practical workloads using two real-world datasets:

  • Breast Cancer Wisconsin Dataset: Used to build an encrypted neural network performing binary cancer classification.
  • California Housing Dataset: Used to execute an encrypted regression task.

Key Insights and Ideas

  • The Illusion of Noise Tolerance: Cryptographic noise budgets inherent to lattice-based encryption schemes do not protect against hardware faults. Hardware bit-flips introduce errors that bypass these boundaries, leading to massive corruption upon decryption.
  • Catastrophic Error Amplification: When an SDC occurs, the error doesn't just corrupt a single data point; it diffuses across every single slot in the decrypted message vector.
  • Modulus-Dependent Severity: The magnitude of the corruption scales exponentially with the ciphertext modulus $Q$. As $Q$ increased from 180 to 480 bits, the upper bound of slot errors expanded from $10^{35}$ to $10^{125}$—a massive $10^{30}$ amplification for every additional 100 bits.
  • Multiplication Dampens Errors: Interestingly, multiplication-related operators produced smaller error deviations than additions. This is because multiplication triggers a "rescale" operation that discards lower bits, inadvertently consuming part of the corrupted error budget.

Key Results

  • High SDC Rates: Across all tested workloads and basic FHE operators, roughly 22% of injected single-bit faults resulted in Silent Data Corruption.
  • Catastrophic Accuracy Drops: In the cancer detection workload, a single-bit hardware fault caused the ciphertext model's classification accuracy to plummet from 95.6% to a useless 50.9% (essentially random guessing), whereas a plaintext model degraded gracefully to 89.1%.
  • Mitigation Trade-offs: Dual-Modular Redundancy successfully drove the SDC rate down to under 0.1%, but it inflicted a brutal ~100% runtime overhead (a full $2\times$ slowdown).
  • Checksums Win: The checksum-based ABFT approach achieved a comparable level of protection (<0.1% SDC rate) while only introducing a lightweight 13% to 16% overhead.
Evaluation of SDC rates and runtime overhead across different fault-tolerance mechanisms.

Limitations and Future Work

While checksum-based ABFT proves to be highly efficient, FHE computation is already incredibly slow; therefore, even a 15% overhead remains a non-trivial burden for practical deployments. The authors note that their current checksum methods are adapted from standard linear algebra and signal processing.

Future work will focus on designing tailored, hardware-aware, and even more lightweight fault-tolerance mechanisms specifically co-designed for the unique mathematical pipelines of homomorphic encryption.

Summary updated

BibTeX
@misc{mu2026vulnerability,
  author = {Jianan Mu and Ge Yu and Zhaoxuan Kan and Song Bian and Liang Kong and Zizhen Liu and Cheng Liu and Jing Ye and Huawei Li},
  title = {{On the Vulnerability of FHE Computation to Silent Data Corruption}},
  year = {2026},
  eprint = {2603.23253},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.23253},
}
Figure