Live threats

All CVEs / C-ares Project

CVE-2023-31130C-ares Project C-ares

Medium 6.4

Priority
38
CVSS 3.1
6.4
EPSS
0.4%
probability of exploitation in 30 days · percentile 26
Auth required
Yes
Published
May 25, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-124, CWE-787
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for C-ares.

Affected products (CPE)

VendorProductVersions
c-ares_projectc-ares< 1.19.1
fedoraprojectfedora37
fedoraprojectfedora38
debiandebian_linux10.0
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.