CVE Vulnerabilities

CVE-2025-8058

Double Free

Published: Jul 23, 2025 | Modified: Jul 25, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
4.2 MODERATE
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
Ubuntu
MEDIUM

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.

Weakness

The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.

Affected Software

Name Vendor Start Version End Version
Red Hat Enterprise Linux 10 RedHat glibc-0:2.39-46.el10_0 *
Red Hat Enterprise Linux 8 RedHat glibc-0:2.28-251.el8_10.25 *
Red Hat Enterprise Linux 8 RedHat glibc-0:2.28-251.el8_10.25 *
Red Hat Enterprise Linux 9 RedHat glibc-0:2.34-168.el9_6.23 *
Red Hat Enterprise Linux 9 RedHat glibc-0:2.34-168.el9_6.23 *
Red Hat Insights proxy 1.5 RedHat registry.redhat.io/insights-proxy/insights-proxy-container-rhel9:sha256:e54a5a5f9d69dd6a03e2bcd845e2202910a188d266d4a79b12c387ceffc36f2d *
Red Hat OpenShift distributed tracing 3.5.2 RedHat registry.redhat.io/rhosdt/jaeger-agent-rhel8:sha256:ef10956a206329b8213fb31855fbcc849d00e1e44adb307985009be2bfdb966e *
Red Hat OpenShift distributed tracing 3.5.2 RedHat registry.redhat.io/rhosdt/jaeger-all-in-one-rhel8:sha256:02d88da5fdc965b3759b7c74667dc93a374dc379719456a2a9c0ef15ac36d656 *
Red Hat OpenShift distributed tracing 3.5.2 RedHat registry.redhat.io/rhosdt/jaeger-collector-rhel8:sha256:6f60741c03460bfdc70789640b83b8c2611f62bd3971a7eeb8316c895e4cbf48 *
Red Hat OpenShift distributed tracing 3.5.2 RedHat registry.redhat.io/rhosdt/jaeger-es-index-cleaner-rhel8:sha256:deb807f053dacbbea6e950e13ee123bb8b9184e0d8eca0d04d5e8f48d3ef6a95 *
Red Hat OpenShift distributed tracing 3.5.2 RedHat registry.redhat.io/rhosdt/jaeger-es-rollover-rhel8:sha256:9a17a95797aa5ec5252ea801a4962d1a6a903facafe79dcc321a54fadfa9fee3 *
Red Hat OpenShift distributed tracing 3.5.2 RedHat registry.redhat.io/rhosdt/jaeger-ingester-rhel8:sha256:b8ab8265ceed867796cf63e05b3c2b161ef289ec0ff1337c4b5c763228e747f3 *
Red Hat OpenShift distributed tracing 3.5.2 RedHat registry.redhat.io/rhosdt/jaeger-operator-bundle:sha256:264613b2add0f32e5f537ee7cf9ba8019e5e9a347fdf20bc3de8d1678157ba66 *
Red Hat OpenShift distributed tracing 3.5.2 RedHat registry.redhat.io/rhosdt/jaeger-query-rhel8:sha256:2509c7cc0bdf6d001442d2e83e21925b09a59c4b05eef81e98af93327f6f6c6d *
Red Hat OpenShift distributed tracing 3.5.2 RedHat registry.redhat.io/rhosdt/jaeger-rhel8-operator:sha256:ef79fd809a6406f43bc90dc685ca2819694096abe4c4de7f6302a09683f883fd *
Glibc Ubuntu upstream *

Potential Mitigations

References