Home / ISC / BIND 9 / CVE-2018-5738
CVE-2018-5738: is it exploited, and which versions of ISC BIND 9 are affected and fixed?
CVE-2018-5738 is an information disclosure vulnerability in ISC BIND 9. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: BIND 9 9.9.12, 9.10.7, 9.11.3, 9.12.0->9.12.1-P2, the development release 9.13.0, and a (CVE record by isc). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.3, CVSS 3.0, from isc).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:48 UTC and NVD November 19, 2026, 08:26 UTC.
What is CVE-2018-5738?
Some versions of BIND can improperly permit recursive query service to unauthorized clients
Change #4777 (introduced in October 2017) introduced an unforeseen issue in releases which were issued after that date, affecting which clients are permitted to make recursive queries to a BIND nameserver. The intended (and documented) behavior is that if an operator has not specified a value for the "allow-recursion" setting, it SHOULD default to one of the following: none, if "recursion no;" is set in named.conf; a value inherited from the "allow-query-cache" or "allow-query" settings IF "recursion yes;" (the default for that setting) AND match lists are explicitly set for "allow-query-cache" or "allow-query" (see the BIND9 Administrative Reference Manual section 6.2 for more details); or the intended default of "allow-recursion {localhost; localnets;};" if "recursion yes;" is in effect and no values are explicitly set for "allow-query-cache" or "allow-query". However, because of the regression introduced by change #4777, it is possible when "recursion yes;" is in effect and no match list values are provided for "allow-query-cache" or "allow-query" for the setting of "allow-recursion" to inherit a setting of all hosts from the "allow-query" setting default, improperly permitting recursion to all clients. Affects BIND 9.9.12, 9.10.7, 9.11.3, 9.12.0->9.12.1-P2, the development release 9.13.0, and also releases 9.9.12-S1, 9.10.7-S1, 9.11.3-S1, and 9.11.3-S2 from BIND 9 Supported Preview Edition.
From the CVE record by isc, last updated September 16, 2024, 22:20 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ISC | BIND 9 | 9.9.12, 9.10.7, 9.11.3, 9.12.0->9.12.1-P2, the development release 9.13.0, and a |
As the CVE record by isc states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| isc | bind | 9.9.12 | application |
| isc | bind | 9.10.7 | application |
| isc | bind | 9.11.3 | application |
| isc | bind | 9.12.0 | application |
| isc | bind | 9.12.1 | application |
| isc | bind | 9.13.0 | application |
| canonical | ubuntu linux | 18.04 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 02:00 UTC.
How severe is CVE-2018-5738?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | isc |
| High 7.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-5738 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 11.4% probability of exploitation activity in the next 30 days, percentile 96.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
How do I fix it? (from the CVE record)
Future maintenance releases of BIND will correct the regression which introduced this issue but ISC does not believe that replacement security releases of BIND are required, given that several easy, safe, and completely effective configuration workarounds are available for any operators with affected configurations. However, an advance version of the patch diff which will be applied to future versions is available upon request to [removed] and a correction for the behavior in question will debut in the release candidates for BIND 9.9.13, BIND 9.10.8, BIND 9.11.4, and BIND 9.12.2.
Is there a workaround? (from the CVE record)
A number of configuration workarounds are available which completely avoid the problem. If an operator has not chosen to specify some other permission, explicitly specifying "allow-query {localnets; localhost;};" in named.conf will provide behavior equivalent to the intended default. If the default setting is not appropriate (because the operator wants a different behavior) then depending on which clients are intended to be able to receive service for recursive queries, explicitly setting a match list value for any of: allow-recursion allow-query allow-query-cache will prevent the "allow-recursion" control from improperly inheriting a setting from the allow-query default. If a value is set for any of those values the behavior of allow-recursion will be set directly or inherited from one of the other values as described in the BIND Adminstrator Reference Manual section 6.2. Servers which are not intended to perform recursion at all may also effectively prevent this condition by setting "recursion no;" in named.conf.
Where are the vendor advisories and references?
- USN-3683-1 vendor-advisory, x_refsource_UBUNTU
- https://kb.isc.org/docs/aa-01616 x_refsource_CONFIRM
- 1041115 vdb-entry, x_refsource_SECTRACK
- GLSA-201903-13 vendor-advisory, x_refsource_GENTOO
- https://security.netapp.com/advisory/ntap-20190830-0002/ x_refsource_CONFIRM
Who found and reported it?
- ISC would like to thank Andrew Skalski for reporting this issue. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- January 17, 2018
- Published
- January 16, 2019, 20:00 UTC
- CVE record updated
- September 16, 2024, 22:20 UTC by isc
- NVD
- Modified, last modified June 17, 2026, 02:00 UTC
- Last checked
- CVE list November 19, 2026, 07:48 UTC; NVD November 19, 2026, 08:26 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect BIND 9?
- Oct 21, 2026CVE-2026-97313 ISC BIND 9: reachable assertion (crash)
- Oct 21, 2026CVE-2026-96888 ISC BIND 9: NULL pointer dereference (crash)
- Oct 21, 2026CVE-2026-94300 ISC BIND 9: double free
- Oct 21, 2026CVE-2026-19630 ISC BIND 9: denial of service through slow algorithm
- Sep 16, 2026CVE-2026-77119 ISC BIND 9: origin not validated
- Sep 16, 2026CVE-2026-75029 ISC BIND 9: asymmetric Resource Consumption (Amplification)
- Sep 16, 2026CVE-2026-19668 ISC BIND 9: denial of service through slow algorithm
- Sep 16, 2026CVE-2026-19033 ISC BIND 9: acceptance of Extraneous Untrusted Data With Trusted Data
Questions about CVE-2018-5738
Is CVE-2018-5738 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 11.4% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of ISC BIND 9 are affected by CVE-2018-5738?
BIND 9 9.9.12, 9.10.7, 9.11.3, 9.12.0->9.12.1-P2, the development release 9.13.0, and a, per the CVE record by isc. The tables above give every range the sources list.
Which version fixes CVE-2018-5738?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2018-5738?
Medium (5.3, CVSS 3.0, from isc). The severity table above shows each score with its source.
Where is the official record of CVE-2018-5738?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.