6.4

CVE-2023-31130: Buffer Underwrite in ares_inet_net_pton()

Modified
AliasesRHSA-2023:7392UBUNTU-CVE-2023-31130DEBIAN-CVE-2023-31130
Published 25-05-2023Last modified 13-02-2025

Vulnerability summary

CVE-2023-31130 is a medium (CVSS 6.4) Buffer Underwrite vulnerability in c-ares_project c-ares. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 32.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.1, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.4/10
010
Medium · v3.1 (NVD)
EPSS score
0.38%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 22 · Related 12

Timeline

  1. 25-05-2023
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.38%

Chance of exploitation in the next 30 days

Percentile

32%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.38% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat4 products
  • c-ares< 0:1.13.0-6.el8_6.2
  • c-ares-debuginfo< 0:1.13.0-6.el8_6.2
  • c-ares-debugsource< 0:1.13.0-6.el8_6.2
  • c-ares-devel< 0:1.13.0-6.el8_6.2
Debian2 products
C-ares1 product
C-ares_project1 product
Chainguard1 product
  • c-ares< 1.19.1-r0
Fedoraproject1 product
Ubuntu1 product
  • c-ares< 1.10.0-3ubuntu0.2+esm2 | < 1.14.0-1ubuntu0.2+esm1 | < 1.15.0-1ubuntu0.3 | < 1.18.1-1ubuntu0.22.04.2
Wolfi1 product
  • c-ares< 1.19.1-r0

8 vendors · 12 products

References

21 links
Show all 21 references