CVE-2025-8058
4.2CVSSMEDIUM
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.
CVSS Vector Breakdown
Exploitability
AV:LAccess VectorLocal
AC:HAccess ComplexityHigh
Impact
C:LConfidentialityL
I:LIntegrityL
A:LAvailabilityL
Weaknesses
Affected Products
Attack Graph
Products CVE Techniques Tactics
Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.
Exploitability
Official Patch Available
Workaround Available
MITRE ATT&CK
1 technique Privilege Escalation
References
https://sourceware.org/bugzilla/show_bug.cgi?id=33185
sourceware.org
https://sourceware.org/git/?p=glibc.git;a=commit;h=3ff17af18c38727b88d9115e536c069e6b5d601f
sourceware.org
http://www.openwall.com/lists/oss-security/2025/07/23/1
openwall.com
and 14 more references View all →
Timeline
Published
Jul 23, 2025
Last Updated
Nov 4, 2025
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