# CVE-2017-3140: An error processing RPZ rules can cause named to loop endlessly after handling a query

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

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

## Who should check

- Anyone running ISC BIND 9 9.9.10, 9.10.5, 9.11.0-\>9.11.1, 9.9.10-S1, 9.10.5-S1

## Description

If named is configured to use Response Policy Zones (RPZ) an error processing some rule types can lead to a condition where BIND will endlessly loop while handling a query. Affects BIND 9.9.10, 9.10.5, 9.11.0-\>9.11.1, 9.9.10-S1, 9.10.5-S1.

## Affected and fixed versions

- ISC BIND 9: 9.9.10, 9.10.5, 9.11.0-\>9.11.1, 9.9.10-S1, 9.10.5-S1 (cvelist)

## Mitigation

- Vendor workaround: Only the NSDNAME and NSIP RPZ rule types can cause this condition to occur.  You can work around this vulnerability if you are able to express your desired policy while avoiding NSDNAME or NSIP rules, otherwise it is advised that you upgrade to a version which corrects the defect.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2017-3140.md
Affected: ISC BIND 9 9.9.10, 9.10.5, 9.11.0->9.11.1, 9.9.10-S1, 9.10.5-S1
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-3140 being exploited?

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

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

Low: CVSS 3.7 (v3.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

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

ISC BIND 9 9.9.10, 9.10.5, 9.11.0-\>9.11.1, 9.9.10-S1, 9.10.5-S1.

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

No fixed version is listed in the sources yet. Vendor workaround: Only the NSDNAME and NSIP RPZ rule types can cause this condition to occur.  You can work around this vulnerability if you are able to express your desired policy while avoiding NSDNAME or NSIP rules, otherwise it is advised that you upgrade to a version which corrects the defect.

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

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://kb.isc.org/docs/aa-01495>
- other: <http://www.securitytracker.com/id/1038692>
- other: <http://www.securityfocus.com/bid/99088>
- other: <https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03772en_us>
- other: <https://security.netapp.com/advisory/ntap-20180926-0001/>

## 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-3140>

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