Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2022-4904: A flaw was found in the c-ares package

62
This week
HIGH 8.6REMOTEWATCHLISTUPGRADEMITIGATEMITIGATE

CVE-2022-4904 is a high-severity flaw (CVSS 8.6) affecting c-ares, software collections, enterprise linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • High severity
  • Public exploit reference
  • Remotely exploitable, no login, no user action
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score8.6 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance1.2% (top 31%)
CISA exploited listNo
WeaknessCWE-20, CWE-1284
Published2023-03-06
Last modified2026-06-17
Publisher (CNA): Red Hat, Inc. · Vendor: c-ares project · fedoraproject · redhat

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

c-ares project c-ares UPGRADE
Affected: < 1.19.0
Fixed in: 1.19.0
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy c-ares || rpm -q c-ares || c-ares --version
2. UPGRADE to 1.19.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade c-ares
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade c-ares
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
redhat software collections MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy software-collections || rpm -q software-collections || software-collections --version
No fixed or unaffected release known
Apply the vendor mitigation from the advisory, disable the affected feature, or restrict network access.
redhat enterprise linux MITIGATE
Affected: 8.0 · 9.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 8.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
fedoraproject fedora MITIGATE
Affected: 36
Fixed in: no fixed release known
Safe to downgrade to: a release before 36
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.

Advisories and coverage

Official advisories

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2022-4904?

c-ares: upgrade to 1.19.0; software collections: mitigate or apply the listed mitigation; enterprise linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2022-4904 being exploited?

CVE-2022-4904 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2022-4904 affect?

CVE-2022-4904 affects c-ares, software collections, enterprise linux. Severity is high (CVSS 8.6). 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

How urgent is CVE-2022-4904?

Priority 62/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.