← Lab /People & policy

Apple's DifferentialPrivacy.framework fails DP guarantees in most mechanisms

5 of 9 audited mechanisms violate differential privacy due to implementation bugs and misconfigurations

People & policy arXiv 20 May 2026 Measurement Real-world evidence

Published as “Auditing Apple's DifferentialPrivacy.framework: Implementation Bugs, Misconfigurations, and Practical Risks”

Why it matters

Apple’s large-scale DP deployment provides far weaker privacy than advertised, meaning billions of users are exposed to practical reconstruction attacks.

Summary

Apple’s DifferentialPrivacy.framework violates its claimed differential-privacy guarantees: every floating-point-based algorithm fails DP/ZK guarantees and the secure-aggregation protocols run without local DP, affecting 87% of data collection on macOS Sonoma and 68% on Sequoia. The authors reverse-engineered the binaries, built runtime interfaces, and used membership-inference attacks on real leaked logs to obtain empirical lower bounds (e.g., ε ≥ 2.86 for CMS) that exceed the advertised parameters, providing strong evidence of the flaws.

What they found 6

  1. Floating-point noise generators cause DP and ZK violations in all affected algorithms

    “Every algorithm in Apple’s framework that relies on floating-point noise fails to meet its advertised DP and zero-knowledge (ZK) proof guarantees.”

  2. Secure aggregation (SecAgg) is deployed with local DP disabled

    “We also discover that the SecAgg protocols in Apple’s DP framework are configured with local DP disabled, uploading data without any local DP protection.”

  3. DP violations were found in 5 of 9 audited mechanisms, covering most data collection

    “Our audit provides evidence of DP violations in 5 out of 9 audited mechanisms, impacting 87% of data collection in macOS Sonoma and 68% in Sequoia.”

  4. Membership-inference attacks on CMS and HCMS achieve >70% accuracy despite ε=4

    “membership inference attacks achieved high success rates-83.80% accuracy (FPR 2.65%, TPR 70.73%) for Mclient-CMS and 71.30% accuracy (FPR 0.41%, TPR 44.01%) for Mclient-HCMS.”

  5. PI-RAPPOR uses ε=8 yet attacks recover inputs with 98.43% accuracy

    “the configured privacy budget of ε = 8 is nonetheless far too large to provide sufficient protection, as our membership inference attack still achieved a striking 98.43% accuracy.”

  6. OneBitHistogram’s empirical ε lower bound (0.86) matches its claimed ε=1, but attacks still succeed near the theoretical limit

    “we obtain a 95%-confidence lower bound of εlb = 0.86, when the mechanism was configured to satisfy 1-DP. While we did not detect any violations of DP, our membership attack achieves an accuracy of 72.10% (FPR 28.92%, TPR 73.08%), which is strikingly close to the theoretical bound eε/(eε + 1) ≈73.11% for ε = 1.”

Caveats 5

  • PI-RAPPOR’s empirical lower bound εlb = 5.51 is below the advertised ε = 8, indicating no DP violation for that mechanism (quote: "we obtained a 95%-confidence lower bound of εlb = 5.51. Although our audit does not indicate any DP violation...")
  • OneBitHistogram’s empirical lower bound εlb = 0.86 is below its claimed ε = 1, also showing no DP violation (quote: "we obtain a 95%-confidence lower bound of εlb = 0.86, when the mechanism was configured to satisfy 1-DP...")
  • All experiments illustrated in this work used only the author-controlled test devices and synthetic inputs.
  • We could not find any public information from Apple on its design, ... we do not know why Algorithm 10 was designed in its presented form.
  • Although we did not instrument these two new client-side variants, the same dynamic-loading methodology should extend to them.

What’s new here 4

  • First full reverse-engineering of the current macOS DP binaries and construction of dynamic loading interfaces to execute native mechanisms.
  • Implementation of decoders that can recover original user inputs (e.g., emojis) from Count Median Sketch and Hadamard-CMS logs.
  • Application of privacy-auditing (membership-inference) techniques to Apple’s closed-source mechanisms, yielding empirical DP lower bounds.
  • Demonstration of real-world exploitation using leaked iPhone analytics logs.