Paper 2024/116

On the practical CPAD security of “exact” and threshold FHE schemes and libraries

Marina Checri, Université Paris-Saclay, CEA, List, F-91120, Palaiseau, France
Renaud Sirdey, Université Paris-Saclay, CEA, List, F-91120, Palaiseau, France
Aymen Boudguiga, Université Paris-Saclay, CEA, List, F-91120, Palaiseau, France
Jean-Paul Bultel, Université Paris-Saclay, CEA, List, F-91120, Palaiseau, France
Abstract

In their 2021 seminal paper, Li and Micciancio presented a passive attack against the CKKS approximate FHE scheme and introduced the notion of CPAD security. The current status quo is that this line of attacks does not apply to ``exact'' FHE. In this paper, we challenge this status quo by exhibiting a CPAD key recovery attack on the linearly homomorphic Regev cryptosystem which easily generalizes to other xHE schemes such as BFV, BGV and TFHE showing that these cryptosystems are not CPAD secure in their basic form. We also show that existing threshold variants of BFV, BGV and CKKS are particularily exposed to CPAD attackers and would be CPAD-insecure without smudging noise addition after partial decryption. Finally we successfully implement our attack against several mainstream FHE libraries and discuss a number of natural countermeasures as well as their consequences in terms of FHE practice, security and efficiency. The attack itself is quite practical as it typically takes less than an hour on an average laptop PC, requiring a few thousand ciphertexts as well as up to around a million evaluations/decryptions, to perform a full key recovery.

Note: This revision mainly includes a description of an implementation of our attack on the Lattigo library (both single key and threshold versions) as well as more detailed discussions on each of the countermeasures sketched in the previous version of this preprint. Additional more minor clarifications and editorial modifications are also included.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
Keywords
FHECPADThreshold FHECCA security
Contact author(s)
marina checri @ cea fr
renaud sirdey @ cea fr
aymen boudguiga @ cea fr
jean-paul bultel @ cea fr
History
2024-02-17: last of 4 revisions
2024-01-26: received
See all versions
Short URL
https://ia.cr/2024/116
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/116,
      author = {Marina Checri and Renaud Sirdey and Aymen Boudguiga and Jean-Paul Bultel},
      title = {On the practical CPAD security of “exact” and threshold FHE schemes and libraries},
      howpublished = {Cryptology ePrint Archive, Paper 2024/116},
      year = {2024},
      note = {\url{https://eprint.iacr.org/2024/116}},
      url = {https://eprint.iacr.org/2024/116}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.