synced 14 MIN AGO
01 Record

CVE-2025-31498

c-ares has a use-after-free in read_answers()

HighPUBLISHEDCNA: GitHub_M
CNA base score8.3 CVSS v4.0CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

02 Description

c-ares has a use-after-free in read_answers()

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.59% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 47.9% of scored records. A rank, not a probability.
NVD base score
8.3 (CVSS v4.0), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD analysis status
Deferred. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2025-04-08 13:53Z1 YR AGO
Last updated
2025-04-08 18:40Z1 YR AGO
Reserved
2025-03-28
Assigning CNA
GitHub_M
Record state
PUBLISHED
Severity
High (CVSS 8.3)
CNA CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
Weaknesses
Data version
5.1
Document digest
341549d9d7634aaaed0ed6894cb6f092867406dfbb07aa5acd4fb41822c6cadb

05 Affected products

VendorProductVersionsPlatforms
c-aresc-ares>= 1.32.3, < 1.34.5—

06 References

07 Fixed in

AlmaLinux 8

  • nodejs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:20.19.1-1.module_el8.10.0+3987+dbda4426
    • Affected before 1:22.15.0-1.module_el8.10.0+3986+a908e756
  • nodejs-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:20.19.1-1.module_el8.10.0+3987+dbda4426
    • Affected before 1:22.15.0-1.module_el8.10.0+3986+a908e756
  • nodejs-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:20.19.1-1.module_el8.10.0+3987+dbda4426
    • Affected before 1:22.15.0-1.module_el8.10.0+3986+a908e756
  • nodejs-full-i18n
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:20.19.1-1.module_el8.10.0+3987+dbda4426
    • Affected before 1:22.15.0-1.module_el8.10.0+3986+a908e756
  • nodejs-libs
    Fixed in 1:22.15.0-1.module_el8.10.0+3986+a908e756
  • nodejs-nodemon
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.0.1-1.module_el8.10.0+3982+85c136aa
    • Affected before 3.0.1-1.module_el8.10.0+3983+391a1a04
  • nodejs-packaging
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el8.10.0+3961+6a788e57
    • Affected before 2021.06-4.module_el8.10.0+3987+dbda4426
  • nodejs-packaging-bundler
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el8.10.0+3958+472a6467
    • Affected before 2021.06-4.module_el8.10.0+3961+6a788e57
  • npm
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:10.8.2-1.20.19.1.1.module_el8.10.0+3987+dbda4426
    • Affected before 1:10.9.2-1.22.15.0.1.module_el8.10.0+3986+a908e756
  • v8-12.4-devel
    Fixed in 3:12.4.254.21-1.22.15.0.1.module_el8.10.0+3986+a908e756

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • nodejs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:20.19.1-1.module_el9.6.0+163+d268fe53
    • Affected before 1:22.15.0-1.module_el9.6.0+164+2d89b8ed
  • nodejs-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:20.19.1-1.module_el9.6.0+163+d268fe53
    • Affected before 1:22.15.0-1.module_el9.6.0+164+2d89b8ed
  • nodejs-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:20.19.1-1.module_el9.6.0+163+d268fe53
    • Affected before 1:22.15.0-1.module_el9.6.0+164+2d89b8ed
  • nodejs-full-i18n
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:20.19.1-1.module_el9.6.0+163+d268fe53
    • Affected before 1:22.15.0-1.module_el9.6.0+164+2d89b8ed
  • nodejs-libs
    Fixed in 1:22.15.0-1.module_el9.6.0+164+2d89b8ed
  • nodejs-nodemon
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.0.1-1.module_el9.5.0+125+8dc38870
    • Affected before 3.0.1-1.module_el9.5.0+139+09296491
  • nodejs-packaging
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el9.5.0+139+09296491
    • Affected before 2021.06-4.module_el9.6.0+162+8dc602e5
  • nodejs-packaging-bundler
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el9.5.0+139+09296491
    • Affected before 2021.06-4.module_el9.6.0+162+8dc602e5
  • npm
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:10.8.2-1.20.19.1.1.module_el9.6.0+163+d268fe53
    • Affected before 1:10.9.2-1.22.15.0.1.module_el9.6.0+164+2d89b8ed
  • v8-12.4-devel
    Fixed in 3:12.4.254.21-1.22.15.0.1.module_el9.6.0+164+2d89b8ed

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 10

  • nodejs
    Fixed in 1:22.15.0-1.el10_0
  • nodejs-devel
    Fixed in 1:22.15.0-1.el10_0
  • nodejs-docs
    Fixed in 1:22.15.0-1.el10_0
  • nodejs-full-i18n
    Fixed in 1:22.15.0-1.el10_0
  • nodejs-libs
    Fixed in 1:22.15.0-1.el10_0
  • nodejs-npm
    Fixed in 1:10.9.2-1.22.15.0.1.el10_0

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • nodejs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:20.19.1-1.module_el8.10.0+3987+dbda4426
    • Affected before 1:22.15.0-1.module_el8.10.0+3986+a908e756
  • nodejs-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:20.19.1-1.module_el8.10.0+3987+dbda4426
    • Affected before 1:22.15.0-1.module_el8.10.0+3986+a908e756
  • nodejs-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:20.19.1-1.module_el8.10.0+3987+dbda4426
    • Affected before 1:22.15.0-1.module_el8.10.0+3986+a908e756
  • nodejs-full-i18n
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:20.19.1-1.module_el8.10.0+3987+dbda4426
    • Affected before 1:22.15.0-1.module_el8.10.0+3986+a908e756
  • nodejs-libs
    Fixed in 1:22.15.0-1.module_el8.10.0+3986+a908e756
  • nodejs-nodemon
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.0.1-1.module_el8.10.0+3982+85c136aa
    • Affected before 3.0.1-1.module_el8.10.0+3983+391a1a04
  • nodejs-packaging
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el8.10.0+3961+6a788e57
    • Affected before 2021.06-4.module_el8.10.0+3987+dbda4426
  • nodejs-packaging-bundler
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el8.10.0+3958+472a6467
    • Affected before 2021.06-4.module_el8.10.0+3961+6a788e57
  • npm
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:10.8.2-1.20.19.1.1.module_el8.10.0+3987+dbda4426
    • Affected before 1:10.9.2-1.22.15.0.1.module_el8.10.0+3986+a908e756
  • v8-12.4-devel
    Fixed in 3:12.4.254.21-1.22.15.0.1.module_el8.10.0+3986+a908e756

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • nodejs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:20.19.1-1.module_el9.6.0+163+d268fe53
    • Affected before 1:22.15.0-1.module_el9.6.0+164+2d89b8ed
  • nodejs-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:20.19.1-1.module_el9.6.0+163+d268fe53
    • Affected before 1:22.15.0-1.module_el9.6.0+164+2d89b8ed
  • nodejs-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:20.19.1-1.module_el9.6.0+163+d268fe53
    • Affected before 1:22.15.0-1.module_el9.6.0+164+2d89b8ed
  • nodejs-full-i18n
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:20.19.1-1.module_el9.6.0+163+d268fe53
    • Affected before 1:22.15.0-1.module_el9.6.0+164+2d89b8ed
  • nodejs-libs
    Fixed in 1:22.15.0-1.module_el9.6.0+164+2d89b8ed
  • nodejs-nodemon
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.0.1-1.module_el9.5.0+125+8dc38870
    • Affected before 3.0.1-1.module_el9.5.0+139+09296491
  • nodejs-packaging
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el9.5.0+139+09296491
    • Affected before 2021.06-4.module_el9.6.0+162+8dc602e5
  • nodejs-packaging-bundler
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el9.5.0+139+09296491
    • Affected before 2021.06-4.module_el9.6.0+162+8dc602e5
  • npm
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:10.8.2-1.20.19.1.1.module_el9.6.0+163+d268fe53
    • Affected before 1:10.9.2-1.22.15.0.1.module_el9.6.0+164+2d89b8ed
  • v8-12.4-devel
    Fixed in 3:12.4.254.21-1.22.15.0.1.module_el9.6.0+164+2d89b8ed

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 10

  • nodejs
    Fixed in 1:22.15.0-1.el10_0
  • nodejs-devel
    Fixed in 1:22.15.0-1.el10_0
  • nodejs-docs
    Fixed in 1:22.15.0-1.el10_0
  • nodejs-full-i18n
    Fixed in 1:22.15.0-1.el10_0
  • nodejs-libs
    Fixed in 1:22.15.0-1.el10_0
  • nodejs-npm
    Fixed in 1:10.9.2-1.22.15.0.1.el10_0

Derived from AlmaLinux 10. Partial coverage: only packages taken from AlmaLinux 10 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • c-ares
    Fixed in 1.34.5-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • c-ares
    Fixed in 1.34.5-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.