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.
CVE-2022-4904
Score 8.6 from GitHub Security Advisory (severity: HIGH) published 2023-03-07. NVD baseline CVSS 8.6; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.6
- EG Score
- 8.6(medium)
- EPSS
- 65.5%
- KEV
- Not listed
Published
March 6, 2023
Last Modified
December 2, 2025
References (8)
- secalert@redhathttps://bugzilla.redhat.com/show_bug.cgi?id=2168631
- secalert@redhathttps://github.com/c-ares/c-ares/issues/496
- secalert@redhathttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/33LDNS6RPOPP36Z4MPWXALUQZXJCWJS2/
- secalert@redhathttps://security.gentoo.org/glsa/202401-02
- af854a3a-2127-422b-91ae-364da2661108https://bugzilla.redhat.com/show_bug.cgi?id=2168631
- af854a3a-2127-422b-91ae-364da2661108https://github.com/c-ares/c-ares/issues/496
- af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/33LDNS6RPOPP36Z4MPWXALUQZXJCWJS2/
- af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/202401-02
Vendor Advisories for CVE-2022-4904(8)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2023:5533Red Hat Product SecurityHigh
Red Hat Security Advisory: nodejs security, bug fix, and enhancement update
- RHSA-2023:2655Red Hat Product SecurityMedium
Red Hat Security Advisory: nodejs and nodejs-nodemon security, bug fix, and enhancement update
- RHSA-2023:2654Red Hat Product SecurityMedium
Red Hat Security Advisory: nodejs:18 security, bug fix, and enhancement update
- RHSA-2023:1744Red Hat Product SecurityHigh
Red Hat Security Advisory: rh-nodejs14-nodejs security, bug fix, and enhancement update
- RHSA-2023:1742Red Hat Product SecurityHigh
Red Hat Security Advisory: nodejs:14 security, bug fix, and enhancement update
- RHSA-2023:1743Red Hat Product SecurityHigh
Red Hat Security Advisory: nodejs:14 security, bug fix, and enhancement update
- RHSA-2023:1582Red Hat Product SecurityMedium
Red Hat Security Advisory: nodejs:16 security, bug fix, and enhancement update
- RHSA-2023:1533Red Hat Product SecurityHigh
Red Hat Security Advisory: nodejs:14 security, bug fix, and enhancement update
Patch Availability(15)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | libc-ares-dev (1.15.0-1ubuntu0.2) @ focal | 2026-05-25 | ubuntu |
| redhat | c-ares-0:1.13.0-6.el8_8.3 | 2023-11-28 | redhat |
| redhat | c-ares-0:1.17.1-5.el9_2.2 | 2023-11-21 | redhat |
| redhat | c-ares-0:1.13.0-8.el8 | 2023-11-14 | redhat |
| redhat | c-ares-0:1.19.1-1.el9 | 2023-11-07 | redhat |
| redhat | c-ares-0:1.17.1-5.el9_0.2 | 2023-11-02 | redhat |
| redhat | nodejs-1:16.20.2-1.el9_0 | 2023-10-09 | redhat |
| redhat | nodejs:18-8080020230607122508.63b34585 | 2023-07-12 | redhat |
| redhat | nodejs-1:16.19.1-1.el9_2 | 2023-05-09 | redhat |
| redhat | nodejs:18-9020020230327152102.rhel9 | 2023-05-09 | redhat |
| redhat | nodejs:14-8070020230306170042.bd1311ed | 2023-04-12 | redhat |
| redhat | rh-nodejs14-nodejs-0:14.21.3-2.el7 | 2023-04-12 | redhat |
| redhat | nodejs:14-8060020230306170237.ad008a3a | 2023-04-12 | redhat |
| redhat | nodejs:16-8070020230314140722.bd1311ed | 2023-04-04 | redhat |
| redhat | nodejs:14-8040020230306170312.522a0ee4 | 2023-03-30 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(3)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(8)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Microsoft MSRCCVE-2022-49042023-03-07
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.
- Red HatRHSA-2023:4035MODERATE2022-12-13
RHSA-2023:4035 — Moderate
- Red HatRHSA-2023:6291MODERATE2022-12-13
RHSA-2023:6291 — Moderate
- Red HatRHSA-2023:6635MODERATE2022-12-13
RHSA-2023:6635 — Moderate
- Red HatRHSA-2023:7116MODERATE2022-12-13
RHSA-2023:7116 — Moderate
- Red HatRHSA-2023:7368MODERATE2022-12-13
RHSA-2023:7368 — Moderate
- Red HatRHSA-2023:7543MODERATE2022-12-13
RHSA-2023:7543 — Moderate
- UbuntuUSN-5907-1MEDIUM
c-ares vulnerability
Data Freshness Timeline
(refreshed 13× in last 7d / 45× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 101 total refreshes for this CVE.
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:05 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-16 17:00 UTCEPSS rescore
- 2026-07-16 03:53 UTCOSV refresh
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:08 UTCEPSS rescore
- 2026-07-08 15:13 UTCEPSS rescore
- 2026-07-07 13:44 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-01 15:04 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 03:34 UTCOSV refresh
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:47 UTCEPSS rescore
- 2026-06-14 23:16 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 14:47 UTCOSV refresh
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-25 05:42 UTCEG score recompute
- 2026-05-25 05:42 UTCVendor advisory
Related CVEs(same vendor + same CWE)
Same vendor
10 shownmsrc · redhat
Same CWE
10 shownCWE-119 · CWE-20
Frequently asked(5)
What is CVE-2022-4904?
When was CVE-2022-4904 disclosed?
Is CVE-2022-4904 actively exploited?
What is the CVSS score of CVE-2022-4904?
How do I remediate CVE-2022-4904?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2022-4904
Is Your Infrastructure Affected by CVE-2022-4904?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.