HOMEVULNERABILITIESCVE-2023-31130
MEDIUM

CVE-2023-31130

CWE-124Published: May 25, 2023· Updated: Jun 17, 2026

6.4
CVSS v3.1

Official Description

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.

NVD Source

Technical Analysis

CVE-2023-31130 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires high privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 6.4.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityHigh
Privileges Req.High
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected Vendors & Products

c-ares_project1 product(s)
c-ares
Debian1 product(s)
debian linux
Fedora1 product(s)
fedora
Source: NVD CPE · 5 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (16)

Quick Facts

CVE IDCVE-2023-31130
CVSS Score6.4 / 10
SeverityMEDIUM
WeaknessCWE-124
CISA KEVNo
Affected3 vendor(s)
PublishedMay 25, 2023

Related CVEs (CWE-124)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2023-31130 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.