TY - GEN
T1 - A Safety-Centric Analysis and Benchmarks of Modern Open-Source Homomorphic Encryption Libraries
AU - Njungle, Nges Brian
AU - Stojkov, Milan
AU - Kinsy, Michel A.
N1 - Publisher Copyright:
© 2025 by Paper published under CC license (CC BY-NC-ND 4.0).
PY - 2025
Y1 - 2025
N2 - Homomorphic Encryption (HE) is a rapidly evolving field in secure computation, offering very strong security guarantees in privacy-preserving data processing. A large number of commercial systems that prioritize privacy depend on open-source HE libraries to ensure secure and confidential computation. However, the security of these open-source libraries remains questionable, as they do not demonstrate strong security assurances, such as formal verification, in their development process. In this work, we investigate security vulnerabilities and the efficiency of the implementations of the four main HE schemes in the most commonly used open-source HE libraries. To analyze security, we employ the SafeRewrite open-source dynamic analysis tool, which uses symbolic execution techniques to validate code correctness. The study reveals several security vulnerabilities, errors, and warnings in all of the libraries. In terms of performance, we assess the latency and scalability of the fundamental HE operations in these libraries. The results indicate that the Cheon-KimKim-Song (CKKS) scheme is the fastest HE scheme, whereas OpenFHE is, on average, the best-performing HE library. Overall, this research underscores the significance of using secure development approaches and frameworks in implementing HE algorithms to ensure stronger security guarantees and correctness while minimizing performance impacts.
AB - Homomorphic Encryption (HE) is a rapidly evolving field in secure computation, offering very strong security guarantees in privacy-preserving data processing. A large number of commercial systems that prioritize privacy depend on open-source HE libraries to ensure secure and confidential computation. However, the security of these open-source libraries remains questionable, as they do not demonstrate strong security assurances, such as formal verification, in their development process. In this work, we investigate security vulnerabilities and the efficiency of the implementations of the four main HE schemes in the most commonly used open-source HE libraries. To analyze security, we employ the SafeRewrite open-source dynamic analysis tool, which uses symbolic execution techniques to validate code correctness. The study reveals several security vulnerabilities, errors, and warnings in all of the libraries. In terms of performance, we assess the latency and scalability of the fundamental HE operations in these libraries. The results indicate that the Cheon-KimKim-Song (CKKS) scheme is the fastest HE scheme, whereas OpenFHE is, on average, the best-performing HE library. Overall, this research underscores the significance of using secure development approaches and frameworks in implementing HE algorithms to ensure stronger security guarantees and correctness while minimizing performance impacts.
KW - Advanced Cryptography
KW - Homomorphic Encryption
KW - Open-Source Software
KW - Security and Performance Analysis
UR - https://www.scopus.com/pages/publications/105010459106
UR - https://www.scopus.com/pages/publications/105010459106#tab=citedBy
U2 - 10.5220/0013626400003979
DO - 10.5220/0013626400003979
M3 - Conference contribution
AN - SCOPUS:105010459106
SN - 9789897587603
T3 - Proceedings of the International Conference on Security and Cryptography
SP - 483
EP - 494
BT - Proceedings of the 22nd International Conference on Security and Cryptography, SECRYPT 2025
A2 - De Capitani Di Vimercati, Sabrina
A2 - Samarati, Pierangela
PB - Science and Technology Publications, Lda
T2 - 22nd International Conference on Security and Cryptography, SECRYPT 2025
Y2 - 11 June 2025 through 13 June 2025
ER -