CVE-2016-5180
c-ares: Single byte out of buffer write
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
Desbordamiento de búfer basado en memoria dinámica en la función ares_create_query en c-ares 1.x en versiones anteriores a 1.12.0 permite a atacantes remotos provocar una denegación de servicio (escritura fuera de límites) o posiblemente ejecutar código arbitrario a través de un nombre de host con puntos finales de fuga.
A vulnerability was found in c-ares. A hostname with an escaped trailing dot (such as "hello\.") would have its size calculated incorrectly, leading to a single byte written beyond the end of a buffer on the heap. An attacker able to provide such a hostname to an application using c-ares, could potentially cause that application to crash.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2016-05-31 CVE Reserved
- 2016-10-03 CVE Published
- 2024-08-06 CVE Updated
- 2024-11-02 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-122: Heap-based Buffer Overflow
- CWE-787: Out-of-bounds Write
CAPEC
References (11)
URL | Tag | Source |
---|---|---|
http://www.securityfocus.com/bid/93243 | Vdb Entry | |
https://c-ares.haxx.se/CVE-2016-5180.patch | X_refsource_confirm | |
https://c-ares.haxx.se/adv_20160929.html | X_refsource_confirm | |
https://googlechromereleases.blogspot.in/2016/09/stable-channel-updates-for-chrome-os.html | X_refsource_confirm | |
https://source.android.com/security/bulletin/2017-01-01.html | X_refsource_confirm |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
http://rhn.redhat.com/errata/RHSA-2017-0002.html | 2023-11-07 | |
http://www.debian.org/security/2016/dsa-3682 | 2023-11-07 | |
http://www.ubuntu.com/usn/USN-3143-1 | 2023-11-07 | |
https://security.gentoo.org/glsa/201701-28 | 2023-11-07 | |
https://access.redhat.com/security/cve/CVE-2016-5180 | 2017-01-02 | |
https://bugzilla.redhat.com/show_bug.cgi?id=1380463 | 2017-01-02 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.0.0 Search vendor "C-ares" for product "C-ares" and version "1.0.0" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.1.0 Search vendor "C-ares" for product "C-ares" and version "1.1.0" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.2.0 Search vendor "C-ares" for product "C-ares" and version "1.2.0" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.2.1 Search vendor "C-ares" for product "C-ares" and version "1.2.1" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.3.0 Search vendor "C-ares" for product "C-ares" and version "1.3.0" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.3.1 Search vendor "C-ares" for product "C-ares" and version "1.3.1" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.3.2 Search vendor "C-ares" for product "C-ares" and version "1.3.2" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.4.0 Search vendor "C-ares" for product "C-ares" and version "1.4.0" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.5.0 Search vendor "C-ares" for product "C-ares" and version "1.5.0" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.5.1 Search vendor "C-ares" for product "C-ares" and version "1.5.1" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.5.2 Search vendor "C-ares" for product "C-ares" and version "1.5.2" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.5.3 Search vendor "C-ares" for product "C-ares" and version "1.5.3" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.6.0 Search vendor "C-ares" for product "C-ares" and version "1.6.0" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.7.0 Search vendor "C-ares" for product "C-ares" and version "1.7.0" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.7.1 Search vendor "C-ares" for product "C-ares" and version "1.7.1" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.7.2 Search vendor "C-ares" for product "C-ares" and version "1.7.2" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.7.3 Search vendor "C-ares" for product "C-ares" and version "1.7.3" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.7.4 Search vendor "C-ares" for product "C-ares" and version "1.7.4" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.7.5 Search vendor "C-ares" for product "C-ares" and version "1.7.5" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.8.0 Search vendor "C-ares" for product "C-ares" and version "1.8.0" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.9.0 Search vendor "C-ares" for product "C-ares" and version "1.9.0" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.9.1 Search vendor "C-ares" for product "C-ares" and version "1.9.1" | - |
Affected
| ||||||
C-ares Search vendor "C-ares" | C-ares Search vendor "C-ares" for product "C-ares" | 1.10.0 Search vendor "C-ares" for product "C-ares" and version "1.10.0" | - |
Affected
| ||||||
C-ares Project Search vendor "C-ares Project" | C-ares Search vendor "C-ares Project" for product "C-ares" | 1.11.0 Search vendor "C-ares Project" for product "C-ares" and version "1.11.0" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 8.0 Search vendor "Debian" for product "Debian Linux" and version "8.0" | - |
Affected
| ||||||
Nodejs Search vendor "Nodejs" | Node.js Search vendor "Nodejs" for product "Node.js" | >= 0.10.0 < 0.10.48 Search vendor "Nodejs" for product "Node.js" and version " >= 0.10.0 < 0.10.48" | - |
Affected
| ||||||
Nodejs Search vendor "Nodejs" | Node.js Search vendor "Nodejs" for product "Node.js" | >= 0.12.0 < 0.12.17 Search vendor "Nodejs" for product "Node.js" and version " >= 0.12.0 < 0.12.17" | - |
Affected
| ||||||
Nodejs Search vendor "Nodejs" | Node.js Search vendor "Nodejs" for product "Node.js" | >= 4.0.0 < 4.6.1 Search vendor "Nodejs" for product "Node.js" and version " >= 4.0.0 < 4.6.1" | - |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 12.04 Search vendor "Canonical" for product "Ubuntu Linux" and version "12.04" | - |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 14.04 Search vendor "Canonical" for product "Ubuntu Linux" and version "14.04" | esm |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 16.04 Search vendor "Canonical" for product "Ubuntu Linux" and version "16.04" | esm |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 16.10 Search vendor "Canonical" for product "Ubuntu Linux" and version "16.10" | - |
Affected
|