cve.bz

CVE-2016-5180 Out-of-bounds Write

9.8 criticalEPSS 8.7%

Critical (9.8). EPSS 8.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
8.7% (unchanged from 8.7% a week ago; 8.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-5180 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-5180?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-5180?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-5180 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
c-ares:c-ares1.0.0
c-ares:c-ares1.1.0
c-ares:c-ares1.2.0
c-ares:c-ares1.2.1
c-ares:c-ares1.3.0
c-ares:c-ares1.3.1
c-ares:c-ares1.3.2
c-ares:c-ares1.4.0
c-ares:c-ares1.5.0
c-ares:c-ares1.5.1
c-ares:c-ares1.5.2
c-ares:c-ares1.5.3
c-ares:c-ares1.6.0
c-ares:c-ares1.7.0
c-ares:c-ares1.7.1
c-ares:c-ares1.7.2
c-ares:c-ares1.7.3
c-ares:c-ares1.7.4
c-ares:c-ares1.7.5
c-ares:c-ares1.8.0
c-ares:c-ares1.9.0
c-ares:c-ares1.9.1
c-ares:c-ares1.10.0
c-ares_project:c-ares1.11.0
debian:debian_linux8.0
nodejs:node.jsfrom 0.10.0 before 0.10.48
nodejs:node.jsfrom 0.12.0 before 0.12.17
nodejs:node.jsfrom 4.0.0 before 4.6.1
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux16.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7c-ares1.9.1-3+deb7u1DLA-648-1
Debian8c-ares1.10.0-2+deb8u1DSA-3682-1
Debian12, 13, 14c-ares1.12.0-1DEBIAN-CVE-2016-5180
Ubuntu14.04:LTSc-ares1.10.0-2ubuntu0.1UBUNTU-CVE-2016-5180 USN-3143-1
Ubuntu16.04:LTSc-ares1.10.0-3ubuntu0.1UBUNTU-CVE-2016-5180 USN-3143-1
Red Hatrhel_software_collections:2::el6rh-nodejs4-http-parser, rh-nodejs4-http-parser-devel, rh-nodejs4-http-parser-debuginfo0:2.7.0-2.el6RHSA-2017:0002
Red Hatrhel_software_collections:2::el6rh-nodejs4-nodejs, rh-nodejs4-nodejs-docs, rh-nodejs4-nodejs-devel and 1 more0:4.6.2-4.el6RHSA-2017:0002
Red Hatrhel_software_collections:2::el7rh-nodejs4-http-parser, rh-nodejs4-http-parser-devel, rh-nodejs4-http-parser-debuginfo0:2.7.0-2.el7RHSA-2017:0002
Red Hatrhel_software_collections:2::el7rh-nodejs4-nodejs, rh-nodejs4-nodejs-docs, rh-nodejs4-nodejs-devel and 1 more0:4.6.2-4.el7RHSA-2017:0002
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP1 and 8 morelibcares21.9.1-5.1SUSE-SU-2016:3286-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs44.6.1-11.1SUSE-SU-2016:2898-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4libcares21.7.4-7.9.1SUSE-SU-2016:3287-1
openSUSETumbleweedc-ares1.12.0-1.1openSUSE-SU-2024:10147-1
Alpinev3.2, v3.3, v3.4 and 2 morec-ares1.12.0-r0ALPINE-CVE-2016-5180
Alpinev3.6nodejs6.8.0-r0ALPINE-CVE-2016-5180

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

ProductPackageStateAdvisory
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-nodejs4-http-parser-0:2.7.0-2.el6Fixed 2017-01-02RHSA-2017:0002
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-nodejs4-nodejs-0:4.6.2-4.el6Fixed 2017-01-02RHSA-2017:0002
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSrh-nodejs4-http-parser-0:2.7.0-2.el6Fixed 2017-01-02RHSA-2017:0002
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSrh-nodejs4-nodejs-0:4.6.2-4.el6Fixed 2017-01-02RHSA-2017:0002
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs4-http-parser-0:2.7.0-2.el7Fixed 2017-01-02RHSA-2017:0002
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs4-nodejs-0:4.6.2-4.el7Fixed 2017-01-02RHSA-2017:0002
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUSrh-nodejs4-http-parser-0:2.7.0-2.el7Fixed 2017-01-02RHSA-2017:0002
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUSrh-nodejs4-nodejs-0:4.6.2-4.el7Fixed 2017-01-02RHSA-2017:0002
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUSrh-nodejs4-http-parser-0:2.7.0-2.el7Fixed 2017-01-02RHSA-2017:0002
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUSrh-nodejs4-nodejs-0:4.6.2-4.el7Fixed 2017-01-02RHSA-2017:0002
Red Hat Enterprise Linux 5c-aresWill not fix
Red Hat Enterprise Linux 6c-aresWill not fix
Red Hat Enterprise Linux 7c-aresWill not fix
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational ToolsnodejsUnder investigation
Red Hat OpenShift Enterprise 2nodejs010-nodejsNot affected
Red Hat OpenShift Enterprise 3nodejsNot affected
Red Hat Software Collectionsnodejs010-c-aresWill not fix
Red Hat Software Collectionsnodejs010-nodejsWill not fix
Red Hat Software Collectionsrh-nodejs6-nodejsNot affected
Red Hat Software Collectionsrh-nodejs8-nodejsNot affected
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-5180.

References

Check your stackJSON