CVE-2025-8058The GNU C Library glibc
Medium 5.9
Follow: this CVE · The GNU C Library · The GNU C Library glibc We alert you by email or Slack (account required).
- Priority
- 35
- CVSS 4.0
- 5.9
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 23, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-415
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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/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
What happens
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.
What to do
- Apply the vendor's security update for glibc.
Affected products
- The GNU C Library · glibc
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for glibc · SUSE · SUSE-SU-2026:0896-1 · Mar 13, 2026 High
- Security update for glibc · SUSE · SUSE-SU-2026:20536-1 · Mar 2, 2026 High
- Security update for glibc · SUSE · SUSE-SU-2026:0680-1 · Feb 27, 2026 High
Also: SUSE (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.