Skip to content
Heist/ feed
Back to feed
Low

Security advisory

Type: advisorySources: OSVCVE: 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. 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-14354
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:33 UTC · Revision 1

Source evidence

CVE-2020-14354

core-osv · Original source

Published 13 May 2021, 14:15 UTC

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.

osv:CVE-2020-14354
Complete source record
{
  "id": "3bbc53047c4ba54e727b9228830af21fa866d16391aa2b17eba124b6435c8105",
  "url": "https://osv.dev/vulnerability/CVE-2020-14354",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-14354",
    "summary": "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.",
    "evidence": "osv:CVE-2020-14354",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2020-14354",
      "aliases": [
        "CVE-2020-14354"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/c-ares/c-ares",
              "type": "GIT",
              "events": [
                {
                  "introduced": "077a587dccbe2f0d8a1987fbd3525333705c2249"
                },
                {
                  "last_affected": "077a587dccbe2f0d8a1987fbd3525333705c2249"
                },
                {
                  "fixed": "1cc7e83c3bdfaafbc5919c95025592d8de3a170e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:c-ares:c-ares:1.16.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.16.0"
                      },
                      {
                        "last_affected": "1.16.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1cc7e83c3bdfaafbc5919c95025592d8de3a170e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.16.0",
            "cares-1_16_0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-14354.json",
            "vanir_signatures": [
              {
                "id": "CVE-2020-14354-0943984d",
                "digest": {
                  "length": 625,
                  "function_hash": "41641729463172895225490036612231902270"
                },
                "source": "https://github.com/c-ares/c-ares/commit/1cc7e83c3bdfaafbc5919c95025592d8de3a170e",
                "target": {
                  "file": "ares_getaddrinfo.c",
                  "function": "host_callback"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-14354-61d1432b",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "188514934666865950876588083814903200380",
                    "216654447602516332471211556636820849519",
                    "280935007277571070082878613853237796717",
                    "123115424187489169459219809240179726727"
                  ]
                },
                "source": "https://github.com/c-ares/c-ares/commit/1cc7e83c3bdfaafbc5919c95025592d8de3a170e",
                "target": {
                  "file": "ares_getaddrinfo.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:51:15Z"
          }
        }
      ],
      "modified": "2026-10-20T13:51:15.298235002Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4OOYAMJVLLCLXDTHW3V5UXNULZBBK4O6/",
        "https://c-ares.haxx.se/changelog.html",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1866838",
        "https://github.com/c-ares/c-ares/commit/1cc7e83c3bdfaafbc5919c95025592d8de3a170e",
        "https://packetstormsecurity.com/files/158755/GS20200804145053.txt"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-14354",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388279,
  "published_at": "2021-05-13T14:15:17.503+00:00"
}