CVE-2025-8058
Last modified
CVE-2025-8058 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
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.
Metrics
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
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-8058?
How severe is CVE-2025-8058?
How do I fix CVE-2025-8058?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-8051Path Traversal vulnerability in opentext Flipper allows Abso…6.5
- CVE-2025-8052SQL Injection vulnerability in opentext Flipper allows SQL I…8.8
- CVE-2025-8053Insufficient Granularity of Access Control vulnerability in …9.1
- CVE-2025-8054Improper Limitation of a Pathname to a Restricted Directory …7.5
- CVE-2025-8055Server-Side Request Forgery (SSRF) vulnerability in OpenText…5.3
- CVE-2025-8057Authorization Bypass Through User-Controlled Key, Externally…6.5
- CVE-2025-8059The B Blocks plugin for WordPress is vulnerable to Privilege…9.8
- CVE-2025-8060A vulnerability has been found in Tenda AC23 16.03.07.52 and…8.8
- CVE-2025-8061A potential insufficient access control vulnerability was re…7.3
- CVE-2025-8062The WS Theme Addons plugin for WordPress is vulnerable to St…6.4
- CVE-2025-8064The Bible SuperSearch plugin for WordPress is vulnerable to …6.4
- CVE-2025-8065A stack-based buffer overflow vulnerability was identified i…6.5
Are you affected by CVE-2025-8058?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
