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-2026-30892HIGH7.8
  • NixOSNixOS
  • crun
NoYesMar 26, 2026
CVE-2026-3608HIGH7.5
  • Rocky LinuxRocky Linux
  • kea-debuginfo
NoYesMar 25, 2026
CVE-2026-4371HIGH7.4
  • NixOSNixOS
  • MozillaThunderbird-translations-other
NoYesMar 24, 2026
CVE-2026-33412HIGH7.3
  • VimVim
  • vim-X11
NoYesMar 24, 2026
CVE-2026-3889MEDIUM6.5
  • NixOSNixOS
  • rhel10::thunderbird-flatpak.src
NoYesMar 24, 2026

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