# CVE-2017-3138: named exits with a REQUIRE assertion failure if it receives a null command string on its control channel

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.0, CNA) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 5.50% (percentile 94, 2026-11-26)
- **CWE:** CWE-617
- **Published:** 2019-01-16T20:00:00.000Z
- **Modified:** 2026-06-17T01:17:35.850Z

## Who should check

- Anyone running ISC BIND 9 9.9.9-\>9.9.9-P7, 9.9.10b1-\>9.9.10rc2, 9.10.4-\>9.10.4-P7, 9.10.5b1-\>9.10.5rc2, 9.11.0-\>9.11.0-P4, 9.11.1b1-\>9.11.1rc2, 9.9.9-S1-\>9.9.9-S9

## Description

named contains a feature which allows operators to issue commands to a running server by communicating with the server process over a control channel, using a utility program such as rndc. A regression introduced in a recent feature change has created a situation under which some versions of named can be caused to exit with a REQUIRE assertion failure if they are sent a null command string. Affects BIND 9.9.9-\>9.9.9-P7, 9.9.10b1-\>9.9.10rc2, 9.10.4-\>9.10.4-P7, 9.10.5b1-\>9.10.5rc2, 9.11.0-\>9.11.0-P4, 9.11.1b1-\>9.11.1rc2, 9.9.9-S1-\>9.9.9-S9.

## Affected and fixed versions

- ISC BIND 9: 9.9.9-\>9.9.9-P7, 9.9.10b1-\>9.9.10rc2, 9.10.4-\>9.10.4-P7, 9.10.5b1-\>9.10.5rc2, 9.11.0-\>9.11.0-P4, 9.11.1b1-\>9.11.1rc2, 9.9.9-S1-\>9.9.9-S9 (cvelist)

## Mitigation

- Vendor workaround: None.  However, in a properly configured server, access to the control channel should already be limited by either network ACLs, TSIG keys, or both.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2017-3138. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2017-3138.md
Affected: ISC BIND 9 9.9.9->9.9.9-P7, 9.9.10b1->9.9.10rc2, 9.10.4->9.10.4-P7, 9.10.5b1->9.10.5rc2, 9.11.0->9.11.0-P4, 9.11.1b1->9.11.1rc2, 9.9.9-S1->9.9.9-S9
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for ISC BIND 9: 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.
```

## FAQ

### Is CVE-2017-3138 being exploited?

There is no confirmed exploitation: CVE-2017-3138 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 5.50% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2017-3138?

Medium: CVSS 6.5 (v3.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2017-3138?

ISC BIND 9 9.9.9-\>9.9.9-P7, 9.9.10b1-\>9.9.10rc2, 9.10.4-\>9.10.4-P7, 9.10.5b1-\>9.10.5rc2, 9.11.0-\>9.11.0-P4, 9.11.1b1-\>9.11.1rc2, 9.9.9-S1-\>9.9.9-S9.

### Is there a fix for CVE-2017-3138?

No fixed version is listed in the sources yet. Vendor workaround: None.  However, in a properly configured server, access to the control channel should already be limited by either network ACLs, TSIG keys, or both.

### How do I check if I'm affected by CVE-2017-3138?

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.

## References

- vendor: <https://security.gentoo.org/glsa/201708-01>
- vendor: <https://www.debian.org/security/2017/dsa-3854>
- vendor: <https://kb.isc.org/docs/aa-01471>
- other: <http://www.securitytracker.com/id/1038260>
- other: <http://www.securityfocus.com/bid/97657>
- other: <https://security.netapp.com/advisory/ntap-20180802-0002/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2017-3138>

HTML: <https://flawdb.com/CVE-2017-3138> · JSON: <https://flawdb.com/api/v1/entries/CVE-2017-3138>
