CVE-2025-8058
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 interposed malloc that injects random malloc failures. The double free can allow buffer manipulation depending of how the regex is constructed. This issue affects all architectures and ABIs supported by the GNU C library.
No summary for this CVE yet.
CVSS Vector Breakdown
Exploitability
AV:LAccess VectorLocal
AC:HAccess ComplexityHigh
Impact
C:LConfidentialityL
I:LIntegrityL
A:LAvailabilityL
Weaknesses
Affected Products
The GNU Project
oss-project·USaka gnu
ООО «НЦПР»
commercial·RU
АО «НППКТ»
commercial·RU
The GNU C Library
oss-projectaka glibc
Exploitability
Official Patch Available
Workaround Available
Attack Graph
Products CVE Techniques Tactics
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
1 technique Privilege Escalation
References
https://errata.msvsphere-os.ru/definition/9/INFCSA-2025:12748?lang=ru
errata.msvsphere-os.ru
https://vulert.com/vuln-db/rocky-linux-9-glibc-361224
vulert.com
https://sourceware.org/bugzilla/show_bug.cgi?id=33185
sourceware.org
and 14 more references View all →
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-8058 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows
