A Framework for Differential Privacy Against Timing Attacks
Zachary Ratliff, Salil P. Vadhan
Abstract
The standard definition of differential privacy (DP) ensures that a mechanism's output distribution on adjacent datasets is indistinguishable. However, real-world implementations of DP can, and often do, reveal information through their runtime distributions, making them susceptible to timing attacks. In this work, we establish a general framework for ensuring differential privacy in the presence of timing side channels. We define a new notion of timing privacy, which captures programs that remain differentially private to an adversary that observes the program's runtime in addition to the output. Our framework enables chaining together component programs that are timing-stable followed by a random delay to obtain DP programs that achieve timing privacy. Importantly, our definitions allow for measuring timing privacy and output privacy using different privacy measures. We illustrate how to instantiate our framework by giving programs for standard DP computations in the RAM and Word RAM models of computation. Furthermore, we show how our framework can be realized in code through a natural extension of the OpenDP Programming Framework.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers5
- Are We There Yet? Timing and Floating-Point Attacks on Differential Privacy SystemsJiankai Jin, Eleanor McMurtry, Benjamin I. P. Rubinstein, Olga OhrimenkoS&P 2022 · 57 citations
- SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMsRuiyi Zhang, Albert Cheu, Adrià Gascón, Daniel Moghimi et al.NDSS 2026 · 7 citations
- How Researchers De-Identify Data in PracticeWentao Guo, Paige Pepitone, Adam J. Aviv, Michelle L. MazurekUSENIX Security 2025
- GPM: The Gaussian Pancake Mechanism for Planting Undetectable Backdoors in Differential PrivacyHaochen Sun, Xi HeSIGMOD 2026
- Timing Attacks on Differential Privacy are PracticalZachary Ratliff, Nicolás Berrios, James MickensCCS 2025
Builds on5
- The Discrete Gaussian for Differential PrivacyClément L. Canonne, Gautam Kamath, Thomas SteinkeNeurIPS 2020 · 355 citations
- Are We There Yet? Timing and Floating-Point Attacks on Differential Privacy SystemsJiankai Jin, Eleanor McMurtry, Benjamin I. P. Rubinstein, Olga OhrimenkoS&P 2022 · 57 citations
- Orchard: Differentially Private Analytics at ScaleEdo Roth, Hengchu Zhang, Andreas Haeberlen, Benjamin C. PierceOSDI 2020 · 40 citations
- Mycelium: Large-Scale Distributed Graph Queries with Differential PrivacyEdo Roth, Karan Newatia, Yiping Ma, Ke Zhong et al.SOSP 2021 · 19 citations
- Widespread Underestimation of Sensitivity in Differentially Private Libraries and How to Fix ItSílvia Casacuberta, Michael Shoemate, Salil P. Vadhan, Connor WagamanCCS 2022 · 12 citations
Related papers
- Interactive Proofs For Differentially Private CountingAri Biswas, Graham CormodeCCS 2023 · 10 citations
- Indistinguishability Prevents Scheduler Side Channels in Real-Time SystemsChien-Ying Chen, Debopam Sanyal, Sibin MohanCCS 2021 · 10 citations
- Crypt?: Crypto-Assisted Differential Privacy on Untrusted ServersAmrita Roy Chowdhury, Chenghong Wang, Xi He, Ashwin Machanavajjhala et al.SIGMOD 2020 · 40 citations
- Concurrent Composition for Interactive Differential Privacy with Adaptive Privacy-Loss ParametersSamuel Haney, Michael Shoemate, Grace Tian, Salil P. Vadhan et al.CCS 2023 · 4 citations
- Constant-time foundations for the new spectre eraSunjay Cauligi, Craig Disselkoen, Klaus von Gleissenthall, Dean M. Tullsen et al.PLDI 2020 · 90 citations
