CVE-2025-8058
Rocky Linux vulnerability analysis and mitigation

Overview

A double-free vulnerability (CVE-2025-8058) was discovered in the regcomp function of the GNU C Library (glibc) versions 2.4 through 2.41. The vulnerability was disclosed on July 23, 2025, affecting all architectures and ABIs supported by the GNU C library (NVD, Snyk DB).

Technical details

The vulnerability occurs during bracket expression parsing within the regcomp function when a previous allocation fails. This can be triggered either by a malloc failure or by using an interposed malloc that injects random malloc failures. The vulnerability has been assigned CWE-415 (Double Free) and received a CVSS v3.1 base score of 4.2 (Medium), with attack vector being Local, attack complexity High, and requiring low privileges with user interaction (NVD, Snyk DB).

Impact

The double free vulnerability can potentially allow buffer manipulation depending on how the regex is constructed. The impact assessment indicates low impact on confidentiality, integrity, and availability. While data modification is possible, the attacker has limited control over the consequences of modifications (Snyk DB).

Mitigation and workarounds

As of the disclosure date, there is no fixed version available for affected distributions including Debian 12 and RHEL 8 (Snyk DB).

Additional resources


SourceThis report was generated using AI

Related Rocky Linux vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55315CRITICAL9.9
  • C#C#
  • dotnet-hostfxr-9.0
NoYesOct 14, 2025
CVE-2025-11715HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesOct 14, 2025
CVE-2025-11714HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesOct 14, 2025
CVE-2025-55247HIGH7.3
  • C#C#
  • dotnet10.0
NoYesOct 14, 2025
CVE-2025-55248MEDIUM5.7
  • C#C#
  • dotnet-hostfxr-8.0-debuginfo
NoYesOct 14, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management