CVE catalog

CVE-2022-4904

c-ares vulnerabilities

[CVE catalog]

Severity
High · CVSS 8.6CVSS: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.

DistributionPackageReleaseVersionStatus
Debianc-aressid1.34.9-1fixed
Debianc-aresforky1.34.8-1fixed
Debianc-arestrixie1.34.5-1+deb13u1fixed
Debianc-arestrixie-security1.34.5-1+deb13u1fixed
Debianc-aresbookworm1.18.1-3fixed
Ubuntuc-aresnoble1.18.1-2fixed
Ubuntuc-ares18.041.13.0-2vulnerable
Ubuntuc-ares18.041.13.0-3vulnerable
Ubuntuc-ares18.041.14.0-1vulnerable
Ubuntuc-ares18.041.14.0-1ubuntu0.1vulnerable
Ubuntuc-ares18.041.14.0-1ubuntu0.2fixed
Ubuntuc-ares20.041.15.0-1build1vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.1vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.2fixed
Ubuntuc-ares22.041.17.1-1ubuntu1vulnerable
Ubuntuc-ares22.041.18.1-1vulnerable
Ubuntuc-ares22.041.18.1-1build1vulnerable
Ubuntuc-ares22.041.18.1-1ubuntu0.22.04.1fixed
Ubuntuc-arespro1.10.0-2vulnerable
Ubuntuc-arespro1.10.0-3vulnerable
Ubuntuc-arespro1.10.0-3ubuntu0.1vulnerable
Ubuntuc-arespro1.10.0-3ubuntu0.2vulnerable
Ubuntuc-arespro1.10.0-3ubuntu0.2+esm1vulnerable
Ubuntuc-arespro1.10.0-3ubuntu0.2+esm2vulnerable
Ubuntuc-arespro1.10.0-3ubuntu0.2+esm3vulnerable
Ubuntuc-arespro1.10.0-3ubuntu0.2+esm4fixed
Ubuntuc-ares18.041.13.0-2vulnerable
Ubuntuc-ares18.041.13.0-3vulnerable
Ubuntuc-ares18.041.14.0-1vulnerable
Ubuntuc-ares18.041.14.0-1ubuntu0.1vulnerable
Ubuntuc-ares18.041.14.0-1ubuntu0.2fixed
Ubuntuc-ares20.041.15.0-1build1vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.1vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.2fixed
Ubuntuc-ares22.041.17.1-1ubuntu1vulnerable
Ubuntuc-ares22.041.18.1-1vulnerable
Ubuntuc-ares22.041.18.1-1build1vulnerable
Ubuntuc-ares22.041.18.1-1ubuntu0.22.04.1fixed
Ubuntuc-aresnoble1.27.0-1.0ubuntu1.1fixed
Ubuntulibc-ares-devnoble1.27.0-1.0ubuntu1.1fixed
Ubuntulibcares2noble1.27.0-1.0ubuntu1.1fixed
Opensusec-arestumbleweed1.19.0-2.1fixed
Suselibcares2linux enterprise software development kit 12 sp51.9.1-9.15.1fixed
Suselibcares2linux enterprise server 12 sp51.9.1-9.15.1fixed
Suselibcares2linux enterprise server for sap applications 12 sp51.9.1-9.15.1fixed
Suselibcares2linux enterprise workstation extension 12 sp51.9.1-9.15.1fixed
Susec-areslinux enterprise micro 5.31.19.0-150000.3.20.1fixed
Susec-areslinux enterprise module for basesystem 15 sp41.19.0-150000.3.20.1fixed
Susec-areslinux enterprise high performance computing 15 sp1-ltss1.19.0-150000.3.20.1fixed
Susec-areslinux enterprise high performance computing 15 sp2-ltss1.19.0-150000.3.20.1fixed
Susec-areslinux enterprise high performance computing 15 sp3-espos1.19.0-150000.3.20.1fixed
Susec-areslinux enterprise high performance computing 15 sp3-ltss1.19.0-150000.3.20.1fixed
Susec-areslinux enterprise real time 15 sp31.19.0-150000.3.20.1fixed
Susec-areslinux enterprise server 15 sp1-ltss1.19.0-150000.3.20.1fixed
Susec-areslinux enterprise server 15 sp2-ltss1.19.0-150000.3.20.1fixed
Susec-areslinux enterprise server 15 sp3-ltss1.19.0-150000.3.20.1fixed
Susec-areslinux enterprise server for sap applications 15 sp11.19.0-150000.3.20.1fixed
Susec-areslinux enterprise server for sap applications 15 sp21.19.0-150000.3.20.1fixed
Susec-areslinux enterprise server for sap applications 15 sp31.19.0-150000.3.20.1fixed
Susec-aresmanager proxy 4.21.19.0-150000.3.20.1fixed
Susec-aresmanager server 4.21.19.0-150000.3.20.1fixed
Susec-areslinux enterprise micro 5.11.19.0-150000.3.20.1fixed
Susec-areslinux enterprise micro 5.21.19.0-150000.3.20.1fixed
Susec-aresenterprise storage 71.19.0-150000.3.20.1fixed
Susec-aresenterprise storage 7.11.19.0-150000.3.20.1fixed
Opensusec-aresleap micro 5.31.19.0-150000.3.20.1fixed
Opensusec-aresleap 15.41.19.0-150000.3.20.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianc-aressourcesid1.18.1-2not yet assignedNot reported[1031525]
Debianc-aressourceforky1.18.1-2not yet assignedNot reported[1031525]
Debianc-aressourcetrixie1.18.1-2not yet assignedNot reported[1031525]
Debianc-aressourcebookworm1.18.1-2not yet assignedNot reported[1031525]
Ubuntuc-aresdebnoble1.18.1-2Not reportedNot reportedNot reported
Ubuntuc-aresdeb18.041.14.0-1ubuntu0.2Not reportedUSN-5907-1Not reported
Ubuntuc-aresdeb20.041.15.0-1ubuntu0.2Not reportedUSN-5907-1Not reported
Ubuntuc-aresdeb22.041.18.1-1ubuntu0.22.04.1Not reportedUSN-5907-1Not reported
Ubuntuc-aresdebpro1.10.0-3ubuntu0.2+esm4Not reportedUBUNTU-CVE-2022-4904Not reported
Ubuntuc-aresdeb18.041.14.0-1ubuntu0.2Not reportedUBUNTU-CVE-2022-4904Not reported
Ubuntuc-aresdeb20.041.15.0-1ubuntu0.2Not reportedUBUNTU-CVE-2022-4904Not reported
Ubuntuc-aresdeb22.041.18.1-1ubuntu0.22.04.1Not reportedUBUNTU-CVE-2022-4904Not reported
Ubuntuc-aresdebnoble1.27.0-1.0ubuntu1.1Not reportedNot reportedNot reported
Ubuntulibc-ares-devdebnoble1.27.0-1.0ubuntu1.1Not reportedNot reportedNot reported
Ubuntulibcares2debnoble1.27.0-1.0ubuntu1.1Not reportedNot reportedNot reported
Opensusec-aresrpmtumbleweed1.19.0-2.1Not reportedOPENSUSE-SU-2024:12674-1Not reported
Suselibcares2rpmlinux enterprise software development kit 12 sp51.9.1-9.15.1Not reportedSUSE-SU-2023:3420-1Not reported
Suselibcares2rpmlinux enterprise server 12 sp51.9.1-9.15.1Not reportedSUSE-SU-2023:3420-1Not reported
Suselibcares2rpmlinux enterprise server for sap applications 12 sp51.9.1-9.15.1Not reportedSUSE-SU-2023:3420-1Not reported
Suselibcares2rpmlinux enterprise workstation extension 12 sp51.9.1-9.15.1Not reportedSUSE-SU-2023:3420-1Not reported
Susec-aresrpmlinux enterprise micro 5.31.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Susec-aresrpmlinux enterprise module for basesystem 15 sp41.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Susec-aresrpmlinux enterprise high performance computing 15 sp1-ltss1.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Susec-aresrpmlinux enterprise high performance computing 15 sp2-ltss1.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Susec-aresrpmlinux enterprise high performance computing 15 sp3-espos1.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Susec-aresrpmlinux enterprise high performance computing 15 sp3-ltss1.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Susec-aresrpmlinux enterprise real time 15 sp31.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Susec-aresrpmlinux enterprise server 15 sp1-ltss1.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Susec-aresrpmlinux enterprise server 15 sp2-ltss1.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Susec-aresrpmlinux enterprise server 15 sp3-ltss1.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Susec-aresrpmlinux enterprise server for sap applications 15 sp11.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Susec-aresrpmlinux enterprise server for sap applications 15 sp21.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Susec-aresrpmlinux enterprise server for sap applications 15 sp31.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Susec-aresrpmmanager proxy 4.21.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Susec-aresrpmmanager server 4.21.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Susec-aresrpmlinux enterprise micro 5.11.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Susec-aresrpmlinux enterprise micro 5.21.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Susec-aresrpmenterprise storage 71.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Susec-aresrpmenterprise storage 7.11.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Opensusec-aresrpmleap micro 5.31.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported
Opensusec-aresrpmleap 15.41.19.0-150000.3.20.1Not reportedSUSE-SU-2023:0486-1Not reported

