CVE-2025-8058
BaseFortify
Publication date: 2025-07-23
Last updated on: 2025-11-04
Assigner: GNU C Library
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| gnu | gnu_c_library | 2.41 |
| gnu | gnu_c_library | 2.4 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-415 | The product calls free() twice on the same memory address. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a double free issue in the regcomp function of the GNU C library versions 2.4 to 2.41. It occurs if a previous memory allocation fails, either due to an actual malloc failure or an interposed malloc that injects random failures. This double free can lead to buffer manipulation depending on how the regular expression is constructed.
How can this vulnerability impact me? :
The double free vulnerability can allow an attacker to manipulate buffers, which may lead to undefined behavior such as memory corruption, crashes, or potentially arbitrary code execution depending on the context and how the regex is constructed.