CVEBrief

Home / The GNU C Library / glibc / CVE-2025-8058

CVE-2025-8058: is it exploited, and which versions of The GNU C Library glibc are affected and fixed?

CVE-2025-8058 is a double free vulnerability in The GNU C Library glibc. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: glibc from 2.4 before 2.42 (CVE record by glibc). Fixed in 2.42 (CVE record by glibc). Severity: Medium (5.9, CVSS 4.0, from glibc).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:18 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 11:38 UTC
Affected
glibc from 2.4 before 2.42
CVE record by glibc
Fixed in
2.42
CVE record by glibc
Severity
Medium 5.9
CVSS 4.0 from glibc
Exploit odds (EPSS)
0.23% in 30 days
higher than 15% of CVEs; FIRST, December 2, 2026

What is CVE-2025-8058?

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.

From the CVE record by glibc, last updated November 4, 2025, 21:15 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
The GNU C Libraryglibc
Linux
from 2.4 before 2.422.42

As the CVE record by glibc states it, last updated November 4, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

How severe is CVE-2025-8058?

ScoreVersionVectorSource
Medium 5.9CVSS 4.0CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:H/SC:L/SI:L/SA:Hglibc

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-8058 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, July 23, 2025)
EPSS
0.23% probability of exploitation activity in the next 30 days, percentile 14.6 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
July 22, 2025
Published
July 23, 2025, 19:57 UTC
CVE record updated
November 4, 2025, 21:15 UTC by glibc
NVD
Deferred, last modified June 17, 2026, 10:06 UTC
Last checked
CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:18 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect glibc?

Every CVE in glibc

Questions about CVE-2025-8058

Is CVE-2025-8058 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.23% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of The GNU C Library glibc are affected by CVE-2025-8058?

glibc from 2.4 before 2.42, per the CVE record by glibc. The tables above give every range the sources list.

Which version fixes CVE-2025-8058?

2.42, per the CVE record by glibc. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-8058?

Medium (5.9, CVSS 4.0, from glibc). The severity table above shows each score with its source.

Where is the official record of CVE-2025-8058?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.