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

References

Published: 2025-07-08 · Source: Microsoft · Feed updated: 2026-08-04
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.