CVE catalog

CVE-2024-25629

c-ares: CVE-2024-25629

[CVE catalog]

Severity
Medium · CVSS 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.35% · Oct 25, 2026

A vulnerability was found in c-ares where the ares__read_line() is used to parse local configuration files such as /etc/resolv.conf, /etc/nsswitch.conf, the HOSTALIASES file, and if using a c-ares version prior to 1.22.0, the /etc/hosts file. If the configuration files have an embedded NULL character as the first character in a new line, it can attempt to read memory before the start of the given buffer, which may result in a crash. c-ares: Out of bounds read in ares__read_line() Red Hat considers this a Low impact since this issue requires a specific configuration file to be configured incorrectly, meaning an attacker would need access to this configuration file to impact the server. This would normally correspond to an already compromised environment. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

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-3vulnerable
Alpinec-ares3.161.19.1-r1fixed
Alpinec-ares3.171.19.1-r1fixed
Alpinec-ares3.181.19.1-r1fixed
Alpinec-ares3.191.27.0-r0fixed
Alpinec-ares3.201.27.0-r0fixed
Alpinec-ares3.211.27.0-r0fixed
Alpinec-ares3.221.27.0-r0fixed
Alpinec-ares3.231.27.0-r0fixed
Alpinec-ares3.241.27.0-r0fixed
Susec-areslinux enterprise micro 5.31.34.8-150000.3.29.1fixed
Susec-areslinux enterprise micro 5.41.34.8-150000.3.29.1fixed
Susec-areslinux enterprise micro 5.51.34.8-150000.3.29.1fixed
Susec-areslinux enterprise module for basesystem 15 sp71.34.8-150000.3.29.1fixed
Susec-areslinux enterprise high performance computing 15 sp4-espos1.34.8-150000.3.29.1fixed
Susec-areslinux enterprise high performance computing 15 sp4-ltss1.34.8-150000.3.29.1fixed
Susec-areslinux enterprise high performance computing 15 sp5-espos1.34.8-150000.3.29.1fixed
Susec-areslinux enterprise high performance computing 15 sp5-ltss1.34.8-150000.3.29.1fixed
Susec-areslinux enterprise server 15 sp4-ltss1.34.8-150000.3.29.1fixed
Susec-areslinux enterprise server 15 sp5-ltss1.34.8-150000.3.29.1fixed
Susec-areslinux enterprise server 15 sp6-ltss1.34.8-150000.3.29.1fixed
Susec-areslinux enterprise server for sap applications 15 sp41.34.8-150000.3.29.1fixed
Susec-areslinux enterprise server for sap applications 15 sp51.34.8-150000.3.29.1fixed
Susec-areslinux enterprise server for sap applications 15 sp61.34.8-150000.3.29.1fixed
Ubuntuc-arespro1.13.0-2vulnerable
Ubuntuc-arespro1.13.0-3vulnerable
Ubuntuc-arespro1.14.0-1vulnerable
Ubuntuc-arespro1.14.0-1ubuntu0.1vulnerable
Ubuntuc-arespro1.14.0-1ubuntu0.2vulnerable
Ubuntuc-arespro1.14.0-1ubuntu0.2+esm1vulnerable
Ubuntuc-arespro1.14.0-1ubuntu0.2+esm2fixed
Ubuntuc-ares20.041.15.0-1build1vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.1vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.2vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.3vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.4vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.5fixed
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.1vulnerable
Ubuntuc-ares22.041.18.1-1ubuntu0.22.04.2vulnerable
Ubuntuc-ares22.041.18.1-1ubuntu0.22.04.3fixed
Ubuntuc-arespro1.13.0-2vulnerable
Ubuntuc-arespro1.13.0-3vulnerable
Ubuntuc-arespro1.14.0-1vulnerable
Ubuntuc-arespro1.14.0-1ubuntu0.1vulnerable
Ubuntuc-arespro1.14.0-1ubuntu0.2vulnerable
Ubuntuc-arespro1.14.0-1ubuntu0.2+esm1vulnerable
Ubuntuc-arespro1.14.0-1ubuntu0.2+esm2fixed
Ubuntuc-ares20.041.15.0-1build1vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.1vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.2vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.3vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.4vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.5fixed
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.1vulnerable
Ubuntuc-ares22.041.18.1-1ubuntu0.22.04.2vulnerable
Ubuntuc-ares22.041.18.1-1ubuntu0.22.04.3fixed
Opensusec-arestumbleweed1.27.0-1.1fixed
Susec-areslinux enterprise micro 5.31.19.1-150000.3.26.1fixed
Susec-areslinux enterprise micro 5.41.19.1-150000.3.26.1fixed
Susec-areslinux enterprise micro 5.51.19.1-150000.3.26.1fixed
Susec-areslinux enterprise module for basesystem 15 sp51.19.1-150000.3.26.1fixed
Susec-areslinux enterprise micro 5.11.19.1-150000.3.26.1fixed
Susec-areslinux enterprise micro 5.21.19.1-150000.3.26.1fixed
Opensusec-aresleap micro 5.31.19.1-150000.3.26.1fixed
Opensusec-aresleap micro 5.41.19.1-150000.3.26.1fixed
Opensusec-aresleap 15.51.19.1-150000.3.26.1fixed
Susec-areslinux enterprise micro 5.51.19.1-150000.3.26.1fixed
Suselibcares2linux enterprise software development kit 12 sp51.9.1-9.21.1fixed
Suselibcares2linux enterprise server 12 sp51.9.1-9.21.1fixed
Suselibcares2linux enterprise server for sap applications 12 sp51.9.1-9.21.1fixed
Suselibcares2linux enterprise workstation extension 12 sp51.9.1-9.21.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianc-aressourcesid1.27.0-1not yet assignedNot reportedNot reported
Debianc-aressourceforky1.27.0-1not yet assignedNot reportedNot reported
Debianc-aressourcetrixie1.27.0-1not yet assignedNot reportedNot reported
Debianc-aressourcebookworm(unfixed)not yet assignedNot reportedNot reported
Alpinec-aresapk3.161.19.1-r1Not reportedALPINE-CVE-2024-25629Not reported
Alpinec-aresapk3.171.19.1-r1Not reportedALPINE-CVE-2024-25629Not reported
Alpinec-aresapk3.181.19.1-r1Not reportedALPINE-CVE-2024-25629Not reported
Alpinec-aresapk3.191.27.0-r0Not reportedALPINE-CVE-2024-25629Not reported
Alpinec-aresapk3.201.27.0-r0Not reportedALPINE-CVE-2024-25629Not reported
Alpinec-aresapk3.211.27.0-r0Not reportedALPINE-CVE-2024-25629Not reported
Alpinec-aresapk3.221.27.0-r0Not reportedALPINE-CVE-2024-25629Not reported
Alpinec-aresapk3.231.27.0-r0Not reportedALPINE-CVE-2024-25629Not reported
Alpinec-aresapk3.241.27.0-r0Not reportedALPINE-CVE-2024-25629Not reported
Susec-aresrpmlinux enterprise micro 5.31.34.8-150000.3.29.1Not reportedSUSE-SU-2026:4021-1Not reported
Susec-aresrpmlinux enterprise micro 5.41.34.8-150000.3.29.1Not reportedSUSE-SU-2026:4021-1Not reported
Susec-aresrpmlinux enterprise micro 5.51.34.8-150000.3.29.1Not reportedSUSE-SU-2026:4021-1Not reported
Susec-aresrpmlinux enterprise module for basesystem 15 sp71.34.8-150000.3.29.1Not reportedSUSE-SU-2026:4021-1Not reported
Susec-aresrpmlinux enterprise high performance computing 15 sp4-espos1.34.8-150000.3.29.1Not reportedSUSE-SU-2026:4021-1Not reported
Susec-aresrpmlinux enterprise high performance computing 15 sp4-ltss1.34.8-150000.3.29.1Not reportedSUSE-SU-2026:4021-1Not reported
Susec-aresrpmlinux enterprise high performance computing 15 sp5-espos1.34.8-150000.3.29.1Not reportedSUSE-SU-2026:4021-1Not reported
Susec-aresrpmlinux enterprise high performance computing 15 sp5-ltss1.34.8-150000.3.29.1Not reportedSUSE-SU-2026:4021-1Not reported
Susec-aresrpmlinux enterprise server 15 sp4-ltss1.34.8-150000.3.29.1Not reportedSUSE-SU-2026:4021-1Not reported
Susec-aresrpmlinux enterprise server 15 sp5-ltss1.34.8-150000.3.29.1Not reportedSUSE-SU-2026:4021-1Not reported
Susec-aresrpmlinux enterprise server 15 sp6-ltss1.34.8-150000.3.29.1Not reportedSUSE-SU-2026:4021-1Not reported
Susec-aresrpmlinux enterprise server for sap applications 15 sp41.34.8-150000.3.29.1Not reportedSUSE-SU-2026:4021-1Not reported
Susec-aresrpmlinux enterprise server for sap applications 15 sp51.34.8-150000.3.29.1Not reportedSUSE-SU-2026:4021-1Not reported
Susec-aresrpmlinux enterprise server for sap applications 15 sp61.34.8-150000.3.29.1Not reportedSUSE-SU-2026:4021-1Not reported
Ubuntuc-aresdebpro1.14.0-1ubuntu0.2+esm2Not reportedUSN-6676-1Not reported
Ubuntuc-aresdeb20.041.15.0-1ubuntu0.5Not reportedUSN-6676-1Not reported
Ubuntuc-aresdeb22.041.18.1-1ubuntu0.22.04.3Not reportedUSN-6676-1Not reported
Ubuntuc-aresdebpro1.14.0-1ubuntu0.2+esm2Not reportedUBUNTU-CVE-2024-25629Not reported
Ubuntuc-aresdeb20.041.15.0-1ubuntu0.5Not reportedUBUNTU-CVE-2024-25629Not reported
Ubuntuc-aresdeb22.041.18.1-1ubuntu0.22.04.3Not reportedUBUNTU-CVE-2024-25629Not reported
Opensusec-aresrpmtumbleweed1.27.0-1.1Not reportedOPENSUSE-SU-2024:13722-1Not reported
Susec-aresrpmlinux enterprise micro 5.31.19.1-150000.3.26.1Not reportedSUSE-SU-2024:1136-1Not reported
Susec-aresrpmlinux enterprise micro 5.41.19.1-150000.3.26.1Not reportedSUSE-SU-2024:1136-1Not reported
Susec-aresrpmlinux enterprise micro 5.51.19.1-150000.3.26.1Not reportedSUSE-SU-2024:1136-1Not reported
Susec-aresrpmlinux enterprise module for basesystem 15 sp51.19.1-150000.3.26.1Not reportedSUSE-SU-2024:1136-1Not reported
Susec-aresrpmlinux enterprise micro 5.11.19.1-150000.3.26.1Not reportedSUSE-SU-2024:1136-1Not reported
Susec-aresrpmlinux enterprise micro 5.21.19.1-150000.3.26.1Not reportedSUSE-SU-2024:1136-1Not reported
Opensusec-aresrpmleap micro 5.31.19.1-150000.3.26.1Not reportedSUSE-SU-2024:1136-1Not reported
Opensusec-aresrpmleap micro 5.41.19.1-150000.3.26.1Not reportedSUSE-SU-2024:1136-1Not reported
Opensusec-aresrpmleap 15.51.19.1-150000.3.26.1Not reportedSUSE-SU-2024:1136-1Not reported
Susec-aresrpmlinux enterprise micro 5.51.19.1-150000.3.26.1Not reportedSUSE-SU-2024:1136-2Not reported
Suselibcares2rpmlinux enterprise software development kit 12 sp51.9.1-9.21.1Not reportedSUSE-SU-2024:1135-1Not reported
Suselibcares2rpmlinux enterprise server 12 sp51.9.1-9.21.1Not reportedSUSE-SU-2024:1135-1Not reported
Suselibcares2rpmlinux enterprise server for sap applications 12 sp51.9.1-9.21.1Not reportedSUSE-SU-2024:1135-1Not reported
Suselibcares2rpmlinux enterprise workstation extension 12 sp51.9.1-9.21.1Not reportedSUSE-SU-2024:1135-1Not reported

Notes

[bookworm] c-ares: Minor issue

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References