CVE-2016-5180

CRITICAL

C-ares < 0.10.48 - Out-of-Bounds Write

Title source: rule

Description

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.

Exploits (3)

nomisec WORKING POC
by pouriam23 · poc
https://github.com/pouriam23/final-CVE-2016-5180
nomisec WORKING POC
by pouriam23 · poc
https://github.com/pouriam23/CVE-2016-5180-docker-
nomisec WORKING POC
by pouriam23 · poc
https://github.com/pouriam23/CVE-2016-5180

Scores

CVSS v3 9.8
EPSS 0.1817
EPSS Percentile 95.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-787
Status published
Products (30)
canonical/ubuntu_linux 12.04
canonical/ubuntu_linux 14.04
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 16.10
c-ares/c-ares 1.0.0
c-ares/c-ares 1.1.0
c-ares/c-ares 1.2.0
c-ares/c-ares 1.2.1
c-ares/c-ares 1.3.0
c-ares/c-ares 1.3.1
... and 20 more
Published Oct 03, 2016
Tracked Since Feb 18, 2026