{"id":"CVE-2022-4904","aliases":["CVE-2022-4904"],"related":[],"kind":"vulnerability","state":"published","title":"A flaw was found in the c-ares package.","summary":"A flaw was found in the c-ares package. The ares_set_sortlist is missing checks about the validity of the input string, which allows a possible arbitrary length stack overflow. This issue may cause a denial of service or a limited impact on confidentiality and integrity.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A flaw was found in the c-ares package. The ares_set_sortlist is missing checks about the validity of the input string, which allows a possible arbitrary length stack overflow. This issue may cause a denial of service or a limited impact on confidentiality and integrity.","source":"cvelist"}],"published":"2023-03-06T00:00:00.000Z","modified":"2026-06-17T05:22:15.580Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":8.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":8.6,"rating":"HIGH"}],"cwes":["CWE-20","CWE-1284"],"affected":[{"ranges":[{"version":"unknown","status":"affected"}],"product":"c-ares","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.19.0"}],"vendor":"c-ares_project","product":"c-ares","cpe":"cpe:2.3:a:c-ares_project:c-ares:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"redhat","product":"software_collections","cpe":"cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"},{"status":"affected","version":"9.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"36"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2168631","tags":["issue-tracking","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/c-ares/c-ares/issues/496","tags":["exploit","issue-tracking","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/33LDNS6RPOPP36Z4MPWXALUQZXJCWJS2/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202401-02","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-12-02T20:25:39.134Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-4904","url":"https://www.cve.org/CVERecord?id=CVE-2022-4904","licence":"CVE Terms of Use","modified":"2025-12-02T20:25:58.780Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-4904","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4904","licence":"Public domain","modified":"2026-06-17T05:22:15.580Z"}],"updatedAt":"2026-11-25T22:58:18.791Z","epss":{"score":0.01232,"percentile":0.69839,"date":"2026-12-02T12:00:21.000Z"}}