CVE-2025-8058
MEDIUM 5.9CVSS 4.0The 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.
- Published
- 23 Jul 2025
- Last modified
- 17 Jun 2026
- Assigned by
- 3ff69d7a-14f2-4f67-a097-88dee7810d18
- NVD status
- Deferred
- Weakness
- CWE-415
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 3ff69d7a-14f2-4f67-a097-88dee7810d18 (Secondary) | CVSS 4.0 | MEDIUM 5.9 | 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 |
References
- https://sourceware.org/bugzilla/show_bug.cgi?id=33185
- https://sourceware.org/git/?p=glibc.git;a=commit;h=3ff17af18c38727b88d9115e536c069e6b5d601f
- http://www.openwall.com/lists/oss-security/2025/07/23/1
History
- 25 Nov 2026 20:58 UTC ยท NVD: first stored (published 23 Jul 2025)