> ## Content Index
> Fetch the complete content index at: https://ettayeb.fr/llms.txt
> Use this file to discover other available public pages before exploring further.

# The RebirthDay attack revives 2002-era DNS cache poisoning by abusing ECS
- URL: https://ettayeb.fr/en/networking/rebirthday-dns-cache-poisoning-ecs-2026-en/
- Published: 2026-10-27T00:00:00.000Z
- Updated: 2026-10-27T00:00:00.000Z
- Description: Researchers resurrected the DNS birthday attack, considered dead since 2002, by bypassing query aggregation through ECS; eight vendors acknowledged the issue and 50 CVEs were assigned. Unbound, PowerDNS, and BIND are affected — exposed resolvers should be patched immediately.
- Author: Walid ETTAYEB
- Tags: Networking, dns, cache-poisoning, unbound, ecs, rebirthday, #en, #cve, #Import 2026-11-23 14:52

**2025.** Researchers present **RebirthDay** at **CCS**, an attack that revives the **DNS birthday poisoning** thought dead since **2002**. **2026.** The work is presented again at **Black Hat Asia**, with a **responsible disclosure** tally: **eight vendors** acknowledged the issue and **50 CVEs** were assigned. **July 22, 2026.** Separately, **NLnet Labs** publishes **CVE-2026-50252**, a **port-entropy** flaw in **Unbound** rated **CVSS 9.3**. The part that matters: **DNS cache poisoning** is no longer a history lesson — it is a live attack surface again, and exposed resolvers need patching now.

## How RebirthDay bypasses the defense that killed the birthday attack

**DNS cache poisoning** means tricking a resolver into accepting a **forged response** that maps a domain name to an **attacker-controlled IP**. The classic defense rests on two secrets: a **random source port** and a **transaction ID**. The **birthday attack** — flooding guessed responses and betting on a collision — stopped working in **2002**, when resolvers began **aggregating identical queries**: one outgoing query per name, one chance to guess.

**RebirthDay** breaks exactly that protection. The trick rides on **ECS** — **EDNS Client Subnet** — the extension that forwards a prefix of the client’s address to the resolver to guide **CDN** selection. By sending queries with **different ECS prefixes**, the attacker forces the resolver to emit **multiple outgoing queries** for the same name, one per prefix. **Aggregation** shatters: each prefix offers a fresh collision chance, and the **birthday attack** becomes statistically viable again.

The targets are **recursive resolvers** and **forwarders** that enable **ECS** without checking its consistency. The blast radius is wide because **ECS** is common and rarely audited.

## The concrete case: Unbound and CVE-2026-50252

Alongside the academic work, **CVE-2026-50252** shows the same family of risk from a more mundane angle. It affects **Unbound**, the validating resolver from **NLnet Labs**, in versions **1.4.22 through 1.25.1**, and only when **`so-reuseport`** is enabled — which is the **default** in those versions.

The mechanism is subtle. **Unbound** splits the **UDP port range** across its **worker threads**. With **`SO_REUSEPORT`**, the kernel sends each **client port** to a **fixed thread**. An observer on the same network can therefore **learn the mapping** between an outgoing port and a thread, for a given source address. Once the thread is known, the **number of ports to guess** collapses, making **cache poisoning** far cheaper.

The **1.25.2** fix replaces that split with a **shared port pool per interface**, so the port no longer leaks the thread. The flaw is rated **CVSS 9.3** with an **adjacent-network** vector: the attacker must be able to **observe** the resolver’s traffic, which limits exploitation to networks where you can listen in — but a **shared resolver** or an **open Wi-Fi** changes that calculus.

## The scale: eight vendors, fifty CVEs

The **responsible disclosure** for **RebirthDay** drew acknowledgments from **eight vendors**, including **BIND** (**ISC**), **Unbound** (**NLnet Labs**), **PowerDNS**, and **Quad9**. The **50 CVEs** assigned signal a **cross-cutting** problem: this is not one faulty implementation but a **class of weakness** tied to **ECS verification** and the **DNS extensions** that come with it.

The lesson outlives today’s patch. **ECS** was added for performance and **CDN** reasons, not as an attack vector. Its interaction with resolver entropy reopened a door people believed closed for a quarter of a century. The researchers are blunt: **ECS verification** and its implementations deserve far more scrutiny.

## What to do, concretely

The remediation steps are precise and verifiable.

**Upgrade Unbound to 1.25.2**, or install the package your distribution patched for **CVE-2026-50252**. If you build from source and cannot move to **1.25.2**, apply the **patch** NLnet Labs publishes for **1.25.1**.

```bash
unbound -V
unbound-checkconf -o so-reuseport

```

The first command prints the installed version; the second prints the effective value of **`so-reuseport`**. If it answers **`yes`**, the advisory’s condition is met. A package may report an older base version with fixes backported, so check your distribution’s security tracker.

**Disable ECS if you do not need it.** An enterprise resolver that serves no **CDN** has no reason to emit **ECS** queries. Turning it off removes the surface **RebirthDay** exploits.

**Keep DNSSEC validation on.** It protects answers independently of source ports and makes poisoning harmless on signed zones.

**Limit who may query the resolver** with **access-control** rules, and restart the service after upgrading to confirm the new version is running.

## Verdict

**If you run an Unbound resolver exposed to anyone beyond your own clients**, move to **1.25.2** immediately and check **`so-reuseport`**: it is a one-command fix against a flaw rated **9.3**. **If you manage a fleet of resolvers or forwarders**, add two lines to your standard: **disable ECS** where it serves no purpose, and **keep DNSSEC on**. The conclusion of **RebirthDay** fits in one sentence: an extension added for performance reopened a **2002** attack — the defense only holds if you treat every DNS extension as a surface to audit.

## References

- [ACM CCS 2025 — RebirthDay Attack: Reviving DNS Cache Poisoning with the Birthday Paradox](https://dl.acm.org/doi/10.1145/3719027.3744832?ref=ettayeb.fr)
- [Black Hat Asia 2026 — RebirthDay Attack: Reviving DNS Cache Poisoning (talk)](https://i.blackhat.com/Asia-26/Presentations/BHAS26-Qiu-SessionTitle-RebirthDay%20.pdf?ref=ettayeb.fr)
- [NLnet Labs — Advisory CVE-2026-50252 (Unbound)](https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-50252.txt?ref=ettayeb.fr)
- [NVD — CVE-2026-50252](https://ettayeb.fr/veille/cve-2026-50252/)
- [Safeguard — CVE-2026-50252: Critical DNS Cache Poisoning in Unbound (October 18, 2026)](https://safeguard.sh/resources/blog/cve-2026-50252-unbound-so-reuseport-cache-poisoning?ref=ettayeb.fr)
- [LinuxSecurity — BIND, PowerDNS and Unbound Patch DNS Resolver Security Flaws](https://linuxsecurity.com/news/network-security/dns-security-resolver-patches?ref=ettayeb.fr)