CVE-2025-8058 MEDIUM

CVE-2025-8058

Vendor The Gnu C Library
Product glibc
Weakness CWE-415
Published July 23, 2025
Last update November 4, 2025

CVSS base score

5.9/10
Attack vector Local
Attack complexity High
Privileges required Low
User interaction
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 23, 2025 CVE published
November 4, 2025 Record updated