cve.bz

CVE-2020-14354 Double Free

3.3 lowExploit referenceEPSS 0.5%Fix available

Low (3.3). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.1

3.3 low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-415 Double Free
CWE-416 Use After Free
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
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-2020-14354 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-14354?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-14354?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-2020-14354 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.16.0
fedoraproject:fedora33

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14c-ares1.16.1-1DEBIAN-CVE-2020-14354

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw is rated as a having Moderate impact, because it can happen only during close of the service (or when handling ARES_ECONNREFUSED). The Red Hat Enterprise Linux not affected (all versions), because the version of c-ares being used is 1.13.0, and the bug introduced in 1.16.0 (and then fixed in 1.16.1).

Red Hat's mitigation

If calling wait_ares(channel) before ares_destroy() in the service that uses c-ares, then this should prevent this bug.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5c-aresNot affected
Red Hat Enterprise Linux 6c-aresNot affected
Red Hat Enterprise Linux 7c-aresNot affected
Red Hat Enterprise Linux 8c-aresNot affected
Red Hat Enterprise Linux 8nodejsNot affected
Red Hat Software Collectionsrh-nodejs10-nodejsNot affected
Red Hat Software Collectionsrh-nodejs12-nodejsNot affected

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-2020-14354.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON