CVE-2024-25629: c-ares is a C library for asynchronous DNS requests
CVE-2024-25629 is a medium-severity flaw (CVSS 4.4) affecting c-ares, fedora. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
c-ares is a C library for asynchronous DNS requests. `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.27.0, the `/etc/hosts` file. If any of these configuration files has an embedded `NULL` character as the first character in a new line, it can lead to attempting to read memory prior to the start of the given buffer whi
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-25629?
c-ares: upgrade to 1.27.0; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-25629 being exploited?
CVE-2024-25629 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-25629 affect?
CVE-2024-25629 affects c-ares, fedora. Severity is medium (CVSS 4.4). c-ares is a C library for asynchronous DNS requests. `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.27.0, the
How urgent is CVE-2024-25629?
Priority 23/100. No elevated risk signals yet.
Related CVEs
- CVE-2025-62408 MEDIUM 5.9 UPGRADE c-ares is an asynchronous resolver library
- CVE-2023-32067 HIGH 7.5 UPGRADE MITIGATE c-ares is an asynchronous resolver library
- CVE-2023-31147 MEDIUM 5.9 UPGRADE MITIGATE c-ares is an asynchronous resolver library
- CVE-2023-31130 MEDIUM 4.1 UPGRADE MITIGATE c-ares is an asynchronous resolver library
- CVE-2023-31124 LOW 3.7 UPGRADE MITIGATE c-ares is an asynchronous resolver library