CVE catalog

CVE-2023-31130

c-ares: CVE-2023-31130

[CVE catalog]

Severity
Medium · CVSS 6.4CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.38% · Oct 25, 2026

c-ares is an asynchronous resolver library. ares_inet_net_pton() is vulnerable to a buffer underflow for certain ipv6 addresses, in particular "0::00:00:00/2" was found to cause an issue. C-ares only uses this function internally for configuration purposes which would require an administrator to configure such an address via ares_set_sortlist(). However, users may externally use ares_inet_net_pton() for other purposes and thus be vulnerable to more severe issues. This issue has been fixed in 1.19.1.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianc-aressid1.34.9-1fixed
Debianc-aresforky1.34.8-1fixed
Debianc-arestrixie1.34.5-1+deb13u1fixed
Debianc-arestrixie-security1.34.5-1+deb13u1fixed
Debianc-aresbookworm1.18.1-3fixed
Ubuntuc-arespro1.13.0-2vulnerable
Ubuntuc-arespro1.13.0-3vulnerable
Ubuntuc-arespro1.14.0-1vulnerable
Ubuntuc-arespro1.14.0-1ubuntu0.1vulnerable
Ubuntuc-arespro1.14.0-1ubuntu0.2vulnerable
Ubuntuc-arespro1.14.0-1ubuntu0.2+esm1fixed
Ubuntuc-arespro1.13.0-2vulnerable
Ubuntuc-arespro1.13.0-3vulnerable
Ubuntuc-arespro1.14.0-1vulnerable
Ubuntuc-arespro1.14.0-1ubuntu0.1vulnerable
Ubuntuc-arespro1.14.0-1ubuntu0.2vulnerable
Ubuntuc-arespro1.14.0-1ubuntu0.2+esm1fixed
Ubuntuc-ares20.041.15.0-1build1vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.1vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.2vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.3fixed
Ubuntuc-ares22.041.17.1-1ubuntu1vulnerable
Ubuntuc-ares22.041.18.1-1vulnerable
Ubuntuc-ares22.041.18.1-1build1vulnerable
Ubuntuc-ares22.041.18.1-1ubuntu0.22.04.1vulnerable
Ubuntuc-ares22.041.18.1-1ubuntu0.22.04.2fixed
Ubuntuc-ares20.041.15.0-1build1vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.1vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.2vulnerable
Ubuntuc-ares20.041.15.0-1ubuntu0.3fixed
Ubuntuc-ares22.041.17.1-1ubuntu1vulnerable
Ubuntuc-ares22.041.18.1-1vulnerable
Ubuntuc-ares22.041.18.1-1build1vulnerable
Ubuntuc-ares22.041.18.1-1ubuntu0.22.04.1vulnerable
Ubuntuc-ares22.041.18.1-1ubuntu0.22.04.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianc-aressourcesid1.18.1-3not yet assignedNot reportedNot reported
Debianc-aressourceforky1.18.1-3not yet assignedNot reportedNot reported
Debianc-aressourcetrixie1.18.1-3not yet assignedNot reportedNot reported
Debianc-aressourcebookworm1.18.1-3not yet assignedNot reportedNot reported
Ubuntuc-aresdebpro1.14.0-1ubuntu0.2+esm1Not reportedUSN-6164-2Not reported
Ubuntuc-aresdebpro1.14.0-1ubuntu0.2+esm1Not reportedUBUNTU-CVE-2023-31130Not reported
Ubuntuc-aresdeb20.041.15.0-1ubuntu0.3Not reportedUBUNTU-CVE-2023-31130Not reported
Ubuntuc-aresdeb22.041.18.1-1ubuntu0.22.04.2Not reportedUBUNTU-CVE-2023-31130Not reported
Ubuntuc-aresdeb20.041.15.0-1ubuntu0.3Not reportedUSN-6164-1Not reported
Ubuntuc-aresdeb22.041.18.1-1ubuntu0.22.04.2Not reportedUSN-6164-1Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References