{
  "id": "CVE-2026-33630",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-33630",
  "published_at": "2026-09-03T18:42:28.783Z",
  "title": "c-ares : Use-after-free / double-free in c-ares query-completion handling, remotely triggerable via ares_getaddrinfo() over TCP",
  "vendor": "c-ares",
  "product": "c-ares",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "c-ares is an asynchronous resolver library. From ver 1.32.3 until 1.34.7, a use-after-free / double-free in c-ares' query-completion handling. The same flaw — a query's callback being invoked while the query is still linked in the channel's internal lookup structures — is present at multiple points in the resend/finish path (timeout handling, response handling, and query dispatch). If the query, or for ares_getaddrinfo() the owning host_query, is freed as a side effect of that callback, it is then accessed and/or freed a second time. This vulnerability is fixed in ver 1.34.7.",
  "cwe": "CWE-415",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "c-ares",
        "product": "c-ares",
        "ranges": [
          "\u003e= 1.32.3, \u003c 1.34.7"
        ],
        "fixed_in": [
          "1.34.7"
        ]
      }
    ],
    "upgrade": [
      "Upgrade c-ares to 1.34.7 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/c-ares/c-ares/security/advisories/GHSA-6wfj-rwm7-3542"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/c-ares/c-ares/pull/1237"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/c-ares/c-ares/commit/1fa3b86a0b8d18fe7b60f3228a01d770feb026bc"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/c-ares/c-ares/commit/d823199b688052dcdc1646f2ab4cb8c16b1c644a"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/c-ares/c-ares/releases/tag/v1.34.7"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
