
CVE catalog
CVE-2022-4904
c-ares vulnerabilities
- Severity
- High · CVSS 8.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.22% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | c-ares | sid | 1.34.9-1 | fixed |
| Debian | c-ares | forky | 1.34.8-1 | fixed |
| Debian | c-ares | trixie | 1.34.5-1+deb13u1 | fixed |
| Debian | c-ares | trixie-security | 1.34.5-1+deb13u1 | fixed |
| Debian | c-ares | bookworm | 1.18.1-3 | fixed |
| Ubuntu | c-ares | noble | 1.18.1-2 | fixed |
| Ubuntu | c-ares | 18.04 | 1.13.0-2 | vulnerable |
| Ubuntu | c-ares | 18.04 | 1.13.0-3 | vulnerable |
| Ubuntu | c-ares | 18.04 | 1.14.0-1 | vulnerable |
| Ubuntu | c-ares | 18.04 | 1.14.0-1ubuntu0.1 | vulnerable |
| Ubuntu | c-ares | 18.04 | 1.14.0-1ubuntu0.2 | fixed |
| Ubuntu | c-ares | 20.04 | 1.15.0-1build1 | vulnerable |
| Ubuntu | c-ares | 20.04 | 1.15.0-1ubuntu0.1 | vulnerable |
| Ubuntu | c-ares | 20.04 | 1.15.0-1ubuntu0.2 | fixed |
| Ubuntu | c-ares | 22.04 | 1.17.1-1ubuntu1 | vulnerable |
| Ubuntu | c-ares | 22.04 | 1.18.1-1 | vulnerable |
| Ubuntu | c-ares | 22.04 | 1.18.1-1build1 | vulnerable |
| Ubuntu | c-ares | 22.04 | 1.18.1-1ubuntu0.22.04.1 | fixed |
| Ubuntu | c-ares | pro | 1.10.0-2 | vulnerable |
| Ubuntu | c-ares | pro | 1.10.0-3 | vulnerable |
| Ubuntu | c-ares | pro | 1.10.0-3ubuntu0.1 | vulnerable |
| Ubuntu | c-ares | pro | 1.10.0-3ubuntu0.2 | vulnerable |
| Ubuntu | c-ares | pro | 1.10.0-3ubuntu0.2+esm1 | vulnerable |
| Ubuntu | c-ares | pro | 1.10.0-3ubuntu0.2+esm2 | vulnerable |
| Ubuntu | c-ares | pro | 1.10.0-3ubuntu0.2+esm3 | vulnerable |
| Ubuntu | c-ares | pro | 1.10.0-3ubuntu0.2+esm4 | fixed |
| Ubuntu | c-ares | 18.04 | 1.13.0-2 | vulnerable |
| Ubuntu | c-ares | 18.04 | 1.13.0-3 | vulnerable |
| Ubuntu | c-ares | 18.04 | 1.14.0-1 | vulnerable |
| Ubuntu | c-ares | 18.04 | 1.14.0-1ubuntu0.1 | vulnerable |
| Ubuntu | c-ares | 18.04 | 1.14.0-1ubuntu0.2 | fixed |
| Ubuntu | c-ares | 20.04 | 1.15.0-1build1 | vulnerable |
| Ubuntu | c-ares | 20.04 | 1.15.0-1ubuntu0.1 | vulnerable |
| Ubuntu | c-ares | 20.04 | 1.15.0-1ubuntu0.2 | fixed |
| Ubuntu | c-ares | 22.04 | 1.17.1-1ubuntu1 | vulnerable |
| Ubuntu | c-ares | 22.04 | 1.18.1-1 | vulnerable |
| Ubuntu | c-ares | 22.04 | 1.18.1-1build1 | vulnerable |
| Ubuntu | c-ares | 22.04 | 1.18.1-1ubuntu0.22.04.1 | fixed |
| Ubuntu | c-ares | noble | 1.27.0-1.0ubuntu1.1 | fixed |
| Ubuntu | libc-ares-dev | noble | 1.27.0-1.0ubuntu1.1 | fixed |
| Ubuntu | libcares2 | noble | 1.27.0-1.0ubuntu1.1 | fixed |
| Opensuse | c-ares | tumbleweed | 1.19.0-2.1 | fixed |
| Suse | libcares2 | linux enterprise software development kit 12 sp5 | 1.9.1-9.15.1 | fixed |
| Suse | libcares2 | linux enterprise server 12 sp5 | 1.9.1-9.15.1 | fixed |
| Suse | libcares2 | linux enterprise server for sap applications 12 sp5 | 1.9.1-9.15.1 | fixed |
| Suse | libcares2 | linux enterprise workstation extension 12 sp5 | 1.9.1-9.15.1 | fixed |
| Suse | c-ares | linux enterprise micro 5.3 | 1.19.0-150000.3.20.1 | fixed |
| Suse | c-ares | linux enterprise module for basesystem 15 sp4 | 1.19.0-150000.3.20.1 | fixed |
| Suse | c-ares | linux enterprise high performance computing 15 sp1-ltss | 1.19.0-150000.3.20.1 | fixed |
| Suse | c-ares | linux enterprise high performance computing 15 sp2-ltss | 1.19.0-150000.3.20.1 | fixed |
| Suse | c-ares | linux enterprise high performance computing 15 sp3-espos | 1.19.0-150000.3.20.1 | fixed |
| Suse | c-ares | linux enterprise high performance computing 15 sp3-ltss | 1.19.0-150000.3.20.1 | fixed |
| Suse | c-ares | linux enterprise real time 15 sp3 | 1.19.0-150000.3.20.1 | fixed |
| Suse | c-ares | linux enterprise server 15 sp1-ltss | 1.19.0-150000.3.20.1 | fixed |
| Suse | c-ares | linux enterprise server 15 sp2-ltss | 1.19.0-150000.3.20.1 | fixed |
| Suse | c-ares | linux enterprise server 15 sp3-ltss | 1.19.0-150000.3.20.1 | fixed |
| Suse | c-ares | linux enterprise server for sap applications 15 sp1 | 1.19.0-150000.3.20.1 | fixed |
| Suse | c-ares | linux enterprise server for sap applications 15 sp2 | 1.19.0-150000.3.20.1 | fixed |
| Suse | c-ares | linux enterprise server for sap applications 15 sp3 | 1.19.0-150000.3.20.1 | fixed |
| Suse | c-ares | manager proxy 4.2 | 1.19.0-150000.3.20.1 | fixed |
| Suse | c-ares | manager server 4.2 | 1.19.0-150000.3.20.1 | fixed |
| Suse | c-ares | linux enterprise micro 5.1 | 1.19.0-150000.3.20.1 | fixed |
| Suse | c-ares | linux enterprise micro 5.2 | 1.19.0-150000.3.20.1 | fixed |
| Suse | c-ares | enterprise storage 7 | 1.19.0-150000.3.20.1 | fixed |
| Suse | c-ares | enterprise storage 7.1 | 1.19.0-150000.3.20.1 | fixed |
| Opensuse | c-ares | leap micro 5.3 | 1.19.0-150000.3.20.1 | fixed |
| Opensuse | c-ares | leap 15.4 | 1.19.0-150000.3.20.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | c-ares | source | sid | 1.18.1-2 | not yet assigned | Not reported | [1031525] |
| Debian | c-ares | source | forky | 1.18.1-2 | not yet assigned | Not reported | [1031525] |
| Debian | c-ares | source | trixie | 1.18.1-2 | not yet assigned | Not reported | [1031525] |
| Debian | c-ares | source | bookworm | 1.18.1-2 | not yet assigned | Not reported | [1031525] |
| Ubuntu | c-ares | deb | noble | 1.18.1-2 | Not reported | Not reported | Not reported |
| Ubuntu | c-ares | deb | 18.04 | 1.14.0-1ubuntu0.2 | Not reported | USN-5907-1 | Not reported |
| Ubuntu | c-ares | deb | 20.04 | 1.15.0-1ubuntu0.2 | Not reported | USN-5907-1 | Not reported |
| Ubuntu | c-ares | deb | 22.04 | 1.18.1-1ubuntu0.22.04.1 | Not reported | USN-5907-1 | Not reported |
| Ubuntu | c-ares | deb | pro | 1.10.0-3ubuntu0.2+esm4 | Not reported | UBUNTU-CVE-2022-4904 | Not reported |
| Ubuntu | c-ares | deb | 18.04 | 1.14.0-1ubuntu0.2 | Not reported | UBUNTU-CVE-2022-4904 | Not reported |
| Ubuntu | c-ares | deb | 20.04 | 1.15.0-1ubuntu0.2 | Not reported | UBUNTU-CVE-2022-4904 | Not reported |
| Ubuntu | c-ares | deb | 22.04 | 1.18.1-1ubuntu0.22.04.1 | Not reported | UBUNTU-CVE-2022-4904 | Not reported |
| Ubuntu | c-ares | deb | noble | 1.27.0-1.0ubuntu1.1 | Not reported | Not reported | Not reported |
| Ubuntu | libc-ares-dev | deb | noble | 1.27.0-1.0ubuntu1.1 | Not reported | Not reported | Not reported |
| Ubuntu | libcares2 | deb | noble | 1.27.0-1.0ubuntu1.1 | Not reported | Not reported | Not reported |
| Opensuse | c-ares | rpm | tumbleweed | 1.19.0-2.1 | Not reported | OPENSUSE-SU-2024:12674-1 | Not reported |
| Suse | libcares2 | rpm | linux enterprise software development kit 12 sp5 | 1.9.1-9.15.1 | Not reported | SUSE-SU-2023:3420-1 | Not reported |
| Suse | libcares2 | rpm | linux enterprise server 12 sp5 | 1.9.1-9.15.1 | Not reported | SUSE-SU-2023:3420-1 | Not reported |
| Suse | libcares2 | rpm | linux enterprise server for sap applications 12 sp5 | 1.9.1-9.15.1 | Not reported | SUSE-SU-2023:3420-1 | Not reported |
| Suse | libcares2 | rpm | linux enterprise workstation extension 12 sp5 | 1.9.1-9.15.1 | Not reported | SUSE-SU-2023:3420-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise micro 5.3 | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise module for basesystem 15 sp4 | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise high performance computing 15 sp1-ltss | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise high performance computing 15 sp2-ltss | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise high performance computing 15 sp3-espos | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise high performance computing 15 sp3-ltss | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise real time 15 sp3 | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise server 15 sp1-ltss | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise server 15 sp2-ltss | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise server 15 sp3-ltss | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise server for sap applications 15 sp1 | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise server for sap applications 15 sp2 | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise server for sap applications 15 sp3 | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Suse | c-ares | rpm | manager proxy 4.2 | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Suse | c-ares | rpm | manager server 4.2 | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise micro 5.1 | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise micro 5.2 | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Suse | c-ares | rpm | enterprise storage 7 | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Suse | c-ares | rpm | enterprise storage 7.1 | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Opensuse | c-ares | rpm | leap micro 5.3 | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
| Opensuse | c-ares | rpm | leap 15.4 | 1.19.0-150000.3.20.1 | Not reported | SUSE-SU-2023:0486-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libc-ares2]Unknown
Source package: [c-ares]
Details (2)
1.18.1-3· amd64 · bookwormFixed · Fixed:
1.18.1-2usn · c-ares · debian · bookworm
1.18.1-3· arm64 · bookwormFixed · Fixed:
1.18.1-2usn · c-ares · debian · bookworm
- [libc-ares-dev]Unknown
Source package: [c-ares]
Details (2)
1.18.1-3· amd64 · bookwormFixed · Fixed:
1.18.1-2usn · c-ares · debian · bookworm
1.18.1-3· arm64 · bookwormFixed · Fixed:
1.18.1-2usn · c-ares · debian · bookworm
[openSUSE Tumbleweed]
- [c-ares-devel]Unknown
Source package: [c-ares]
Details (1)
1.34.8-1.1· x86_64 · tumbleweedUnknown · Fixed:
1.19.0-2.1Version impact unknown
usn · c-ares · opensuse · tumbleweed
- [c-ares-utils]Unknown
Source package: [c-ares]
Details (1)
1.34.8-1.1· x86_64 · tumbleweedUnknown · Fixed:
1.19.0-2.1Version impact unknown
usn · c-ares · opensuse · tumbleweed
- [libcares2]Unknown
Source package: [c-ares]
Details (1)
1.34.8-1.1· x86_64 · tumbleweedUnknown · Fixed:
1.19.0-2.1Version impact unknown
usn · c-ares · opensuse · tumbleweed
- [libcares2-32bit]Unknown
Source package: [c-ares]
Details (1)
1.34.8-1.1· x86_64 · tumbleweedUnknown · Fixed:
1.19.0-2.1Version impact unknown
usn · c-ares · opensuse · tumbleweed
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-806742.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2023_1582.json]
- [https://osv.dev/vulnerability/DLA-3323-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:0486-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:3420-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-4904]
- [https://osv.dev/vulnerability/USN-5907-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:12674-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-4904]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-4904.json]
- [https://ubuntu.com/security/notices/USN-8951-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2817.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]