Buffer overflow in C-ares

CVE-2023-31130

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 conf…

EPSS: 0.003 (25.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.1 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-31130?
CVE-2023-31130 is a medium-severity vulnerability in C-ares, classified under Buffer Underwrite. CVSS score: 4.1/10. Published 2023-05-25.
How severe is CVE-2023-31130?
Medium severity. CVSS v3 base score is 4.1 out of 10.
Is CVE-2023-31130 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.