High severity · published Jul 7, 2017
CVE-2017-1000381
The c-ares function `ares_parse_naptr_reply()`, which is used for parsing NAPTR responses, could be triggered to read memory outside of the given input buffer if the passed in DNS…
7.5
CVSS
3.3%
EPSS
No
On KEV
Description
The c-ares function `ares_parse_naptr_reply()`, which is used for parsing NAPTR responses, could be triggered to read memory outside of the given input buffer if the passed in DNS response packet was crafted in a particular way.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)3.3% · higher than 88% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CA
C-ares · C-ares
1.8.0; 1.9.0; 1.9.1; 1.10.0; 1.12.0 · source: NVD
NO
Node.js · Nodejs
4.0.0 through 4.1.2; 4.2.0 before 4.8.4; 5.0.0 through 5.12.0; 6.0.0 through 6.8.1; 6.9.0 before 6.11.1; 7.0.0 before 7.10.1; +1 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-1000381
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-1000381
Third Party Advisory
http://www.securityfocus.com/bid/99148
Mailing List
https://c-ares.haxx.se/0616.patch
Vendor Advisory
https://c-ares.haxx.se/adv_20170620.html
More from C-ares
9.8
CVE-2016-5180
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…
7.5
CVE-2026-69184
c-ares: CPU-exhaustion denial of service via unbounded DNS name compression pointer chains
7.5
CVE-2026-33630
c-ares : Use-after-free / double-free in c-ares query-completion handling, remotely triggerable via ares_getaddrinfo() over TCP
5.9
CVE-2025-62408
c-ares is an asynchronous resolver library
5.9
CVE-2020-22217
Buffer 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
