CVE Details
Basic Information
| Title | CVE-2025-8058 |
|---|---|
| Type | cve |
| Published | 2025-07-23T19:57:17.138Z |
| Modified | 2025-07-23T20:08:01.326Z |
Product Information
| Vendor | The GNU C Library |
|---|---|
| Product | glibc |
| Version | 2.9 |
CVSS Information
| Base Score | 5.9 (MEDIUM) |
|---|---|
| Attack 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 |
AI Analysis
| AI Description | A double free vulnerability in the regcomp function of the GNU C Library (versions 2.4 to 2.41) can occur due to allocation failures, potentially allowing buffer manipulation. |
|---|---|
| AI Severity | Medium |
| AI Vendor | GNU Project |
| AI Product | GNU C Library |
| AI Version | 2.4 to 2.41 |
Additional Information
| CWE List | CWE-415 |
|---|---|
| Source | glibc |
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 on how the regex is constructed. This issue affects all architectures and ABIs supported by the GNU C library.