Advisory

UBUNTU-CVE-2025-8058

Also known as: CVE-2025-8058

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2025-07-23 20:15 UTC
Modified
2026-04-22 16:17 UTC

Affected packages and fixes

glibc

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.35-0ubuntu3.11 (ecosystem)

Fixed versions

2.35-0ubuntu3.11

Fix

  • Fixed version 2.35-0ubuntu3.11
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

glibc

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2.39-0ubuntu8.6 (ecosystem)

Fixed versions

2.39-0ubuntu8.6

Fix

  • Fixed version 2.39-0ubuntu8.6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences