CVE-2020-14354: c-ares Classic Buffer Overflow
Vulnerability summary
CVE-2020-14354 is a low (CVSS 3.3) Classic Buffer Overflow vulnerability in c-ares. EPSS estimates a 0.53% chance of exploitation in the next 30 days, higher than 43.5% of scored vulnerabilities. 2 public exploits are recorded.
Timeline
- 13-05-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
A possible use-after-free and double-free in c-ares lib version 1.16.0 if ares_destroy() is called prior to ares_getaddrinfo() completing. This flaw possibly allows an attacker to crash the service that uses c-ares lib. The highest threat from this vulnerability is to this service availability.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · DebianEcosystem advisory · calculated3.3LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.53%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
0.00 pp
From 0.53% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (bugzilla.redhat.com)
Maturity: unknown
Exploit Reference (packetstormsecurity.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
- CWE-415Double FreeThe product calls free() twice on the same memory address.
- CWE-416Use After FreeThe product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected systems
3 vendors · 3 products
References
6 links- bugzilla.redhat.com/show_bug.cgi?id=1866838X Refsource MISCExploitIssue TrackingPatchThird Party Advisory
- packetstormsecurity.com/files/158755/GS20200804145053.txtX Refsource MISCExploitThird Party AdvisoryVDB Entry
- github.com/c-ares/c-ares/commit/1cc7e83c3bdfaafbc5919c95025592d8de3a170eX Refsource MISCPatchThird Party Advisory