Skip to main content
CVE-2024-25629VulnerabilityPublished Updated

C ares: ares__read_line() is used to parse local configuration files such as /etc/resolv.conf, /etc/nsswitch.conf, the

Affects c-aresSource GCVE Database

0
Compare

Not known to be exploited · CVSS 5.5 Medium · fixed in 1.10.0-3ubuntu0.2+esm3 : update c-ares when convenient.

Data as of 24 Nov 2026, 19:25 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.10.0-3ubuntu0.2+esm3, 1.14.0-1ubuntu0.2+esm2, 1.15.0-1ubuntu0.5 +1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Feb 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 22.04 LTSc-arespkg:deb/ubuntu/c-ares?arch=source&distro=jammyOther threatsAffected
  • <1.18.1-1ubuntu0.22.04.3
Fixed in
  • 1.18.1-1ubuntu0.22.04.3
Ubuntu 20.04 LTSc-arespkg:deb/ubuntu/c-ares?arch=source&distro=focalOther threatsAffected
  • <1.15.0-1ubuntu0.5
Fixed in
  • 1.15.0-1ubuntu0.5
Ubuntu Pro 18.04 LTSc-arespkg:deb/ubuntu/c-ares?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <1.14.0-1ubuntu0.2+esm2
Fixed in
  • 1.14.0-1ubuntu0.2+esm2
Ubuntu Pro 16.04 LTSc-arespkg:deb/ubuntu/c-ares?arch=source&distro=esm-infra/xenialOther threatsAffected
  • <1.10.0-3ubuntu0.2+esm3
Fixed in
  • 1.10.0-3ubuntu0.2+esm3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…