CVE-2016-5180 in C-Ares and 4 more products
Heap-based buffer overflow in the ares_create_query function in c-ares 1.x before 1.12.0 allows remote attackers to cause a denial of service (out-of-bounds write) or possibly execute arbitrary code via a hostname with an escaped trailing dot.
Affects 5 products from 5 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| C-Ares | C-Ares | 1.0.0 1.1.0 1.2.0 1.2.1 1.3.0 1.3.1+17 more1.3.2 1.4.0 1.5.0 1.5.1 1.5.2 1.5.3 1.6.0 1.7.0 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.8.0 1.9.0 1.9.1 1.10.0 |
| C-Ares Project | C-Ares | 1.11.0 |
| Canonical | Ubuntu Linux | 12.04 14.04 16.04 16.10 |
| Debian | Debian Linux | 8.0 |
| Nodejs | Node.Js | ≥ 0.10.0, < 0.10.48 ≥ 0.12.0, < 0.12.17 ≥ 4.0.0, < 4.6.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Heap-based buffer overflow in the ares_create_query function in c-ares 1.x before 1.12.0 allows remote attackers to cause a denial of service (out-of-bounds write) or possibly execute arbitrary code via a hostname with an escaped trailing dot.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2016-5180 |
|---|---|
| BreachSpider ID | BS-2016-GLOBAL-190798-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2016-10-03 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2016. A critical vulnerability affects C-Ares systems (CVE-2016-5180). A proof-of-concept has been published. Isolate affected systems if patching is not feasible.
Vulnerability details: Heap-based buffer overflow in the ares_create_query function in c-ares 1.x before 1.12.0 allows remote attackers to cause a denial of service (out-of-bounds write) or possibly execute arbitrary code via a hostname with an escaped trailing dot. CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Questions
What is CVE-2016-5180?
This vulnerability was disclosed in 2016. A critical vulnerability affects C-Ares systems (CVE-2016-5180). A proof-of-concept has been published. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2016-5180?
CVE-2016-5180 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 8.7%.
Is CVE-2016-5180 actively exploited?
No confirmed active exploitation of CVE-2016-5180 as of 2026-09-25.
How do I remediate CVE-2016-5180?
Priority: MEDIUM.
What systems are affected by CVE-2016-5180?
CVE-2016-5180 affects C-Ares C-Ares; C-Ares Project C-Ares; Canonical Ubuntu Linux; Debian Debian Linux; Nodejs Node.Js.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"C-Ares","product":"C-Ares","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.