Live threats

All CVEs / C-ares

CVE-2016-5180C-ares

Critical 9.8 No auth needed

Priority
75
CVSS 3.1
9.8
EPSS
8.7%
probability of exploitation in 30 days · percentile 96
Auth required
No
Published
Oct 3, 2016
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for C-ares.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
c-aresc-ares1.0.0
c-aresc-ares1.1.0
c-aresc-ares1.2.0
c-aresc-ares1.2.1
c-aresc-ares1.3.0
c-aresc-ares1.3.1
c-aresc-ares1.3.2
c-aresc-ares1.4.0
c-aresc-ares1.5.0
c-aresc-ares1.5.1
c-aresc-ares1.5.2
c-aresc-ares1.5.3
c-aresc-ares1.6.0
c-aresc-ares1.7.0
c-aresc-ares1.7.1
c-aresc-ares1.7.2
c-aresc-ares1.7.3
c-aresc-ares1.7.4
c-aresc-ares1.7.5
c-aresc-ares1.8.0
c-aresc-ares1.9.0
c-aresc-ares1.9.1
c-aresc-ares1.10.0
c-ares_projectc-ares1.11.0
debiandebian_linux8.0
nodejsnode.js≥ 0.10.0 < 0.10.48
nodejsnode.js≥ 0.12.0 < 0.12.17
nodejsnode.js≥ 4.0.0 < 4.6.1
canonicalubuntu_linux12.04
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux16.10

Official sources

References

Links published by the sources. Open them with care.