arXiv:2610.23057cs.CROct 2026

Manuscript Offprint

arXiv:2610.23057

Aspire: Practical Batch Queries on Dynamic Encrypted Database with Full Leakage Suppression

Hao Nie, Wei Wang, Peng Xu, Haoming Yan, Laurence T. Yang, Kaitai Liang

Hao Nie†, Wei Wang†(✉), Peng Xu†(✉), Haoming Yan†, Laurence T. Yang‡, and Kaitai Liang§

†Huazhong University of Science and Technology, ‡Zhengzhou University,

‡St. Francis Xavier University, §University of Turku, and §TU Delft

{nie, viviawangwei, xupeng, yhm361426852}@hust.edu.cn, ltyang@gmail.com, kaitai.liang@utu.fi

Abstract—Leakage-abuse attacks against encrypted database systems exploit semantic leakage and pose a severe threat to the confidentiality of plaintext data and queries. To address this problem, we propose a zero-leakage encrypted database that rules out leakage-abuse attacks, which fundamentally rely on semantic leakage. We first distinguish between two kinds of zero-leakage security. Ideal zero-leakage forbids the disclosure of any information beyond public parameters, whereas restricted zero-leakage additionally permits the leakage of metadata (such as database size and query timing). We show that restricted zero-leakage is sufficient to thwart leakage-abuse attacks and is achievable in practice. We then formally define adaptive restricted zero-leakage security and present Aspire, an encrypted database that satisfies this notion. Aspire integrates probabilistic batch code and minimal perfect hashing to support efficient batch keyword queries and dynamic updates while revealing only non-semantic metadata. Experimental results demonstrate the practicality and efficiency of Aspire, showing that Aspire can achieve an amortized query latency of less than 1.38 ms (7.53 s for a batch of 5461 keyword queries), with an amortized communication cost of approximately 2.95 KB (16.1 MB in total), on a 2222^{22} key-value pairs database.

I. INTRODUCTION

Cloud storage systems such as Amazon Web Services [1] and MongoDB [2] widely rely on encrypted search primitives, including searchable symmetric encryption (SSE), to enable efficient query processing over encrypted data. State-of-the-art SSE schemes inevitably leak access and search patterns, which enable powerful leakage-abuse attacks (LAAs) that recover user queries and even reconstruct the whole database [3]–[6].

Prior defenses attempt to mitigate leakage without sacrificing efficiency. Forward and backward security reduce linkability across updates [7]–[9], yet recent works demonstrate that residual leakage remains sufficient for accurate inference attacks [10], [11]. This reveals a fundamental limitation: Efficient encrypted search inherently leaks structural information that adversaries can exploit.

✉Wei Wang and Peng Xu are the corresponding authors.

A natural countermeasure is to eliminate this leakage entirely by enforcing oblivious access. Oblivious RAM (ORAM) hides access patterns through continuous reshuffling and re-encryption [12], [13], and has been incorporated into leakage-suppressed SSE constructions [14], [15]. Alternatively, private information retrieval (PIR) enables data retrieval without disclosing specific access indices [16]. These approaches entail substantial overhead: ORAM constructions require at least Ω(log⁡N)\Omega(\log N) bandwidth per access, while PIR shifts the burden to server-side computation and struggles to support dynamic or keyword-based queries efficiently [17], [18]. This reveals a critical trade-off: Strong mitigation against LAA requires heavy cryptographic mechanisms, yet practical systems prioritize efficiency and flexibility. Reconciling these competing objectives remains a formidable open problem.

In this work, we distinguish between two tiers of zero-leakage security: the idealized ideal zero-leakage security and the more pragmatic restricted zero-leakage security. Both notions are formalized to provide comprehensive defense against existing LAAs. We then present a concrete cryptographic construction that realizes these security guarantees.

Zero Leakage Notions: Ideal vs. Restricted. Ideal zero-leakage guarantees that no information is revealed beyond the system's public parameters. Beyond thwarting LAA-related patterns, this notion encompasses the concealment of operational metadata, such as database size and the timing, number, and type of operations. However, such strong security incurs significant efficiency overhead, limiting practicality in large-scale or dynamic deployments. To achieve a better balance with practical efficiency, we introduce restricted zero-leakage, which permits the disclosure of operational metadata while strictly concealing all patterns related to the underlying plaintexts. We summarize the relationships between these security notions, leakage profiles, and attacks in Figure 1.

Ideal but expensive: While ideal zero-leakage removes all exploitable information leakage, the computational and communication overhead required to obfuscate operational metadata is often prohibitive for real-world applications. For example, masking operation timing requires maintaining a constant execution frequency [22], which entails the continuous injection of dummy operations regardless of actual demands. Furthermore, concealing the database size requires a fixed capacity at system setup, which is fundamentally

This is the full version of the paper accepted at the Network and Distributed System Security (NDSS) Symposium 2027, 22 - 26 March 2027, Seoul, Republic of Korea.

Figure

