UNKNOWN Microsoft
CVE-2025-8058
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.
Microsoft Security Update 2025-Jul: 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.
Affected Products
- azl3 glibc 2.38-12 on Azure Linux 3.0
- azl3 glibc 2.38-15 on Azure Linux 3.0
- azl3 glibc 2.38-14 on Azure Linux 3.0
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-8058
- https://nvd.nist.gov/vuln/detail/CVE-2025-8058
This unknown severity vulnerability was published on 2025-07-08 via Microsoft. Affected: azl3 glibc 2.38-12 on Azure Linux 3.0, azl3 glibc 2.38-15 on Azure Linux 3.0, azl3 glibc 2.38-14 on Azure Linux 3.0.
vulnfeed aggregates 9214 vulnerabilities from NVD, CISA KEV,
Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.