Skip to content
Fencer Vulns
critical 9.8

CVE-2016-5180 in the critical feed json

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 servi…

published 2016-10-03 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-6131

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
8.7%
EPSS 8.7% chance of exploitation in 30 days, percentile 95%
public exploits
0
none known

Summary

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.

Patch / fix

  • nodejs node.js 0.10.48, 0.12.17, 4.6.1
  • c-ares Debian 14, Debian 13, Debian 12 1.12.0-1

debian advisories DEBIAN-CVE-2016-5180

  • c-ares Ubuntu 14.04 LTS 1.10.0-2ubuntu0.1
  • c-ares Ubuntu 16.04 LTS 1.10.0-3ubuntu0.1

ubuntu advisories UBUNTU-CVE-2016-5180

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • rh-nodejs4-nodejs RHEL 2 SOFTWARE_COLLECTIONS 4.6.2-4.el6
  • rh-nodejs4-nodejs RHEL 2 SOFTWARE_COLLECTIONS 4.6.2-4.el7
  • rh-nodejs4-http-parser RHEL 2 SOFTWARE_COLLECTIONS 2.7.0-2.el6
  • rh-nodejs4-http-parser RHEL 2 SOFTWARE_COLLECTIONS 2.7.0-2.el7

red hat advisories RHSA-2017:0002

  • libcares2 SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +8 more 1.9.1-5.1
  • libcares2 SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 1.7.4-7.9.1
  • nodejs4 SLE Module for Web and Scripting 12 4.6.1-11.1

suse advisories SUSE-SU-2016:3286-1SUSE-SU-2016:3287-1SUSE-SU-2016:2898-1

  • c-ares openSUSE Tumbleweed 1.12.0-1.1

opensuse advisories openSUSE-SU-2024:10147-1

  • c-ares Alpine 3.6, Alpine 3.5, Alpine 3.4 +2 more 1.12.0-r0
  • nodejs Alpine 3.6 6.8.0-r0

alpine advisories ALPINE-CVE-2016-5180

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • c-ares Arch Linux 1.12.0-1

arch linux advisories AVG-37

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-5180 updated cvss 5.3

c-ares: Single byte out of buffer write

  • Red Hat Enterprise Linux 5 c-ares Red Hat Enterprise Linux 6 c-ares Red Hat Enterprise Linux 7 c-ares Red Hat Software Collections nodejs010-c-ares, nodejs010-nodejs
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Tools nodejs
    under investigation
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-nodejs4-nodejs 4.6.2-4.el6, rh-nodejs4-http-parser 2.7.0-2.el6 Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs4-nodejs 4.6.2-4.el7, rh-nodejs4-http-parser 2.7.0-2.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-nodejs4-nodejs 4.6.2-4.el6, rh-nodejs4-http-parser 2.7.0-2.el6 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) rh-nodejs4-nodejs 4.6.2-4.el7, rh-nodejs4-http-parser 2.7.0-2.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2) rh-nodejs4-nodejs 4.6.2-4.el7, rh-nodejs4-http-parser 2.7.0-2.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-nodejs4-nodejs 4.6.2-4.el7, rh-nodejs4-http-parser 2.7.0-2.el7
    +2 more products
    Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-nodejs4-nodejs 4.6.2-4.el6, rh-nodejs4-http-parser 2.7.0-2.el6 Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs4-nodejs 4.6.2-4.el7, rh-nodejs4-http-parser 2.7.0-2.el7
    fixed: vendor fix RHSA-2017:0002
  • Red Hat OpenShift Enterprise 2 nodejs010-nodejs Red Hat OpenShift Enterprise 3 nodejs Red Hat Software Collections rh-nodejs8-npm, rh-nodejs6-nodejs, rh-nodejs8-nodejs
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

8.65% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.