Skip to content
OpenAdvisories
High · 8.7 CVE-2025-5994 EUVD-2025-21730GHSA-xrv5-2wwg-jp3r

Cache poisoning via the ECS-enabled Rebirthday Attack

Published Jul 16, 2025 · Updated Nov 3, 2025 · Assigned by NLnet Labs

Description

A multi-vendor cache poisoning vulnerability named 'Rebirthday Attack' has been discovered in caching resolvers that support EDNS Client Subnet (ECS). Unbound is also vulnerable when compiled with ECS support, i.e., '--enable-subnet', AND configured to send ECS information along with queries to upstream name servers, i.e., at least one of the 'send-client-subnet', 'client-subnet-zone' or 'client-subnet-always-forward' options is used. Resolvers supporting ECS need to segregate outgoing queries to accommodate for different outgoing ECS information. This re-opens up resolvers to a birthday paradox attack (Rebirthday Attack) that tries to match the DNS transaction ID in order to cache non-ECS poisonous replies.

Affected products

VendorProductAffectedFixed
NLnet Labs Unbound 1.6.2 – < 1.23.0 1.23.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 unbound 1.22.0-2 —
Debian 13 unbound 1.22.0-2 —
Debian 12 unbound 1.17.1-2+deb12u3 DSA-5987-1
Debian 11 unbound 1.13.1-1+deb11u5 DLA-4280-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 unbound 1.22.0-2ubuntu1 —
Ubuntu 24.04 LTS unbound 1.19.2-1ubuntu3.5 USN-7666-1
Ubuntu 22.04 LTS unbound 1.13.1-1ubuntu5.11 USN-7666-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS unbound No fix yet —
Ubuntu Pro 18.04 LTS unbound No fix yet —
Ubuntu Pro 16.04 LTS unbound No fix yet —
Ubuntu Pro 14.04 LTS unbound No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 unbound +5 1.20.0-12.el10_0 RHSA-2025:12064
RHEL 9 unbound +4 1.16.2-19.el9_6.1 RHSA-2025:11849
RHEL 8 unbound +3 1.16.2-5.9.el8_10 RHSA-2025:11884
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.4 EUS unbound +3 1.16.2-8.el9_4.2 RHSA-2025:12416
RHEL 9.2 E4S unbound +2 1.16.2-3.el9_2.5 RHSA-2025:12523
RHEL 9.0 E4S unbound +2 1.13.1-13.el9_0.5 RHSA-2025:12520
RHEL 8.8 TUS unbound +3 1.16.2-5.el8_8.5 RHSA-2025:12929
RHEL 8.8 E4S unbound +3 1.16.2-5.el8_8.5 RHSA-2025:12929
RHEL 8.6 TUS unbound +3 1.7.3-17.el8_6.6 RHSA-2025:13577
RHEL 8.6 E4S unbound +3 1.7.3-17.el8_6.6 RHSA-2025:13577
RHEL 8.6 AUS unbound +3 1.7.3-17.el8_6.6 RHSA-2025:13577
RHEL 8.4 EUS Long Life unbound +3 1.7.3-15.el8_4.2 RHSA-2025:13575
RHEL 8.4 AUS unbound +3 1.7.3-15.el8_4.2 RHSA-2025:13575
RHEL 8.2 AUS unbound +3 1.7.3-12.el8_2.2 RHSA-2025:13576

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 unbound +5 1.20.0-12.el10_0 ALSA-2025:12064
AlmaLinux 9 unbound +4 1.16.2-19.el9_6.1 ALSA-2025:11849
AlmaLinux 8 unbound +3 1.16.2-5.9.el8_10 ALSA-2025:11884

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 unbound 1.16.2-19.el9_6.1 RLSA-2025:11849
Rocky Linux 8 unbound 1.16.2-5.9.el8 RLSA-2025:11884
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed unbound 1.23.1-1.1 openSUSE-SU-2025:15435-1
ReleasePackageFixed inAdvisory
Alpine v3.24 unbound 1.23.1-r0 —
Alpine v3.23 unbound 1.23.1-r0 —
Alpine v3.22 unbound 1.23.1-r0 —
Alpine v3.21 unbound 1.22.0-r1 —
Alpine v3.20 unbound 1.20.0-r2 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 unbound 1.20.0-r2 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 unbound +5 1.17.1-1.amzn2023.0.8 ALAS2023-2025-1122
Amazon Linux 2 unbound +4 1.7.3-15.amzn2.0.10 ALAS2-2025-2951

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 unbound +5 1.20.0-12.el10_0 ELSA-2025-12064
Oracle Linux 9 unbound +4 1.16.2-19.el9_6.1 ELSA-2025-11849
Oracle Linux 8 unbound +3 1.16.2-5.9.el8_10 ELSA-2025-11884

Advisories 27

References