Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2025-8058 on Ubuntu — eglibc

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

Distribution advisory

This page covers CVE-2025-8058 as tracked by Ubuntu, for the package eglibc. The fix is available in version 2.39-0ubuntu8.6; earlier versions remain affected.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is high, an attacker needs low-level privileges on the target. A user must be tricked into taking some action. Rated impact: confidentiality low, integrity low, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:H/SC:L/SI:L/SA:H

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: High — the attacker first has to win a race, learn a secret or otherwise prepare the target.
  • Attack requirements: Present — the target has to be in a particular state for the attack to work.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: Passive — a victim action is involved, but not a deliberate one.
  • Confidentiality impact: Low — limited, and the attacker does not choose what is affected.
  • Integrity impact: Low — limited, and the attacker does not choose what is affected.
  • Availability impact: High — total loss, or loss the attacker controls.

Weakness class

UBUNTU-CVE-2025-8058 is classified as CWE-415: Double Free. The same allocation is released twice, corrupting allocator bookkeeping.

Affected software

UBUNTU-CVE-2025-8058 is recorded against 2 packages.

  • eglibc
  • glibc (fixed in 2.39-0ubuntu8.6)

Timeline and source

Published on 23 July 2025 and last revised on 22 April 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

ubuntu.com (Report)
www.cve.org (Report)
sourceware.org (Report)
ubuntu.com (Advisory)
ubuntu.com (Advisory)

Other advisories for this package

eglibc has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-415: Double Free) in other software:

CVE-2025-8058 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:H/SC:L/SI:L/SA:H
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2025-07-23
Updated 2026-08-20
Modified 2026-04-22
Fix URL N/A

Affected Packages

Software From version Fixed in
eglibc — —
glibc — 2.39-0ubuntu8.6

Free Vulnerability Check

Is your site affected by UBUNTU-CVE-2025-8058?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against UBUNTU-CVE-2025-8058 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesUbuntuUbuntu 2025
✓