Home / C-ares / C-ares / CVE-2016-5180
CVE-2016-5180: is it exploited, and which versions of C-ares are affected and fixed?
CVE-2016-5180 is an out-of-bounds write (memory corruption) vulnerability in C-ares. 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, 06:38 UTC). Affected: c-ares 1.0.0, c-ares 1.1.0, c-ares 1.2.0 and 29 more (NVD). Fixed in 0.10.48, 0.12.17 and 4.6.1 (NVD). Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:45 UTC.
What is CVE-2016-5180?
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.
From the CVE record by Chrome, last updated August 6, 2024, 00:53 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| c-ares | c-ares | 1.0.0 | application |
| c-ares | c-ares | 1.1.0 | application |
| c-ares | c-ares | 1.2.0 | application |
| c-ares | c-ares | 1.2.1 | application |
| c-ares | c-ares | 1.3.0 | application |
| c-ares | c-ares | 1.3.1 | application |
| c-ares | c-ares | 1.3.2 | application |
| c-ares | c-ares | 1.4.0 | application |
| c-ares | c-ares | 1.5.0 | application |
| c-ares | c-ares | 1.5.1 | application |
| c-ares | c-ares | 1.5.2 | application |
| c-ares | c-ares | 1.5.3 | application |
| c-ares | c-ares | 1.6.0 | application |
| c-ares | c-ares | 1.7.0 | application |
| c-ares | c-ares | 1.7.1 | application |
| c-ares | c-ares | 1.7.2 | application |
| c-ares | c-ares | 1.7.3 | application |
| c-ares | c-ares | 1.7.4 | application |
| c-ares | c-ares | 1.7.5 | application |
| c-ares | c-ares | 1.8.0 | application |
| c-ares | c-ares | 1.9.0 | application |
| c-ares | c-ares | 1.9.1 | application |
| c-ares | c-ares | 1.10.0 | application |
| c-ares project | c-ares | 1.11.0 | application |
| debian | debian linux | 8.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 00:48 UTC.
How severe is CVE-2016-5180?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | 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-2016-5180 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 8.65% probability of exploitation activity in the next 30 days, percentile 95.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-787 Out-of-bounds Write
Where are the vendor advisories and references?
- https://source.android.com/security/bulletin/2017-01-01.html x_refsource_CONFIRM
- 93243 vdb-entry, x_refsource_BID
- USN-3143-1 vendor-advisory, x_refsource_UBUNTU
- GLSA-201701-28 vendor-advisory, x_refsource_GENTOO
- DSA-3682 vendor-advisory, x_refsource_DEBIAN
- https://c-ares.haxx.se/adv_20160929.html x_refsource_CONFIRM
- https://c-ares.haxx.se/CVE-2016-5180.patch x_refsource_CONFIRM
- https://googlechromereleases.blogspot.in/2016/09/stable-channel-updates-for-chrome-os.html x_refsource_CONFIRM
- RHSA-2017:0002 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- May 31, 2016
- Published
- October 3, 2016, 15:00 UTC
- CVE record updated
- August 6, 2024, 00:53 UTC by Chrome
- NVD
- Modified, last modified June 17, 2026, 00:48 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:45 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect C-ares?
- Sep 18, 2026CVE-2026-69184 c-ares: denial of service through slow algorithm
- Sep 18, 2026CVE-2026-69186 c-ares: denial of service (uncontrolled resource consumption)
- Sep 3, 2026CVE-2026-33630 c-ares: double free
- Dec 8, 2025CVE-2025-62408 c-ares: use after free
- Apr 8, 2025CVE-2025-31498 c-ares: use after free
- Feb 23, 2024CVE-2024-25629 c-ares: buffer Under-read
- Aug 22, 2023CVE-2020-22217 C-ares: out-of-bounds read
- May 25, 2023CVE-2023-32067 c-ares: denial of service (uncontrolled resource consumption)
Questions about CVE-2016-5180
Is CVE-2016-5180 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 8.65% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of C-ares are affected by CVE-2016-5180?
c-ares 1.0.0, c-ares 1.1.0, c-ares 1.2.0, c-ares 1.2.1, c-ares 1.3.0, c-ares 1.3.1 and 26 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2016-5180?
0.10.48, 0.12.17 and 4.6.1, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2016-5180?
Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-5180?
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.