arXiv:2606.22519cs.CRcs.LG2026-06

首个专用于全同态加密框架的自动化测试工具,发现21个隐蔽漏洞。

Detecting and Understanding Vulnerabilities in Fully Homomorphic Encryption Frameworks

论文配图:Detecting and Understanding Vulnerabilities in Fully Homomorphic Encryption Frameworks
图 1 · 摘自论文原文
  • 基于同态加密语义设计新型变异关系,实现无真值下的自动测试
  • 在3大主流框架中检测出21个未公开漏洞,部分已修复
  • 适合安全开发、隐私计算研究者关注加密系统可靠性

全同态加密(FHE)可在不解密情况下对加密数据进行计算,为云安全、金融与医疗等敏感场景提供强隐私保护。然而,其复杂性阻碍了实际应用。为降低使用门槛,新一代专用框架将高层程序转换为复杂的加密操作,引入新的编程范式。但框架内部逻辑错误可能无声破坏加密计算,导致严重经济损失与安全风险。本文提出HERTA,首个面向FHE框架的自动化测试工具,采用变异测试方法,基于FHE语义设计新型变异关系,无需人工真值即可自动验证正确性。在3个主流工业级框架上评估发现21个未知缺陷,部分已被开发者确认并修复。危害分析表明,这些漏洞对基于FHE服务的完整性与可用性构成重大威胁。

原文摘要 · Abstract (English)

Fully homomorphic encryption (FHE) allows computations to be performed directly on encrypted data without decryption, offering strong privacy guarantees for sensitive data analysis. This capability is important for privacy-sensitive applications like secure cloud computing, finance, and healthcare. The complexity of FHE schemes, however, has hindered their practical adoption. To make FHE accessible to a broader range of developers, a new generation of specialized frameworks has emerged to translate high-level FHE programs into complex FHE operations, introducing a new programming paradigm. However, the inherent complexity of FHE frameworks makes them prone to incorrect implementation logic. Unlike mere crashes, logic bugs in these frameworks can silently corrupt encrypted computation, potentially leading to severe financial losses and security vulnerabilities in FHE-enhanced applications. In this work, we introduce HERTA, the first automated testing tool tailored for FHE frameworks. HERTA leverages metamorphic testing to uncover deep-seated implementation bugs and vulnerabilities across the multi-layered FHE software stack. To that end, we design a set of novel metamorphic relations (MRs) derived specifically from FHE semantics. These MRs stress the most challenging aspects of the pipeline, enabling automated correctness testing without the need for a manual ground truth. Our evaluation of HERTA on 3 leading industry frameworks discovered 21 previously unknown bugs, several of which have already been confirmed and fixed by developers. Furthermore, our hazard analysis reveals the critical security impact these bugs pose to the integrity and availability of FHE-based services.

同态加密安全测试漏洞检测

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。