CVE-2016-5180

Summary

CVECVE-2016-5180
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-10-03 15:59:00 UTC
Updated2023-11-07 02:33:00 UTC
DescriptionHeap-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.

Risk And Classification

Problem Types: CWE-787

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application C-ares C-ares 1.0.0 All All All
Application C-ares C-ares 1.1.0 All All All
Application C-ares C-ares 1.10.0 All All All
Application C-ares C-ares 1.2.0 All All All
Application C-ares C-ares 1.2.1 All All All
Application C-ares C-ares 1.3.0 All All All
Application C-ares C-ares 1.3.1 All All All
Application C-ares C-ares 1.3.2 All All All
Application C-ares C-ares 1.4.0 All All All
Application C-ares C-ares 1.5.0 All All All
Application C-ares C-ares 1.5.1 All All All
Application C-ares C-ares 1.5.2 All All All
Application C-ares C-ares 1.5.3 All All All
Application C-ares C-ares 1.6.0 All All All
Application C-ares C-ares 1.7.0 All All All
Application C-ares C-ares 1.7.1 All All All
Application C-ares C-ares 1.7.2 All All All
Application C-ares C-ares 1.7.3 All All All
Application C-ares C-ares 1.7.4 All All All
Application C-ares C-ares 1.7.5 All All All
Application C-ares C-ares 1.8.0 All All All
Application C-ares C-ares 1.9.0 All All All
Application C-ares C-ares 1.9.1 All All All
Application C-ares Project C-ares 1.0.0 All All All
Application C-ares Project C-ares 1.1.0 All All All
Application C-ares Project C-ares 1.10.0 All All All
Application C-ares Project C-ares 1.11.0 All All All
Application C-ares Project C-ares 1.2.0 All All All
Application C-ares Project C-ares 1.2.1 All All All
Application C-ares Project C-ares 1.3.0 All All All
Application C-ares Project C-ares 1.3.1 All All All
Application C-ares Project C-ares 1.3.2 All All All
Application C-ares Project C-ares 1.4.0 All All All
Application C-ares Project C-ares 1.5.0 All All All
Application C-ares Project C-ares 1.5.1 All All All
Application C-ares Project C-ares 1.5.2 All All All
Application C-ares Project C-ares 1.5.3 All All All
Application C-ares Project C-ares 1.6.0 All All All
Application C-ares Project C-ares 1.7.0 All All All
Application C-ares Project C-ares 1.7.1 All All All
Application C-ares Project C-ares 1.7.2 All All All
Application C-ares Project C-ares 1.7.3 All All All
Application C-ares Project C-ares 1.7.4 All All All
Application C-ares Project C-ares 1.7.5 All All All
Application C-ares Project C-ares 1.8.0 All All All
Application C-ares Project C-ares 1.9.0 All All All
Application C-ares Project C-ares 1.9.1 All All All
Application C-ares Project C-ares 1.0.0 All All All
Application C-ares Project C-ares 1.1.0 All All All
Application C-ares Project C-ares 1.10.0 All All All
Application C-ares Project C-ares 1.11.0 All All All
Application C-ares Project C-ares 1.2.0 All All All
Application C-ares Project C-ares 1.2.1 All All All
Application C-ares Project C-ares 1.3.0 All All All
Application C-ares Project C-ares 1.3.1 All All All
Application C-ares Project C-ares 1.3.2 All All All
Application C-ares Project C-ares 1.4.0 All All All
Application C-ares Project C-ares 1.5.0 All All All
Application C-ares Project C-ares 1.5.1 All All All
Application C-ares Project C-ares 1.5.2 All All All
Application C-ares Project C-ares 1.5.3 All All All
Application C-ares Project C-ares 1.6.0 All All All
Application C-ares Project C-ares 1.7.0 All All All
Application C-ares Project C-ares 1.7.1 All All All
Application C-ares Project C-ares 1.7.2 All All All
Application C-ares Project C-ares 1.7.3 All All All
Application C-ares Project C-ares 1.7.4 All All All
Application C-ares Project C-ares 1.7.5 All All All
Application C-ares Project C-ares 1.8.0 All All All
Application C-ares Project C-ares 1.9.0 All All All
Application C-ares Project C-ares 1.9.1 All All All
Operating System Canonical Ubuntu Linux 12.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 16.10 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Application Nodejs Node.js All All All All

References

ReferenceSourceLinkTags
USN-3143-1: c-ares vulnerability | Ubuntu UBUNTU www.ubuntu.com
Chrome Releases: Stable Channel Update for Chrome OS CONFIRM googlechromereleases.blogspot.in Third Party Advisory
C-ares CVE-2016-5180 Out of Bounds Write Denial of Service Vulnerability www.securityfocus.com
Debian -- Security Information -- DSA-3682-1 c-ares DEBIAN www.debian.org Third Party Advisory
Red Hat Customer Portal rhn.redhat.com
Android Security Bulletin—January 2017 | Android Open Source Project source.android.com
c-ares: Heap-based buffer overflow (GLSA 201701-28) — Gentoo security security.gentoo.org
c-ares.haxx.se/CVE-2016-5180.patch c-ares.haxx.se
ares_create_query single byte out of buffer write c-ares.haxx.se
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 710452 Gentoo Linux c-ares Heap-based buffer overflow Vulnerability (GLSA 201701-28)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report