1 The public parameters include security parameter, cryptographic setting descriptions, and system-wide configurations that are fixed at setup stage, all independent of database contents and operations. The operation metadata includes database size and the timing, number, and type of operations, which are non-semantic properties/correlation to plaintext stored data.

2 “AP”, “SP”, “QC”, “VP”, “FVP”, “RSP”, “UL” represent access pattern, search pattern, query correlation, volume pattern, file volume pattern, response size pattern, and update leakage, respectively. We only list the well-studied patterns and leakage is not limited to the aforementioned. Systems can suffer from a subset of leakages.

Fig. 1. Summary of LAA security landscape: notions, systems, leakage and attacks.

incompatible with modern databases that require dynamic scaling and elasticity.

Fully against LAA but practical: Restricted zero-leakage avoids the overhead of metadata obfuscation while providing robust defense against LAAs. Because existing LAAs primarily exploit semantic leakage, such as access, search, and volume patterns from an encrypted database and queries, to correlate encrypted data with auxiliary information, the primary security is the elimination of all plaintext-dependent semantic leakage. We demonstrate that constructions satisfying this security requirement can be realized with high efficiency. Several prior security definitions, such as fully zero-leakage in STE [14], ORAM [13], and Oblivious map (OMAP) [21], can be interpreted as specialized instances of restricted zero-leakage security. Thus, we propose restricted zero-leakage as a unifying and definitive security upper bound for defending against LAA. We provide a formal definition and a rigorous security analysis in Section III.

New construction. We formalize the system model of a zero-leakage encrypted key-value database, encompassing Setup and Query protocols, where Query can support batch keyword searches. We decouple the update process into UpdateLocal and Update, ensuring that client-server interaction occurs only during the Update phase, while UpdateLocal manages immediate local state changes. We further introduce a formal security model that utilizes leakage functions LSetup\mathcal{L}_{Setup} and LUpdate\mathcal{L}_{Update}, which take only the database size as input, while LQuery\mathcal{L}_{Query} and LUpdateLocal\mathcal{L}_{UpdateLocal} take ⊥\perp, satisfying the restricted zero-leakage standard. Here, ⊥\perp denotes empty leakage, i.e., the server learns no information from the corresponding leakage function beyond the occurrence of the protocol invocation.

Building on the model, we present Aspire, an encrypted key-value database system that achieves restricted zero-leakage security and can serve as a foundation for other zero-leakage databases supporting various query functionalities. Technically, Aspire leverages probabilistic batch code (PBC) and minimal perfect hash (MPH) to transform a batch of keyword queries into calls to multiple oblivious index accesses (instantiated with PIR or ORAM). For client updates, Aspire stashes them locally before pushing to the server via an independent update protocol that minimizes the impact on latency related to updates and search queries. Aspire also employs a synchronization mechanism compatible with batched queries that reveals the encrypted database size only once every α\alpha Update. Because encrypted key-value stores are fundamental building blocks in both industrial and academic systems (Section II-B), we demonstrate the versatility of Aspire by adapting it to the SSE setting (Section V-D).

Finally, we conduct extensive experiments to evaluate the efficiency of Aspire. We instantiate Aspire on top of the PIR protocol Spiral [35], the batch PIR protocol PIRANA [18], and PathORAM [13]. On a database with 2222^{22} key-value pairs, Aspire (based on PIRANA) costs about 5.6 MB of local storage and achieves an amortized query latency of less than 1.38 ms (7.53 s for a batch of 5461 queries), with an amortized communication cost of approximately 2.95 KB (16.1 MB total). Compared to the state-of-the-art OMAP [21], Aspire achieves significantly lower communication overhead and total latency for batch searches.

Our contributions can be summarized as follows:

• We introduce restricted zero-leakage security, which hides all plaintext-dependent leakage while allowing only non-semantic operation metadata, and we show that it is sufficient to provide robust protection against existing

TABLE I EXISTING LEAKAGES AND ATTACKS.

LeakageAttacks
APPeekaboo [10],IHOP [24],Jigsaw [25],Graphm [26],Score Attack [27],Count [4],Leap [6],Subgraph [5],ZKP [29],LMP [31],KKNO [32],FMAC [33],IKK [3],PolySys [23]
SPSap [36], Freq [37], BVMA [28],IHOP [24],PolySys [23]
QCIHOP [24]
VPJigsaw [25],IHOP [24],Sap [36], BVMA [28],PWLP [30],Count [4], GLMP [38], KKNO [32],GJW [34],PolySys [23]
FVPPeekaboo [10], FMA [11]
RSPBVA [28], Decoding [5]
ULVIA [11], UF&UFID [39]
Operation MetadataNo known leakage-abuse attack

LAAs.

  • We formalize a dynamic encrypted key-value database model that supports batch keyword queries and updates under restricted zero-leakage. We then propose Aspire, which integrates PBC, MPH, and oblivious index access to achieve high-performance batch keyword queries and dynamic updates.

  • We demonstrate through experiments that Aspire yields superior efficiency over prior state-of-the-art secure baselines.

References (71)