CVE-2022-4904
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.
Key facts
- CVSS score
- 8.6 (v3.1)
- Severity
- HIGH
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H- Weakness (CWE)
- CWE-20
- EPSS score
- 1.2% (68th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2022-52159)
- Published
- March 6, 2023
- NVD last modified
- June 17, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2022-52159 in the EU Vulnerability Database. Last updated in EUVD on December 2, 2025.
View on the EU Vulnerability DatabaseAffected products
- c-ares project / c-ares
- fedoraproject / fedora
- redhat / enterprise linux
- redhat / enterprise linux
- redhat / software collections
Certified products that may be affected
31 FIPS 140 or Common Criteria certified products, from automated matching by sec-certs.org.
- Red Hat Enterprise Linux 8 NSS Cryptographic Module - Red Hat, Inc. - FIPS 140 5513 - active
- Red Hat Enterprise Linux 8 Kernel Cryptographic API - Red Hat, LLC - FIPS 140 5461 - active
- Red Hat Enterprise Linux 9 Kernel Cryptographic API - Red Hat, Inc. - FIPS 140 5445 - active
- Red Hat Enterprise Linux 9 libgcrypt - Red Hat, Inc. - FIPS 140 5366 - active
- Red Hat Enterprise Linux 8 Kernel Cryptographic API - Red Hat, Inc. - FIPS 140 5089 - active
See all 31 in the Security Certifications Explorer.
References
- 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
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain