5.9

CVE-2025-8058: the gnu c library glibc Double Free

Deferred
AliasesMGASA-2025-0220SUSE-SU-2025:02964-1RHSA-2025:12748
Published 23-07-2025Last modified 04-11-2025

Vulnerability summary

CVE-2025-8058 is a medium (CVSS 5.9) Double Free vulnerability in the gnu c library glibc. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 14.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.9, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.23%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 6

Timeline

  1. 23-07-2025
    PublishedVulnerability first disclosed.
  2. 04-11-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 7 sources · 2 versions

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

15%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.22% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat192 products
  • compat-libpthread-nonshared< 0:2.28-251.el8_10.25
  • glibc< 0:2.34-168.el9_6.23 | < 0:2.28-251.el8_10.25 | < 0:2.39-46.el10_0
  • glibc-all-langpacks< 0:2.34-168.el9_6.23 | < 0:2.28-251.el8_10.25 | < 0:2.39-46.el10_0
  • glibc-all-langpacks-debuginfo< 0:2.28-251.el8_10.25
  • glibc-benchtests< 0:2.34-168.el9_6.23 | < 0:2.28-251.el8_10.25 | < 0:2.39-46.el10_0
Opensuse2 products
  • glibc&distro=openSUSE Leap 15.6< 2.38-150600.14.37.1
  • glibc&distro=openSUSE Tumbleweed< 2.42-1.1
Ubuntu2 products
  • eglibcAll versions (No fix recorded)
  • glibc< 2.23-0ubuntu11.3+esm9 | < 2.27-3ubuntu1.6+esm6 | < 2.31-0ubuntu9.18+esm1 | < 2.35-0ubuntu3.11 | < 2.39-0ubuntu8.6
Chainguard1 product
  • glibc< 2.41-r56
Debian1 product
  • glibc< 2.36-9+deb12u13 | < 2.41-11
Mageia1 product
  • glibc< 2.36-57.mga9
Wolfi1 product
  • glibc< 2.41-r56

7 vendors · 200 products · Showing 200 of 249

References

29 links
Show all 29 references