DEBIAN-CVE-2024-25629
Record from OSV · Published February 23, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| c-ares | Debian:13 | 1.27.0-1 |
| c-ares | Debian:14 | 1.27.0-1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Debian:13 | c-ares | 0 |
| Debian:12 | c-ares | 0, 1.18.1-3, 1.19.0-1 |
| Debian:14 | c-ares | 0 |
Timeline
- Feb 23, 2024 CVE Published
- Sep 15, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln DEBIAN-CVE-2024-25629
vulnetix vdb fixes DEBIAN-CVE-2024-25629
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/DEBIAN-CVE-2024-25629/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart