
CVE catalog
CVE-2024-25629
c-ares: CVE-2024-25629
- Severity
- Medium · CVSS 4.4
CVSS: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.
| 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 | vulnerable |
| Alpine | c-ares | 3.16 | 1.19.1-r1 | fixed |
| Alpine | c-ares | 3.17 | 1.19.1-r1 | fixed |
| Alpine | c-ares | 3.18 | 1.19.1-r1 | fixed |
| Alpine | c-ares | 3.19 | 1.27.0-r0 | fixed |
| Alpine | c-ares | 3.20 | 1.27.0-r0 | fixed |
| Alpine | c-ares | 3.21 | 1.27.0-r0 | fixed |
| Alpine | c-ares | 3.22 | 1.27.0-r0 | fixed |
| Alpine | c-ares | 3.23 | 1.27.0-r0 | fixed |
| Alpine | c-ares | 3.24 | 1.27.0-r0 | fixed |
| Suse | c-ares | linux enterprise micro 5.3 | 1.34.8-150000.3.29.1 | fixed |
| Suse | c-ares | linux enterprise micro 5.4 | 1.34.8-150000.3.29.1 | fixed |
| Suse | c-ares | linux enterprise micro 5.5 | 1.34.8-150000.3.29.1 | fixed |
| Suse | c-ares | linux enterprise module for basesystem 15 sp7 | 1.34.8-150000.3.29.1 | fixed |
| Suse | c-ares | linux enterprise high performance computing 15 sp4-espos | 1.34.8-150000.3.29.1 | fixed |
| Suse | c-ares | linux enterprise high performance computing 15 sp4-ltss | 1.34.8-150000.3.29.1 | fixed |
| Suse | c-ares | linux enterprise high performance computing 15 sp5-espos | 1.34.8-150000.3.29.1 | fixed |
| Suse | c-ares | linux enterprise high performance computing 15 sp5-ltss | 1.34.8-150000.3.29.1 | fixed |
| Suse | c-ares | linux enterprise server 15 sp4-ltss | 1.34.8-150000.3.29.1 | fixed |
| Suse | c-ares | linux enterprise server 15 sp5-ltss | 1.34.8-150000.3.29.1 | fixed |
| Suse | c-ares | linux enterprise server 15 sp6-ltss | 1.34.8-150000.3.29.1 | fixed |
| Suse | c-ares | linux enterprise server for sap applications 15 sp4 | 1.34.8-150000.3.29.1 | fixed |
| Suse | c-ares | linux enterprise server for sap applications 15 sp5 | 1.34.8-150000.3.29.1 | fixed |
| Suse | c-ares | linux enterprise server for sap applications 15 sp6 | 1.34.8-150000.3.29.1 | fixed |
| Ubuntu | c-ares | pro | 1.13.0-2 | vulnerable |
| Ubuntu | c-ares | pro | 1.13.0-3 | vulnerable |
| Ubuntu | c-ares | pro | 1.14.0-1 | vulnerable |
| Ubuntu | c-ares | pro | 1.14.0-1ubuntu0.1 | vulnerable |
| Ubuntu | c-ares | pro | 1.14.0-1ubuntu0.2 | vulnerable |
| Ubuntu | c-ares | pro | 1.14.0-1ubuntu0.2+esm1 | vulnerable |
| Ubuntu | c-ares | pro | 1.14.0-1ubuntu0.2+esm2 | 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 | vulnerable |
| Ubuntu | c-ares | 20.04 | 1.15.0-1ubuntu0.3 | vulnerable |
| Ubuntu | c-ares | 20.04 | 1.15.0-1ubuntu0.4 | vulnerable |
| Ubuntu | c-ares | 20.04 | 1.15.0-1ubuntu0.5 | 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 | vulnerable |
| Ubuntu | c-ares | 22.04 | 1.18.1-1ubuntu0.22.04.2 | vulnerable |
| Ubuntu | c-ares | 22.04 | 1.18.1-1ubuntu0.22.04.3 | fixed |
| Ubuntu | c-ares | pro | 1.13.0-2 | vulnerable |
| Ubuntu | c-ares | pro | 1.13.0-3 | vulnerable |
| Ubuntu | c-ares | pro | 1.14.0-1 | vulnerable |
| Ubuntu | c-ares | pro | 1.14.0-1ubuntu0.1 | vulnerable |
| Ubuntu | c-ares | pro | 1.14.0-1ubuntu0.2 | vulnerable |
| Ubuntu | c-ares | pro | 1.14.0-1ubuntu0.2+esm1 | vulnerable |
| Ubuntu | c-ares | pro | 1.14.0-1ubuntu0.2+esm2 | 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 | vulnerable |
| Ubuntu | c-ares | 20.04 | 1.15.0-1ubuntu0.3 | vulnerable |
| Ubuntu | c-ares | 20.04 | 1.15.0-1ubuntu0.4 | vulnerable |
| Ubuntu | c-ares | 20.04 | 1.15.0-1ubuntu0.5 | 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 | vulnerable |
| Ubuntu | c-ares | 22.04 | 1.18.1-1ubuntu0.22.04.2 | vulnerable |
| Ubuntu | c-ares | 22.04 | 1.18.1-1ubuntu0.22.04.3 | fixed |
| Opensuse | c-ares | tumbleweed | 1.27.0-1.1 | fixed |
| Suse | c-ares | linux enterprise micro 5.3 | 1.19.1-150000.3.26.1 | fixed |
| Suse | c-ares | linux enterprise micro 5.4 | 1.19.1-150000.3.26.1 | fixed |
| Suse | c-ares | linux enterprise micro 5.5 | 1.19.1-150000.3.26.1 | fixed |
| Suse | c-ares | linux enterprise module for basesystem 15 sp5 | 1.19.1-150000.3.26.1 | fixed |
| Suse | c-ares | linux enterprise micro 5.1 | 1.19.1-150000.3.26.1 | fixed |
| Suse | c-ares | linux enterprise micro 5.2 | 1.19.1-150000.3.26.1 | fixed |
| Opensuse | c-ares | leap micro 5.3 | 1.19.1-150000.3.26.1 | fixed |
| Opensuse | c-ares | leap micro 5.4 | 1.19.1-150000.3.26.1 | fixed |
| Opensuse | c-ares | leap 15.5 | 1.19.1-150000.3.26.1 | fixed |
| Suse | c-ares | linux enterprise micro 5.5 | 1.19.1-150000.3.26.1 | fixed |
| Suse | libcares2 | linux enterprise software development kit 12 sp5 | 1.9.1-9.21.1 | fixed |
| Suse | libcares2 | linux enterprise server 12 sp5 | 1.9.1-9.21.1 | fixed |
| Suse | libcares2 | linux enterprise server for sap applications 12 sp5 | 1.9.1-9.21.1 | fixed |
| Suse | libcares2 | linux enterprise workstation extension 12 sp5 | 1.9.1-9.21.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | c-ares | source | sid | 1.27.0-1 | not yet assigned | Not reported | Not reported |
| Debian | c-ares | source | forky | 1.27.0-1 | not yet assigned | Not reported | Not reported |
| Debian | c-ares | source | trixie | 1.27.0-1 | not yet assigned | Not reported | Not reported |
| Debian | c-ares | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Alpine | c-ares | apk | 3.16 | 1.19.1-r1 | Not reported | ALPINE-CVE-2024-25629 | Not reported |
| Alpine | c-ares | apk | 3.17 | 1.19.1-r1 | Not reported | ALPINE-CVE-2024-25629 | Not reported |
| Alpine | c-ares | apk | 3.18 | 1.19.1-r1 | Not reported | ALPINE-CVE-2024-25629 | Not reported |
| Alpine | c-ares | apk | 3.19 | 1.27.0-r0 | Not reported | ALPINE-CVE-2024-25629 | Not reported |
| Alpine | c-ares | apk | 3.20 | 1.27.0-r0 | Not reported | ALPINE-CVE-2024-25629 | Not reported |
| Alpine | c-ares | apk | 3.21 | 1.27.0-r0 | Not reported | ALPINE-CVE-2024-25629 | Not reported |
| Alpine | c-ares | apk | 3.22 | 1.27.0-r0 | Not reported | ALPINE-CVE-2024-25629 | Not reported |
| Alpine | c-ares | apk | 3.23 | 1.27.0-r0 | Not reported | ALPINE-CVE-2024-25629 | Not reported |
| Alpine | c-ares | apk | 3.24 | 1.27.0-r0 | Not reported | ALPINE-CVE-2024-25629 | Not reported |
| Suse | c-ares | rpm | linux enterprise micro 5.3 | 1.34.8-150000.3.29.1 | Not reported | SUSE-SU-2026:4021-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise micro 5.4 | 1.34.8-150000.3.29.1 | Not reported | SUSE-SU-2026:4021-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise micro 5.5 | 1.34.8-150000.3.29.1 | Not reported | SUSE-SU-2026:4021-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise module for basesystem 15 sp7 | 1.34.8-150000.3.29.1 | Not reported | SUSE-SU-2026:4021-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise high performance computing 15 sp4-espos | 1.34.8-150000.3.29.1 | Not reported | SUSE-SU-2026:4021-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise high performance computing 15 sp4-ltss | 1.34.8-150000.3.29.1 | Not reported | SUSE-SU-2026:4021-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise high performance computing 15 sp5-espos | 1.34.8-150000.3.29.1 | Not reported | SUSE-SU-2026:4021-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise high performance computing 15 sp5-ltss | 1.34.8-150000.3.29.1 | Not reported | SUSE-SU-2026:4021-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise server 15 sp4-ltss | 1.34.8-150000.3.29.1 | Not reported | SUSE-SU-2026:4021-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise server 15 sp5-ltss | 1.34.8-150000.3.29.1 | Not reported | SUSE-SU-2026:4021-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise server 15 sp6-ltss | 1.34.8-150000.3.29.1 | Not reported | SUSE-SU-2026:4021-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise server for sap applications 15 sp4 | 1.34.8-150000.3.29.1 | Not reported | SUSE-SU-2026:4021-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise server for sap applications 15 sp5 | 1.34.8-150000.3.29.1 | Not reported | SUSE-SU-2026:4021-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise server for sap applications 15 sp6 | 1.34.8-150000.3.29.1 | Not reported | SUSE-SU-2026:4021-1 | Not reported |
| Ubuntu | c-ares | deb | pro | 1.14.0-1ubuntu0.2+esm2 | Not reported | USN-6676-1 | Not reported |
| Ubuntu | c-ares | deb | 20.04 | 1.15.0-1ubuntu0.5 | Not reported | USN-6676-1 | Not reported |
| Ubuntu | c-ares | deb | 22.04 | 1.18.1-1ubuntu0.22.04.3 | Not reported | USN-6676-1 | Not reported |
| Ubuntu | c-ares | deb | pro | 1.14.0-1ubuntu0.2+esm2 | Not reported | UBUNTU-CVE-2024-25629 | Not reported |
| Ubuntu | c-ares | deb | 20.04 | 1.15.0-1ubuntu0.5 | Not reported | UBUNTU-CVE-2024-25629 | Not reported |
| Ubuntu | c-ares | deb | 22.04 | 1.18.1-1ubuntu0.22.04.3 | Not reported | UBUNTU-CVE-2024-25629 | Not reported |
| Opensuse | c-ares | rpm | tumbleweed | 1.27.0-1.1 | Not reported | OPENSUSE-SU-2024:13722-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise micro 5.3 | 1.19.1-150000.3.26.1 | Not reported | SUSE-SU-2024:1136-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise micro 5.4 | 1.19.1-150000.3.26.1 | Not reported | SUSE-SU-2024:1136-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise micro 5.5 | 1.19.1-150000.3.26.1 | Not reported | SUSE-SU-2024:1136-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise module for basesystem 15 sp5 | 1.19.1-150000.3.26.1 | Not reported | SUSE-SU-2024:1136-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise micro 5.1 | 1.19.1-150000.3.26.1 | Not reported | SUSE-SU-2024:1136-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise micro 5.2 | 1.19.1-150000.3.26.1 | Not reported | SUSE-SU-2024:1136-1 | Not reported |
| Opensuse | c-ares | rpm | leap micro 5.3 | 1.19.1-150000.3.26.1 | Not reported | SUSE-SU-2024:1136-1 | Not reported |
| Opensuse | c-ares | rpm | leap micro 5.4 | 1.19.1-150000.3.26.1 | Not reported | SUSE-SU-2024:1136-1 | Not reported |
| Opensuse | c-ares | rpm | leap 15.5 | 1.19.1-150000.3.26.1 | Not reported | SUSE-SU-2024:1136-1 | Not reported |
| Suse | c-ares | rpm | linux enterprise micro 5.5 | 1.19.1-150000.3.26.1 | Not reported | SUSE-SU-2024:1136-2 | Not reported |
| Suse | libcares2 | rpm | linux enterprise software development kit 12 sp5 | 1.9.1-9.21.1 | Not reported | SUSE-SU-2024:1135-1 | Not reported |
| Suse | libcares2 | rpm | linux enterprise server 12 sp5 | 1.9.1-9.21.1 | Not reported | SUSE-SU-2024:1135-1 | Not reported |
| Suse | libcares2 | rpm | linux enterprise server for sap applications 12 sp5 | 1.9.1-9.21.1 | Not reported | SUSE-SU-2024:1135-1 | Not reported |
| Suse | libcares2 | rpm | linux enterprise workstation extension 12 sp5 | 1.9.1-9.21.1 | Not reported | SUSE-SU-2024:1135-1 | Not reported |
Notes
[bookworm] c-ares: Minor issue
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://access.redhat.com/errata/RHSA-2024:4249]
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_4021-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2024-25629]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-25629]
- [https://osv.dev/vulnerability/SUSE-SU-2024:1135-1]
- [https://osv.dev/vulnerability/SUSE-SU-2024:1136-1]
- [https://osv.dev/vulnerability/SUSE-SU-2024:1136-2]
- [https://osv.dev/vulnerability/SUSE-SU-2026:4021-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-25629]
- [https://osv.dev/vulnerability/USN-6676-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:13722-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-25629]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0992.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]