{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-25629","published":"2024-02-23T15:15:09.237000Z","last_modified":"2026-06-17T07:16:19.490000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-127","CWE-125"],"cpes":[{"criteria":"cpe:2.3:a:c-ares:c-ares:*:*:*:*:*:*:*:*","part":"a","vendor":"c-ares","product":"c-ares","version_end_excluding":"1.27.0"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"38"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"39"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"40"}],"cpes_truncated":false,"vendors":["c-ares","fedoraproject"],"products":["c-ares/c-ares","fedoraproject/fedora"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.0032,"percentile":0.1744,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2024-25629/","html_en":"/en/cve/CVE-2024-25629/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-25629","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-25629"},"untrusted":{"vendor_name":"C-ares","product_name":"C-ares","desc_en":"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 which may result in a crash. This issue is fixed in c-ares 1.27.0. No known workarounds exist.","affected":[{"untrusted_vendor":"c-ares","untrusted_product":"c-ares","versions":[]}],"references":[{"url":"https://github.com/c-ares/c-ares/commit/a804c04ddc8245fc8adf0e92368709639125e183","tags":["Patch"]},{"url":"https://github.com/c-ares/c-ares/security/advisories/GHSA-mg26-v6qh-x48q","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2P76QYINQNPEHUTEEDOUYIRZ2X6UVZ5K/","tags":["Mailing List"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CSCMTSPDIE2UHU34TIXQQHZ6JTE3Y3VF/","tags":["Mailing List"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GX37LFPFQ3T6FFMMFYQTEGIQXXN7F27U/","tags":["Mailing List"]}]},"bulletins":[{"source":"suse","id":"SUSE-SU-2026:4021-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20264021-1/","published":"2026-09-07T07:42:20+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for c-ares"}}]}