CVE-2026-102010
JSON

7.0high

Gcc-toolset-15-gcc: gcc: gcc-toolset-16: gcc: denial of service via use-after-free in binary heap erase_if

Severity
7.0high CVSS:3.1 by redhat
Exploit likelihood
0.54% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

A flaw was found in GCC. When an application calls the erase_if function on a binary heap priority queue in libstdc++, the library reallocates storage but fails to update its internal entry pointer. An attacker capable of triggering this operation can exploit this use-after-free condition, leading to a Denial of Service (DoS) via an application crash or potential memory corruption.

Affected

Product or packageVersionsReported by
gcc-toolset-15-gccNot specified
Not affected: from 0:15.2.1-7.1.el10_2 before *, from 0:15.2.1-8.1.el10_3 before *, from 0:15.2.1-7.2.el8_10 before *, from 0:15.2.1-7.3.el9_9 before *, from 0:15.2.1-7.3.el9_8 before *
CVE List
gcc-toolset-16-gccNot specified
Not affected: from 0:16.2.1-1.3.el10_3 before *, from 0:16.2.1-1.3.el9_9 before *
CVE List
gccNot specified
Not affected: from 0:14.4.1-4.el10_3 before *, from 0:14.3.1-4.5.el10_2 before *, from 0:8.5.0-30.el8_10 before *, from 0:11.5.0-16.el9_9 before *, from 0:11.5.0-15.el9_8 before *
CVE List
openshift/ose-rhel-coreos-9Not specified
Not affected: from 5.0.9.8.202611250610-0 before *
CVE List
discovery/discovery-server-rhel9Not specified
Not affected: from 1795537005 before *
CVE List
discovery/discovery-ui-rhel9Not specified
Not affected: from 1795539844 before *
CVE List
gcc13-mainNot specified
Not affected: from 13.5.0-0.2.hum1 before *
CVE List
gcc-mainNot specified
Not affected: from 16.2.1-3.hum1 before *, from 16.2.1-3.2.hum1 before *
CVE List
rhui5/cds-kubernetes-rhel9Not specified
Not affected: from 1795506874 before *
CVE List
rhui5/cds-rhel9Not specified
Not affected: from 1795506877 before *
CVE List
rhui5/haproxy-rhel9Not specified
Not affected: from 1795454666 before *
CVE List
rhui5/installer-rhel9Not specified
Not affected: from 1795506876 before *
CVE List

Classification

CWE-825

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

https://access.redhat.com/errata/RHSA-2026:102895vendor-advisory
https://access.redhat.com/errata/RHSA-2026:102947vendor-advisory
https://access.redhat.com/errata/RHSA-2026:104803vendor-advisory
https://access.redhat.com/errata/RHSA-2026:73642vendor-advisory
https://access.redhat.com/errata/RHSA-2026:74569vendor-advisory
https://access.redhat.com/errata/RHSA-2026:89830vendor-advisory
https://access.redhat.com/errata/RHSA-2026:89891vendor-advisory
https://access.redhat.com/errata/RHSA-2026:90915vendor-advisory
https://access.redhat.com/errata/RHSA-2026:95581vendor-advisory
https://access.redhat.com/errata/RHSA-2026:98474vendor-advisory
https://access.redhat.com/errata/RHSA-2026:98475vendor-advisory
https://access.redhat.com/errata/RHSA-2026:98483vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-102010 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-102010 changed 2026-12-01Public domain