CVE-2021-25219
Lame cache can be abused to severely degrade resolver performance
Mitigation
- Vendor workaround: Setting "lame-ttl 0;" disables the lame cache and prevents the performance issue. Our research and testing indicate that in the current Internet there is almost no downside to disabling the lame cache.
Who should check
- Anyone running ISC BIND9 Open Source Branches 9.3 through 9.11 9.3.0 through versions before 9.11.36; Open Source Branches 9.12 through 9.16 9.12.0 through versions before 9.16.22; Supported Preview Branches 9.9-S through 9.11-S 9.9.3-S1 through versions before 9.11.36-S1; Supported Preview Branch 9.16-S 9.16.8-S1 through versions before 9.16.22-S1; Development Branch 9.17 9.17.0 through versions before 9.17.19
Vulnerability facts
- Affected
- ISC BIND9 Open Source Branches 9.3 through 9.11 9.3.0 through versions before 9.11.36; Open Source Branches 9.12 through 9.16 9.12.0 through versions before 9.16.22; Supported Preview Branches 9.9-S through 9.11-S 9.9.3-S1 through versions before 9.11.36-S1; Supported Preview Branch 9.16-S 9.16.8-S1 through versions before 9.16.22-S1; Development Branch 9.17 9.17.0 through versions before 9.17.19
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: Low
- EPSS
- 9.32% chance of exploitation in 30 days (percentile 96, 2026-11-26)
- Modified
Description
In BIND 9.3.0 -> 9.11.35, 9.12.0 -> 9.16.21, and versions 9.9.3-S1 -> 9.11.35-S1 and 9.16.8-S1 -> 9.16.21-S1 of BIND Supported Preview Edition, as well as release versions 9.17.0 -> 9.17.18 of the BIND 9.17 development branch, exploitation of broken authoritative servers using a flaw in response processing can cause degradation in BIND resolver performance. The way the lame cache is currently designed makes it possible for its internal data structures to grow almost infinitely, which may cause significant delays in client query processing.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| ISC BIND9 | Open Source Branches 9.3 through 9.11 9.3.0 through versions before 9.11.36; Open Source Branches 9.12 through 9.16 9.12.0 through versions before 9.16.22; Supported Preview Branches 9.9-S through 9.11-S 9.9.3-S1 through versions before 9.11.36-S1; Supported Preview Branch 9.16-S 9.16.8-S1 through versions before 9.16.22-S1; Development Branch 9.17 9.17.0 through versions before 9.17.19 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-25219. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-25219.md Affected: ISC BIND9 Open Source Branches 9.3 through 9.11 9.3.0 through versions before 9.11.36; Open Source Branches 9.12 through 9.16 9.12.0 through versions before 9.16.22; Supported Preview Branches 9.9-S through 9.11-S 9.9.3-S1 through versions before 9.11.36-S1; Supported Preview Branch 9.16-S 9.16.8-S… Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for ISC BIND9: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://kb.isc.org/v1/docs/cve-2021-25219
- https://www.debian.org/security/2021/dsa-4994
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YTKC4E3HUOLYN5IA4EBL4VAQSWG2ZVTX/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YGV7SA27CTYLGFJSPUM3V36ZWK7WWDI4/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EF4NAVRV4H3W4GA3LGGZYUKD3HSJBAVW/
- https://security.gentoo.org/glsa/202210-25
FAQ
Is CVE-2021-25219 being exploited?
There is no confirmed exploitation: CVE-2021-25219 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 9.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-25219?
Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2021-25219?
ISC BIND9 Open Source Branches 9.3 through 9.11 9.3.0 through versions before 9.11.36; Open Source Branches 9.12 through 9.16 9.12.0 through versions before 9.16.22; Supported Preview Branches 9.9-S through 9.11-S 9.9.3-S1 through versions before 9.11.36-S1; Supported Preview Branch 9.16-S 9.16.8-S1 through versions before 9.16.22-S1; Development Branch 9.17 9.17.0 through versions before 9.17.19.
Is there a fix for CVE-2021-25219?
No fixed version is listed in the sources yet. Vendor workaround: Setting "lame-ttl 0;" disables the lame cache and prevents the performance issue. Our research and testing indicate that in the current Internet there is almost no downside to disabling the lame cache.
How do I check if I'm affected by CVE-2021-25219?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.