CVE-2025-8058
The regcomp function in the GNU C library version from 2.4 to 2.41 is subject to a double free if some previous allocation fails. It can be accomplished either by a malloc failure or by using an
02 Description
The regcomp function in the GNU C library version from 2.4 to 2.41 is subject to a double free if some previous allocation fails. It can be accomplished either by a malloc failure or by using an
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.
- EPSS probability
- 0.22% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 12.8% of scored records. A rank, not a probability.
- NVD base score
- 5.9 (CVSS v4.0), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:H/SC:L/SI:L/SA:H/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-07-23 19:57Z1 YR AGO
- Last updated
- 2025-11-04 21:15Z11 MO AGO
- Reserved
- 2025-07-22
- Assigning CNA
- glibc
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 5.9)
- CNA CVSS vector
- CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:H/SC:L/SI:L/SA:H
- Weaknesses
- CWE-415Double FreeVariant
- Data version
- 5.2
- Document digest
- c78a0915ac60a4596a1a439c8a5e07f8a73f090c825ff79af9cca26f6091b338
05 Affected products
06 References
07 Fixed in
AlmaLinux 8
- compat-libpthread-nonshared Fixed in 2.28-251.el8_10.25
- glibc Fixed in 2.28-251.el8_10.25
- glibc-all-langpacks Fixed in 2.28-251.el8_10.25
- glibc-benchtests Fixed in 2.28-251.el8_10.25
- glibc-common Fixed in 2.28-251.el8_10.25
- glibc-devel Fixed in 2.28-251.el8_10.25
- glibc-doc Fixed in 2.28-251.el8_10.25
- glibc-gconv-extra Fixed in 2.28-251.el8_10.25
- glibc-headers Fixed in 2.28-251.el8_10.25
- glibc-langpack-aa Fixed in 2.28-251.el8_10.25
- glibc-langpack-af Fixed in 2.28-251.el8_10.25
- glibc-langpack-agr Fixed in 2.28-251.el8_10.25
- glibc-langpack-ak Fixed in 2.28-251.el8_10.25
- glibc-langpack-am Fixed in 2.28-251.el8_10.25
- glibc-langpack-an Fixed in 2.28-251.el8_10.25
- glibc-langpack-anp Fixed in 2.28-251.el8_10.25
- glibc-langpack-ar Fixed in 2.28-251.el8_10.25
- glibc-langpack-as Fixed in 2.28-251.el8_10.25
- glibc-langpack-ast Fixed in 2.28-251.el8_10.25
- glibc-langpack-ayc Fixed in 2.28-251.el8_10.25
- glibc-langpack-az Fixed in 2.28-251.el8_10.25
- glibc-langpack-be Fixed in 2.28-251.el8_10.25
- glibc-langpack-bem Fixed in 2.28-251.el8_10.25
- glibc-langpack-ber Fixed in 2.28-251.el8_10.25
- glibc-langpack-bg Fixed in 2.28-251.el8_10.25
- glibc-langpack-bhb Fixed in 2.28-251.el8_10.25
- glibc-langpack-bho Fixed in 2.28-251.el8_10.25
- glibc-langpack-bi Fixed in 2.28-251.el8_10.25
- glibc-langpack-bn Fixed in 2.28-251.el8_10.25
- glibc-langpack-bo Fixed in 2.28-251.el8_10.25
- glibc-langpack-br Fixed in 2.28-251.el8_10.25
- glibc-langpack-brx Fixed in 2.28-251.el8_10.25
- glibc-langpack-bs Fixed in 2.28-251.el8_10.25
- glibc-langpack-byn Fixed in 2.28-251.el8_10.25
- glibc-langpack-ca Fixed in 2.28-251.el8_10.25
- glibc-langpack-ce Fixed in 2.28-251.el8_10.25
- glibc-langpack-chr Fixed in 2.28-251.el8_10.25
- glibc-langpack-cmn Fixed in 2.28-251.el8_10.25
- glibc-langpack-crh Fixed in 2.28-251.el8_10.25
- glibc-langpack-cs Fixed in 2.28-251.el8_10.25
174 further packages in AlmaLinux 8 not shown (first 40 listed).
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 10
- glibc-doc Fixed in 2.39-46.el10_0.alma.1
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- compat-libpthread-nonshared Fixed in 2.28-251.el8_10.25
- glibc Fixed in 2.28-251.el8_10.25
- glibc-all-langpacks Fixed in 2.28-251.el8_10.25
- glibc-benchtests Fixed in 2.28-251.el8_10.25
- glibc-common Fixed in 2.28-251.el8_10.25
- glibc-devel Fixed in 2.28-251.el8_10.25
- glibc-doc Fixed in 2.28-251.el8_10.25
- glibc-gconv-extra Fixed in 2.28-251.el8_10.25
- glibc-headers Fixed in 2.28-251.el8_10.25
- glibc-langpack-aa Fixed in 2.28-251.el8_10.25
- glibc-langpack-af Fixed in 2.28-251.el8_10.25
- glibc-langpack-agr Fixed in 2.28-251.el8_10.25
- glibc-langpack-ak Fixed in 2.28-251.el8_10.25
- glibc-langpack-am Fixed in 2.28-251.el8_10.25
- glibc-langpack-an Fixed in 2.28-251.el8_10.25
- glibc-langpack-anp Fixed in 2.28-251.el8_10.25
- glibc-langpack-ar Fixed in 2.28-251.el8_10.25
- glibc-langpack-as Fixed in 2.28-251.el8_10.25
- glibc-langpack-ast Fixed in 2.28-251.el8_10.25
- glibc-langpack-ayc Fixed in 2.28-251.el8_10.25
- glibc-langpack-az Fixed in 2.28-251.el8_10.25
- glibc-langpack-be Fixed in 2.28-251.el8_10.25
- glibc-langpack-bem Fixed in 2.28-251.el8_10.25
- glibc-langpack-ber Fixed in 2.28-251.el8_10.25
- glibc-langpack-bg Fixed in 2.28-251.el8_10.25
- glibc-langpack-bhb Fixed in 2.28-251.el8_10.25
- glibc-langpack-bho Fixed in 2.28-251.el8_10.25
- glibc-langpack-bi Fixed in 2.28-251.el8_10.25
- glibc-langpack-bn Fixed in 2.28-251.el8_10.25
- glibc-langpack-bo Fixed in 2.28-251.el8_10.25
- glibc-langpack-br Fixed in 2.28-251.el8_10.25
- glibc-langpack-brx Fixed in 2.28-251.el8_10.25
- glibc-langpack-bs Fixed in 2.28-251.el8_10.25
- glibc-langpack-byn Fixed in 2.28-251.el8_10.25
- glibc-langpack-ca Fixed in 2.28-251.el8_10.25
- glibc-langpack-ce Fixed in 2.28-251.el8_10.25
- glibc-langpack-chr Fixed in 2.28-251.el8_10.25
- glibc-langpack-cmn Fixed in 2.28-251.el8_10.25
- glibc-langpack-crh Fixed in 2.28-251.el8_10.25
- glibc-langpack-cs Fixed in 2.28-251.el8_10.25
174 further packages in CloudLinux 8 not shown (first 40 listed).
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 10
- glibc-doc Fixed in 2.39-46.el10_0.alma.1
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 12
- glibc Fixed in 2.36-9+deb12u13
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- glibc Fixed in 2.41-11
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- glibc Fixed in 2.41-11
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- glibc Fixed in 2.35-0ubuntu3.11
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- glibc Fixed in 2.39-0ubuntu8.6
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- eglibc No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- glibc Fixed in 2.23-0ubuntu11.3+esm9Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- glibc Fixed in 2.27-3ubuntu1.6+esm6Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- glibc Fixed in 2.31-0ubuntu9.18+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. 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.