PT-2025-30618 · Gnu+8 · Gnu C Library+8
Published
2025-07-23
·
Updated
2026-03-13
·
CVE-2025-8058
CVSS v4.0
5.9
Medium
| Vector | 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 |
Name of the Vulnerable Software and Affected Versions
GNU C Library versions 2.4 through 2.41
Description
The
regcomp function is subject to a double free if a previous allocation fails. This can occur due to a malloc failure or through the use of an interposed malloc that introduces allocation failures. The double free can potentially allow buffer manipulation depending on the construction of the regular expression. This issue affects all supported architectures and ABIs.Recommendations
Versions prior to 2.41 are recommended.
Fix
Double Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Almalinux
Centos
Debian
Gnu C Library
Linuxmint
Red Hat
Rocky Linux
Suse
Ubuntu