[Debian bug #1031525]

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 · bookworm

      Fixed · Fixed: 1.18.1-2

      usn · c-ares · debian · bookworm

    • 1.18.1-3 · arm64 · bookworm

      Fixed · Fixed: 1.18.1-2

      usn · c-ares · debian · bookworm

  • [libc-ares-dev]Unknown

    Source package: [c-ares]

    Details (2)
    • 1.18.1-3 · amd64 · bookworm

      Fixed · Fixed: 1.18.1-2

      usn · c-ares · debian · bookworm

    • 1.18.1-3 · arm64 · bookworm

      Fixed · Fixed: 1.18.1-2

      usn · c-ares · debian · bookworm

[openSUSE Tumbleweed]

  • [c-ares-devel]Unknown

    Source package: [c-ares]

    Details (1)
    • 1.34.8-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.19.0-2.1

      Version impact unknown

      usn · c-ares · opensuse · tumbleweed

  • [c-ares-utils]Unknown

    Source package: [c-ares]

    Details (1)
    • 1.34.8-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.19.0-2.1

      Version impact unknown

      usn · c-ares · opensuse · tumbleweed

  • [libcares2]Unknown

    Source package: [c-ares]

    Details (1)
    • 1.34.8-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.19.0-2.1

      Version impact unknown

      usn · c-ares · opensuse · tumbleweed

  • Source package: [c-ares]

    Details (1)
    • 1.34.8-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.19.0-2.1

      Version impact unknown

      usn · c-ares · opensuse · tumbleweed

Observed:

References