cd /news/ai-safety/snapshots-of-tee-based-encrypted-dat… · home › topics › ai-safety › article
[ARTICLE · art-160264] src=eprint.iacr.org ↗ pub= topic=ai-safety verified=true sentiment=↓ negative

Snapshots of TEE-Based Encrypted Databases Leak Plaintext Histograms via Dendrochronology

Researchers identified a vulnerability in several trusted-execution-environment (TEE)-based encrypted databases in which snapshots leak plaintext histograms, recovering value frequencies that prior work assumed were hidden. The attack exploits the unique tie-breakers that storage engines append to indexed keys to impose a strict total order, and the researchers demonstrated it against Microsoft SQL Server's Always Encrypted, StealthDB and HeDB even when the TEE itself is secure. The findings show the order-only leakage model understates exposure for snapshot adversaries and point to broader lessons for TEE applications built on legacy code.

by read1 min views14 publishedOct 13, 2026

Arborists use dendrochronology, or the study of tree "growth rings" (as in, the plant), to infer past environmental events. We identify an analogous, exploitable phenomenon in the indexes used by several encrypted databases (EDBs) based on trusted execution environments (TEEs). Such EDBs have been shown to leak the order of indexed values, but not the histogram (or frequency of each value), with respect to a weaker class of snapshot adversaries. This order-only leakage substantially reduces the impact of possible inference attacks. We show, in fact, frequency is recoverable in the snapshot model from many TEE-based EDBs, even if the TEE itself is "secure". Our insight is simple: practical storage engines impose a strict total order on indexed keys by augmenting each key with a unique tie-breaker. If the adversary learns information about the tie-breakers, they can recover the frequencies of plaintext keys. We show this enables stronger inference attacks on several TEE-based EDBs (including Microsoft SQL Server’s Always Encrypted, StealthDB, and HeDB) to demonstrate this vulnerability’s ubiquity and point to broader lessons for TEE applications designed around legacy code.

── more in #ai-safety 4 stories · sorted by recency
── more on @microsoft sql server 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/snapshots-of-tee-bas…] indexed:0 read:1min 2026-10-13 · —