The short version
- RFC 9841 bolts shared dictionaries, large windows and framing onto Brotli—and demands that the compressor and decompressor hold exactly the same dictionary bytes.
- A dictionary is not passive reference data. Change its bytes and you change the plaintext that comes out; watch the compressed size and you can learn things about the dictionary, or the dictionary can learn things about the payload.
- So the real artifact is payload plus dictionary identity, provenance, scope, freshness, decoder compatibility—and a blunt decision about whether secrets get compressed at all.
The payload passed its checksum. The decoder was healthy. The output was still wrong.
The missing variable was a file the performance team had filed under “optimisation”: the shared dictionary. One edge location held yesterday’s bytes, another held today’s, and both called the artifact by the same friendly name. The compressed object could not, by itself, say which plaintext was meant. Its meaning lived in an external input whose release history had never travelled with it.
That is the control problem laid bare by RFC 9841, the September 2025 Informational specification for the Shared Brotli Compressed Data Format. The plain-text edition and XML source describe a format that adds shared dictionaries, large windows and framing to Brotli. Publication proves the mechanism has a public specification. It proves nothing about deployment, interoperability, safe configuration, or a single byte actually saved in a live service.
A dependency that participates in meaning
Ordinary compression already leans on an algorithm and a compatible decoder. A shared dictionary drags content in from outside the compressed payload. RFC 9841 lets dictionary material supply LZ77 history bytes, replace Brotli’s built-in static word list, replace transformations, or select context-dependent combinations. The compressor and decompressor must use exactly the same dictionary.
That single requirement redraws the artifact boundary. A stored blob labelled only with br or a decoder version is incomplete evidence. Reproducing it needs the exact dictionary bytes, the applicable profile and framing state, and a decoder that implements them. A human-readable dictionary name is not enough; mutable paths and “latest” aliases are especially weak. The original Brotli format supplies the base grammar, while the Zstandard specification offers a useful comparison showing that dictionary dependence is a broader compression-governance problem, not a quirk of one implementation.
The minimal receipt binds the compressed payload hash to a cryptographic hash of the dictionary, its creation source, owner, approved scope, activation time, retirement or rollback version, and decoder compatibility. If a dictionary can be assembled from several resources, that construction belongs in the receipt too. A file that can change decoded meaning must pass through release control with the same seriousness as executable configuration.
RFC 9841 includes a 256-bit HighwayHash-based identifier for known dictionary sets—and its security text is refreshingly blunt about the limit: the identifier is not collision-secure in an adversarial environment. Identification inside a trusted set is not the same claim as hostile-input integrity. Operators need a cryptographic digest wherever untrusted substitution or supply-chain evidence matters; SHA-256 remains the obvious interoperable receipt component.
The dictionary crossed into the confidentiality model
Compression leakage is not new. RFC 7457 records attacks including CRIME, and the CVE-2012-4929 record preserves one public incident reference. The general mechanism: an attacker influences some input, observes compressed length, and learns whether guesses align with secret material. Research on compression side channels explores the broader class.
RFC 9841 matters because it says the shared dictionary is one of the data sources in that model. Information about compressed data may be revealed by the dictionary; information about the dictionary may be revealed by compressed data. That bidirectionality kills a tempting mental shortcut in which the dictionary is public scaffolding and only the request or response body deserves a secrecy review.
Consider a dictionary built from recent customer traffic, authenticated pages or internal templates. Even shipped as an opaque optimisation artifact, it can encode phrases whose presence is commercially or personally sensitive. Flip it around: a public dictionary can make attacker-controlled probes more effective against a private value compressed in the same context. A policy that asks only “is the payload secret?” has already missed half the boundary.
The strongest mitigation remains the least glamorous: do not compress private data in an attacker-observable context. Same-origin restrictions, avoiding cross-domain dictionaries, preventing attacker control, changing dictionaries slowly and isolating contexts can reduce exposure. They are conditions to test, not certificates of safety. The decision must classify every data source—the payload, the dictionary and the attacker-influenced prefix—before a benchmark turns byte savings into an approval.
HTTP adds authority, freshness and tracking edges
The companion RFC 9842, recorded separately by the RFC Editor, defines HTTP dictionary negotiation and the dcb and dcz content codings. It is not the main subject here, but it shows what deployment has to carry around RFC 9841.
An Available-Dictionary value uses a SHA-256 digest. A candidate dictionary must satisfy origin and response-readability rules and must be fresh, or explicitly usable while stale. A response has to be dropped when the required mitigations fail. These rules sit inside the semantics and caching environment described by HTTP Semantics, HTTP Caching and stale-response controls. Cookies offer a familiar comparison for state scope in RFC 6265.
The companion specification also warns that a dictionary hash can act as a tracking token and calls for storage partitioning comparable to or stronger than cookie partitioning. That deserves its own future commission: browser negotiation, cache partitioning and tracking each warrant a separate thesis. Here, the narrower lesson is that dictionary identity cannot be reduced to a filename. It carries origin, readability, freshness and privacy state.
The relevant registries are public: IANA maintains the HTTP content-coding registry and HTTP field-name registry. Structured Field Values illustrates the wider discipline of making HTTP metadata parseable and explicit. Registry presence, however, is coordination evidence—not proof that any particular client, CDN or origin implements the negotiation safely.
Build a receipt before a benchmark
A serious rollout can be tested with a small adversarial matrix. Substitute a dictionary with the same friendly name but different bytes. Present a stale version. Supply the right hash from the wrong origin. Change decoder versions. Inject chosen phrases next to a secret and measure output-length variance. Exceed decompression limits. Remove the dictionary and watch whether the system fails closed, silently falls back, or serves corrupted output.
Every result should identify payload hash, dictionary digest, algorithm/profile, framing mode, decoder build, origin and cache scope. The metric is not merely compression ratio. It includes deterministic reconstruction, failure mode, maximum memory, latency, leakage observations and rollback behaviour. A benchmark that cannot say exactly which dictionary produced each number is not a benchmark—it is a rumour with a spreadsheet.
This is a minimum-specification argument. The shared standard should define the irreducible identifiers and safety constraints; local operators keep the decision about traffic classes, secret handling, deployment cadence and acceptable performance. Running code supplies the receipts. Neither a vendor slide nor a successful decode on one workstation substitutes for cross-boundary evidence.
What this report does not prove
No browser, server, CDN, library or production configuration was tested. No compression ratio, CPU cost, memory consumption, attack success or leakage rate was measured. The article does not infer adoption from publication status. It does not claim that every shared dictionary contains secrets, or that every dictionary-assisted response leaks them.
The defensible conclusion is structural. Once a decoder needs exact external bytes to recover content, those bytes are part of the artifact. Once size observations can couple them to private data, they are part of the secret boundary. The byte saving may be real. So is the new dependency—and the receipt must record both.
Sources
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






