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.
Conclusion & alert: CVE-2022-4904 is rated High Exploit Risk (62.3/100): CVSS High severity, with low exploitation likelihood (EPSS 0.16%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-24 | 0.14% | 0.16% | +0.02% |
| 2 | 2026-02-16 | 0.16% | 0.14% | -0.02% |
| 3 | 2025-12-31 | — | 0.16% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.6 | 3.1 | HIGH |
|
3.9 | 4.7 | [email protected] |
| 8.6 | 3.1 | HIGH |
|
3.9 | 4.7 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2022-4904: 1 source package rows (c-ares); 5 state rows across 5 repos (3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 0, open 5. | https://security.alpinelinux.org/vuln/CVE-2022-4904 |
debian
|
not yet assigned | CVE-2022-4904 not yet assigned priority: Debian including 1 source packages (c-ares), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2022-4904 |
gentoo
|
normal | CVE-2022-4904: 1 GLSA(s) (202401-02), 1 atom(s) (net-dns/c-ares); latest impact normal. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-4904 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2022-4904 |
suse
|
medium | CVE-2022-4904 severity moderate: SUSE including 283 source package names (0.3.2-1.2:libcares2-1.19.0-150000.3.20.1, 0.3.32-3.4:libcares2-1.19.0-150000.3.20.1, …), 601 product×package rows across 315 product lines (Container bci/nodejs, Container caasp/v4/cilium, … (315 product lines)): Fixed 467, Known Affected 134. | https://www.suse.com/security/cve/CVE-2022-4904/ |
ubuntu
|
medium | CVE-2022-4904 medium priority: Ubuntu including 1 source packages (c-ares), 13 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 6, released 5, ignored 1, needs-triage 1. | https://ubuntu.com/security/CVE-2022-4904 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| c-ares_project | c-ares | < 1.19.0 | cpe:2.3:a:c-ares_project:c-ares:*:*:*:*:*:*:*:* |
| redhat | software_collections | — | cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:* |
| redhat | enterprise_linux | 8.0 | cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux | 9.0 | cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* |
| fedoraproject | fedora | 36 | cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=2168631 | Issue Tracking Third Party Advisory |
| https://github.com/c-ares/c-ares/issues/496 | Exploit Issue Tracking |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/33LDNS6RPOPP36Z4MPWXALUQZXJCWJS2/ | |
| https://security.gentoo.org/glsa/202401-02 |