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.
CVE-2023-31130
This medium-severity CVE scores 4.1 under NVD CVSS v3. EPSS exploit probability: 0.4%, top 69% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 4.1
- EG Score
- 4.1(medium)
- EG Risk
- 19(Track)EG Risk 19/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity41% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 32%
- KEV
- Not listed
Published
May 25, 2023
Last Modified
February 13, 2025
References (16)
- security-advisories@githubhttps://github.com/c-ares/c-ares/releases/tag/cares-1_19_1
- security-advisories@githubhttps://github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6v
- security-advisories@githubhttps://lists.debian.org/debian-lts-announce/2023/06/msg00034.html
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/[email protected]/message/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/[email protected]/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/
- security-advisories@githubhttps://security.gentoo.org/glsa/202310-09
- security-advisories@githubhttps://security.netapp.com/advisory/ntap-20240605-0005/
- security-advisories@githubhttps://www.debian.org/security/2023/dsa-5419
- af854a3a-2127-422b-91ae-364da2661108https://github.com/c-ares/c-ares/releases/tag/cares-1_19_1
- af854a3a-2127-422b-91ae-364da2661108https://github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6v
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2023/06/msg00034.html
- af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/[email protected]/message/B5Z5XFNXTNPTCBBVXFDNZQVLLIE6VRBY/
- af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/[email protected]/message/UBFWILTA33LOSV23P44FGTQQIDRJHIY7/
- af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/202310-09
- af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20240605-0005/
Patch Availability(13)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | libc-ares-dev (1.18.1-2ubuntu0.1) @ lunar | 2026-05-25 | ubuntu |
| ubuntu | libc-ares2 (1.14.0-1ubuntu0.2+esm1) @ bionic | 2026-05-25 | ubuntu |
| redhat | c-ares-0:1.13.0-6.el8_8.3 | 2023-11-28 | redhat |
| redhat | c-ares-0:1.13.0-6.el8_6.2 | 2023-11-21 | redhat |
| redhat | c-ares-0:1.13.0-9.el8_9.1 | 2023-11-14 | redhat |
| redhat | c-ares-0:1.19.1-1.el9 | 2023-11-07 | redhat |
| redhat | nodejs:16-8060020230620060944.ad008a3a | 2023-07-12 | redhat |
| redhat | nodejs-1:16.18.1-4.el9_0 | 2023-07-12 | redhat |
| redhat | rh-nodejs14-nodejs-0:14.21.3-4.el7 | 2023-07-12 | redhat |
| redhat | nodejs:16-8080020230608150024.63b34585 | 2023-07-12 | redhat |
| redhat | nodejs:18-8080020230607122508.63b34585 | 2023-07-12 | redhat |
| redhat | nodejs-1:16.19.1-2.el9_2 | 2023-06-14 | redhat |
| redhat | nodejs:18-9020020230531092345.rhel9 | 2023-06-14 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(5 across 5 ecosystems)
Debian:10(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| c-ares | 1.14.0-1, 1.14.0-1+deb10u1, 1.14.0-1+deb10u2 | 1.14.0-1+deb10u3 | — |
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| c-ares | 1.17.1-1, 1.17.1-1+deb11u1, 1.17.1-1+deb11u2 | 1.17.1-1+deb11u3 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| c-ares | — | 1.18.1-3 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| c-ares | — | 1.18.1-3 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| c-ares | — | 1.18.1-3 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(14)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Microsoft MSRCCVE-2023-311302023-05-30
Buffer Underwrite in ares_inet_net_pton()
- Red HatRHSA-2023:3577MODERATE2023-05-22
RHSA-2023:3577 — Moderate
- Red HatRHSA-2023:3586MODERATE2023-05-22
RHSA-2023:3586 — Moderate
- Red HatRHSA-2023:4033MODERATE2023-05-22
RHSA-2023:4033 — Moderate
- Red HatRHSA-2023:4034MODERATE2023-05-22
RHSA-2023:4034 — Moderate
- Red HatRHSA-2023:4035MODERATE2023-05-22
RHSA-2023:4035 — Moderate
- Red HatRHSA-2023:4036MODERATE2023-05-22
RHSA-2023:4036 — Moderate
- Red HatRHSA-2023:4039MODERATE2023-05-22
RHSA-2023:4039 — Moderate
- Red HatRHSA-2023:6635MODERATE2023-05-22
RHSA-2023:6635 — Moderate
- Red HatRHSA-2023:7207MODERATE2023-05-22
RHSA-2023:7207 — Moderate
- Red HatRHSA-2023:7392MODERATE2023-05-22
RHSA-2023:7392 — Moderate
- Red HatRHSA-2023:7543MODERATE2023-05-22
RHSA-2023:7543 — Moderate
- UbuntuUSN-6164-1MEDIUM
c-ares vulnerabilities
- UbuntuUSN-6164-2MEDIUM
c-ares vulnerabilities
Data Freshness Timeline
(refreshed 7× in last 7d / 28× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 162 total refreshes for this CVE.
- 2026-09-07 15:59 UTCEPSS rescore
- 2026-09-06 13:45 UTCEPSS rescore
- 2026-09-05 15:25 UTCEPSS rescore
- 2026-09-04 13:58 UTCEPSS rescore
- 2026-09-04 06:16 UTCOSV refresh
- 2026-09-04 05:04 UTCEPSS rescore
- 2026-09-02 14:09 UTCEPSS rescore
- 2026-09-01 13:51 UTCEPSS rescore
- 2026-08-30 19:15 UTCEPSS rescore
- 2026-08-30 01:19 UTCEPSS rescore
- 2026-08-28 21:38 UTCEPSS rescore
- 2026-08-27 14:23 UTCEPSS rescore
- 2026-08-26 14:43 UTCEPSS rescore
- 2026-08-25 13:46 UTCEPSS rescore
- 2026-08-24 14:14 UTCEPSS rescore
- 2026-08-23 00:17 UTCEPSS rescore
- 2026-08-21 23:46 UTCEPSS rescore
- 2026-08-20 22:53 UTCEPSS rescore
- 2026-08-19 17:02 UTCEPSS rescore
- 2026-08-18 13:46 UTCEPSS rescore
- 2026-08-17 16:59 UTCOSV refresh
- 2026-08-17 13:44 UTCEPSS rescore
- 2026-08-16 14:53 UTCEPSS rescore
- 2026-08-16 02:12 UTCEPSS rescore
- 2026-08-15 01:28 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-13 21:58 UTCEPSS rescore
- 2026-08-12 13:48 UTCEPSS rescore
- 2026-08-11 13:39 UTCEPSS rescore
- 2026-08-09 13:44 UTCEPSS rescore
- 2026-08-08 16:34 UTCEPSS rescore
- 2026-08-07 16:24 UTCEPSS rescore
- 2026-08-06 13:44 UTCEPSS rescore
- 2026-08-05 19:15 UTCEPSS rescore
- 2026-08-05 19:15 UTCEPSS rescore
- 2026-08-04 15:07 UTCEPSS rescore
- 2026-08-04 10:35 UTCEPSS rescore
- 2026-08-03 10:34 UTCEPSS rescore
- 2026-08-02 12:27 UTCOSV refresh
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-02 02:24 UTCEPSS rescore
- 2026-08-01 04:13 UTCEPSS rescore
- 2026-08-01 04:13 UTCEPSS rescore
- 2026-07-30 16:26 UTCEPSS rescore
- 2026-07-30 16:26 UTCEPSS rescore
- 2026-07-30 01:28 UTCEPSS rescore
- 2026-07-30 01:28 UTCEPSS rescore
- 2026-07-28 15:34 UTCEPSS rescore
- 2026-07-28 15:34 UTCEPSS rescore
- 2026-07-27 14:10 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-25 14:16 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 02:22 UTCEG score recompute
- 2026-07-22 23:09 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:06 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-16 17:01 UTCEPSS rescore
- 2026-07-16 17:01 UTCEPSS rescore
- 2026-07-15 19:49 UTCOSV refresh
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:08 UTCEPSS rescore
- 2026-07-09 19:08 UTCEPSS rescore
- 2026-07-08 15:13 UTCEPSS rescore
- 2026-07-07 13:44 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-02 16:59 UTCEPSS rescore
- 2026-07-01 15:04 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-29 14:05 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 20:04 UTCOSV refresh
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
- CVE-2001-0825EG 10.0HIGH
- CVE-2001-0554EG 10.0EPSS p98HIGH
- CVE-2001-0414EG 10.0EPSS p100HIGH
- CVE-2001-0191EG 10.0EPSS p92HIGH
- CVE-2001-0301EG 10.0EPSS p91HIGH
- CVE-2001-0197EG 10.0EPSS p96HIGH
- CVE-2001-0233EG 10.0EPSS p96HIGH
- CVE-2001-0010EG 10.0EPSS p98HIGH
- CVE-2001-0011EG 10.0EPSS p94HIGH
- CVE-2001-0013EG 10.0EPSS p96HIGH
Same CWE
10 shownCWE-787
Frequently asked(5)
What is CVE-2023-31130?
When was CVE-2023-31130 disclosed?
Is CVE-2023-31130 actively exploited?
What is the CVSS score of CVE-2023-31130?
How do I remediate CVE-2023-31130?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2023-31130
Is Your Infrastructure Affected by CVE-2023-31130?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.