Skip to content
Noroxi
CVE-2016-5180· NVD / CVE Program· CNA Chrome

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 servic

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.

CriticalCVSS 9.8 · v3.1—Proof of concept Fix available
Published
Oct 3, 2016
Updated
Jun 16, 2026
EPSS
8.6% · 95th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

42

Plan

Add it to your regular patch cycle.

CVSS
39 / 40 · 9.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
3 / 30 · 8.6%

Affected systems

VendorProduct
c-aresc-ares
c-ares projectc-ares
debiandebian linux
nodejsnode.js
canonicalubuntu linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • nodejs node.js0.10.0 and later · before 0.10.48
  • nodejs node.js0.12.0 and later · before 0.12.17
  • nodejs node.js4.0.0 and later · before 4.6.1

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.2c-aresbefore 1.12.0-r01.12.0-r0
Alpine:v3.6nodejsbefore 6.8.0-r06.8.0-r0
Debian:12c-aresbefore 1.12.0-11.12.0-1
Debian:7c-aresbefore 1.9.1-3+deb7u11.9.1-3+deb7u1
Debian:8c-aresbefore 1.10.0-2+deb8u11.10.0-2+deb8u1
openSUSE:Tumbleweedc-aresbefore 1.12.0-1.11.12.0-1.1
Red Hat:rhel_software_collections:2::el6rh-nodejs4-http-parserbefore 0:2.7.0-2.el60:2.7.0-2.el6
Red Hat:rhel_software_collections:2::el6rh-nodejs4-http-parser-debuginfobefore 0:2.7.0-2.el60:2.7.0-2.el6
Red Hat:rhel_software_collections:2::el6rh-nodejs4-http-parser-develbefore 0:2.7.0-2.el60:2.7.0-2.el6
Red Hat:rhel_software_collections:2::el6rh-nodejs4-nodejsbefore 0:4.6.2-4.el60:4.6.2-4.el6
Red Hat:rhel_software_collections:2::el6rh-nodejs4-nodejs-debuginfobefore 0:4.6.2-4.el60:4.6.2-4.el6
Red Hat:rhel_software_collections:2::el6rh-nodejs4-nodejs-develbefore 0:4.6.2-4.el60:4.6.2-4.el6
Red Hat:rhel_software_collections:2::el6rh-nodejs4-nodejs-docsbefore 0:4.6.2-4.el60:4.6.2-4.el6
Red Hat:rhel_software_collections:2::el7rh-nodejs4-http-parserbefore 0:2.7.0-2.el70:2.7.0-2.el7
Red Hat:rhel_software_collections:2::el7rh-nodejs4-http-parser-debuginfobefore 0:2.7.0-2.el70:2.7.0-2.el7
Red Hat:rhel_software_collections:2::el7rh-nodejs4-http-parser-develbefore 0:2.7.0-2.el70:2.7.0-2.el7
Red Hat:rhel_software_collections:2::el7rh-nodejs4-nodejsbefore 0:4.6.2-4.el70:4.6.2-4.el7
Red Hat:rhel_software_collections:2::el7rh-nodejs4-nodejs-debuginfobefore 0:4.6.2-4.el70:4.6.2-4.el7
Red Hat:rhel_software_collections:2::el7rh-nodejs4-nodejs-develbefore 0:4.6.2-4.el70:4.6.2-4.el7
Red Hat:rhel_software_collections:2::el7rh-nodejs4-nodejs-docsbefore 0:4.6.2-4.el70:4.6.2-4.el7
SUSE:Linux Enterprise Desktop 12 SP1libcares2before 1.9.1-5.11.9.1-5.1
SUSE:Linux Enterprise Module for Web and Scripting 12nodejs4before 4.6.1-11.14.6.1-11.1
SUSE:Linux Enterprise Software Development Kit 11 SP4libcares2before 1.7.4-7.9.11.7.4-7.9.1

Other highest-scoring records for the same primary product.

  • CVE-2025-31498c-ares has a use-after-free in read_answers()
    33Monitor
  • CVE-2017-1000381The c-ares function `ares_parse_naptr_reply()`, which is used for parsing NAPTR responses, could be triggered to read memory outside of the
    31Monitor
  • CVE-2026-69184c-ares: CPU-exhaustion denial of service via unbounded DNS name compression pointer chains
    30Monitor
  • CVE-2026-33630c-ares : Use-after-free / double-free in c-ares query-completion handling, remotely triggerable via ares_getaddrinfo() over TCP
    30Monitor
  • CVE-2025-62408c-ares has a Use After Free vulnerability when connection is cleaned up after error
    23Monitor
  • CVE-2020-22217Buffer overflow vulnerability in c-ares before 1_16_1 thru 1_17_0 via function ares_parse_soa_reply in ares_parse_soa_reply.c.
    23Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:c-ares1.12.0-r0 · Alpine:v3.2Package registry (OSV)
alpine:nodejs6.8.0-r0 · Alpine:v3.6Package registry (OSV)
debian:c-ares1.12.0-1 · Debian:12Package registry (OSV)
opensuse:c-ares1.12.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:rh-nodejs4-http-parser0:2.7.0-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-nodejs4-http-parser-debuginfo0:2.7.0-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-nodejs4-http-parser-devel0:2.7.0-2.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-nodejs4-nodejs0:4.6.2-4.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-nodejs4-nodejs-debuginfo0:4.6.2-4.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-nodejs4-nodejs-devel0:4.6.2-4.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
red hat:rh-nodejs4-nodejs-docs0:4.6.2-4.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
suse:libcares21.9.1-5.1 · SUSE:Linux Enterprise Desktop 12 SP1Package registry (OSV)
suse:nodejs44.6.1-11.1 · SUSE:Linux Enterprise Module for Web and Scripting 12Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×3

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:02025-05-23
Proof-of-concept repository on GitHubstars:02025-05-23
Proof-of-concept repository on GitHubstars:02025-05-24

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+3154 d
  3. TodaySep 30, 2026+3649 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Weakness class (CWE)

CWE-787 · Out-of-bounds Write

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records