cve.bz

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

7.0 highEPSS 0.4%Fix available

High (7.0) in red hat. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.0 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
EPSS
0.4% (unchanged from 0.3% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-09-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-825 Expired Pointer Dereference
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:15.2.1-7.1.el10_2
  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:15.2.1-8.1.el10_3
  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:16.2.1-1.3.el10_3
  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:14.4.1-4.el10_3
  • Red Hat Red Hat Enterprise Linux 10.2 Extended Update Support: fixed in 0:14.3.1-4.5.el10_2
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:8.5.0-30.el8_10
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:15.2.1-7.2.el8_10
  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:15.2.1-7.3.el9_9
  • Debian, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Alpaquita, BellSoft Hardened Containers: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-102010 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-102010?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-102010?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-102010 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • red hat:red hat enterprise linux 10
  • red hat:red hat enterprise linux 10.2 extended update support
  • red hat:red hat enterprise linux 6
  • red hat:red hat enterprise linux 7
  • red hat:red hat enterprise linux 8
  • red hat:red hat enterprise linux 9
  • red hat:red hat enterprise linux 9.8 extended update support
  • red hat:red hat hardened images
  • red hat:red hat openshift ai (rhoai)
  • red hat:red hat openshift container platform 4
  • red hat:red hat openshift container platform 5

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:15.2.1-7.1.el10_2
Red Hat Enterprise Linux 100:15.2.1-8.1.el10_3
Red Hat Enterprise Linux 100:16.2.1-1.3.el10_3
Red Hat Enterprise Linux 100:14.4.1-4.el10_3
Red Hat Enterprise Linux 10.2 Extended Update Support0:14.3.1-4.5.el10_2
Red Hat Enterprise Linux 80:8.5.0-30.el8_10
Red Hat Enterprise Linux 80:15.2.1-7.2.el8_10
Red Hat Enterprise Linux 90:15.2.1-7.3.el9_9
Red Hat Enterprise Linux 90:11.5.0-16.el9_9
Red Hat Enterprise Linux 90:16.2.1-1.3.el9_9
Red Hat Enterprise Linux 9.8 Extended Update Support0:11.5.0-15.el9_8
Red Hat Enterprise Linux 9.8 Extended Update Support0:15.2.1-7.3.el9_8
Red Hat Hardened Images13.5.0-0.2.hum1
Red Hat Hardened Images16.2.1-3.hum1
Red Hat Hardened Images16.2.1-3.2.hum1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12gcc-11, gcc-12no fix listedDEBIAN-CVE-2026-102010
Debian13gcc-12, gcc-13, gcc-14no fix listedDEBIAN-CVE-2026-102010
Debian14gcc-1212.5.0-11DEBIAN-CVE-2026-102010
Debian14gcc-1313.5.0-2DEBIAN-CVE-2026-102010
Debian14gcc-1414.4.0-3DEBIAN-CVE-2026-102010
Debian14gcc-1515.3.0-5DEBIAN-CVE-2026-102010
Debian14gcc-1616.2.0-4DEBIAN-CVE-2026-102010
Ubuntu14.04:LTSgcc-3.3, gcc-4.7, gcc-4.8 and 3 moreno fix listedUBUNTU-CVE-2026-102010
Ubuntu16.04:LTSgcc-3.3, gcc-4.7, gcc-4.8 and 19 moreno fix listedUBUNTU-CVE-2026-102010
Ubuntu18.04:LTSgcc-5, gcc-6, gcc-7 and 18 moreno fix listedUBUNTU-CVE-2026-102010
Ubuntu20.04:LTSgcc-7, gcc-8, gcc-3.3 and 16 moreno fix listedUBUNTU-CVE-2026-102010
Ubuntu22.04:LTSgcc-9, gcc-10, gcc-11 and 20 moreno fix listedUBUNTU-CVE-2026-102010
Ubuntu24.04:LTSgcc-9, gcc-10, gcc-11 and 24 moreno fix listedUBUNTU-CVE-2026-102010
Ubuntu26.04:LTSgcc-11, gcc-12, gcc-13 and 12 moreno fix listedUBUNTU-CVE-2026-102010
Ubuntu26.10gcc-11, gcc-12, gcc-13 and 13 moreno fix listedUBUNTU-CVE-2026-102010
UbuntuPro:16.04:LTSgcc-5, gccgo-6no fix listedUBUNTU-CVE-2026-102010
UbuntuPro:20.04:LTSgcc-9, gcc-10, gcc-9-crossno fix listedUBUNTU-CVE-2026-102010
Red Hatenterprise_linux:8::appstreamcpp, gcc, gcc-c++ and 29 more0:8.5.0-30.el8_10RHSA-2026:89830
Red Hatenterprise_linux:8::appstreamliblsan, libasan8, libtsan2 and 28 more0:15.2.1-7.2.el8_10RHSA-2026:90915
Red Hatenterprise_linux:8::baseosgcc, libgcc, libitm and 32 more0:8.5.0-30.el8_10RHSA-2026:89830
Red Hatenterprise_linux:8::crbcpp-debuginfo, gcc-debuginfo, gcc-debugsource and 22 more0:8.5.0-30.el8_10RHSA-2026:89830
Red Hatenterprise_linux:9::appstreamcpp, gcc, libitm and 44 more0:11.5.0-16.el9_9RHSA-2026:98475
Red Hatenterprise_linux:9::appstreamliblsan, libasan8, libtsan2 and 31 more0:16.2.1-1.3.el9_9RHSA-2026:98483
Red Hatenterprise_linux:9::appstreamliblsan, libasan8, libtsan2 and 28 more0:15.2.1-7.3.el9_9RHSA-2026:98474
Red Hatenterprise_linux:9::baseosgcc, libgcc, libgomp and 32 more0:11.5.0-16.el9_9RHSA-2026:98475
Red Hatenterprise_linux:9::crbcpp-debuginfo, gcc-debuginfo, gcc-debugsource and 28 more0:11.5.0-16.el9_9RHSA-2026:98475
Red Hatenterprise_linux:10.2gcc-toolset-15-gcc, gcc-toolset-15-gcc-c++, gcc-toolset-15-libgccjit and 21 more0:15.2.1-7.1.el10_2RHSA-2026:89891
Red Hatenterprise_linux:10.3cpp, gcc, libgcc and 62 more0:14.4.1-4.el10_3RHSA-2026:98580
Red Hatenterprise_linux:10.3gcc-toolset-15-gcc, gcc-toolset-15-gcc-c++, gcc-toolset-15-libgccjit and 21 more0:15.2.1-8.1.el10_3RHSA-2026:98576
9 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moregcc7, cross-nvptx-gcc77.5.0+r278197-150000.4.49.1SUSE-SU-2026:4913-1
SUSELinux Enterprise Module for Basesystem 15 SP7gcc77.5.0+r278197-150000.4.49.1SUSE-SU-2026:4913-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5gcc484.8.5-31.32.1SUSE-SU-2026:4637-1 SUSE-SU-2026:4637-2
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0gcc1313.5.0+git10516-160000.1.1SUSE-SU-2026:24227-1
SUSELinux Micro 6.0gcc1313.5.0+git10516-159998.1.1SUSE-SU-2026:24367-1
SUSELinux Micro 6.2gcc1313.5.0+git10516-160000.1.1SUSE-SU-2026:24129-1
SUSELinux Micro Extras 6.2gcc1313.5.0+git10516-160000.1.1SUSE-SU-2026:24116-1
openSUSELeap 16.0gcc13, cross-arm-gcc13, cross-bpf-gcc13 and 17 more13.5.0+git10516-160000.1.1openSUSE-SU-2026:22083-1
openSUSETumbleweedgcc1313.5.0+git10516-2.1openSUSE-SU-2026:11982-1
openSUSETumbleweedgcc1414.4.0+git12698-2.1openSUSE-SU-2026:12496-1
openSUSETumbleweedgcc1515.3.0+git11272-2.1openSUSE-SU-2026:12081-1
openSUSETumbleweedgcc1616.2.1+git9713-1.1openSUSE-SU-2026:11941-1
openSUSETumbleweedgcc77.5.0+r278197-25.1openSUSE-SU-2026:11942-1
AlmaLinux8cpp, gcc, libgcc and 25 more8.5.0-30.el8_10.alma.1ALSA-2026:89830
AlmaLinux8liblsan, libasan8, libtsan2 and 17 more15.2.1-7.2.el8_10ALSA-2026:90915
AlmaLinux9cpp, gcc, libgcc and 25 more11.5.0-16.el9_9.alma.1ALSA-2026:98475
AlmaLinux9gcc-toolset-15-gcc, gcc-toolset-15-gcc-c++, gcc-toolset-15-libgccjit and 14 more15.2.1-7.3.el9_9ALSA-2026:98474
AlmaLinux9liblsan, libasan8, libtsan2 and 19 more16.2.1-1.3.el9_9ALSA-2026:98483
AlmaLinux10gcc-toolset-15-gcc, gcc-toolset-15-gcc-c++, gcc-toolset-15-libgccjit and 14 more15.2.1-7.1.el10_2.alma.1ALSA-2026:89891
AlmaLinux10gcc-toolset-15-gcc, gcc-toolset-15-gcc-c++, gcc-toolset-15-libgccjit and 14 more15.2.1-8.1.el10_3.alma.1ALSA-2026:98576
AlmaLinux10libgdiagnostics, gcc-toolset-16-gcc, gcc-toolset-16-gcc-c++ and 16 more16.2.1-1.3.el10_3.alma.1ALSA-2026:98577
Rocky Linux8gcc0:8.5.0-30.el8_10RLSA-2026:89830
Rocky Linux8gcc-toolset-15-gcc0:15.2.1-7.2.el8_10RLSA-2026:90915
Rocky Linux10gcc-toolset-15-gcc0:15.2.1-7.1.el10_2RLSA-2026:89891
Azure Linux3gccno fix listedAZL-107979
Alpaquita23gcc12.2.1_git20220924-r15BELL-CVE-2026-102010
Alpaquita25gcc14.3.0-r6BELL-CVE-2026-102010
Alpaquitastreamgcc15.2.0-r11BELL-CVE-2026-102010
BellSoft Hardened Containers23gcc12.2.1_git20220924-r15BELL-CVE-2026-102010
BellSoft Hardened Containers25gcc14.3.0-r6BELL-CVE-2026-102010
BellSoft Hardened Containersstreamgcc15.2.0-r11BELL-CVE-2026-102010

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A moderate-impact use-after-free flaw was found in the libstdc++ pb_ds binary heap implementation of the GNU Compiler Collection (GCC), affecting the gcc, gcc-toolset-15-gcc, and mingw-gcc components in Red Hat Enterprise Linux 10 and products that build on RHEL components, including OpenShift Container Platform RHEL CoreOS images and Red Hat hardened images, as well as Fedora community packages. When an application calls the erase_if() member function on a __gnu_pbds::priority_queue that uses the binary_heap_tag backend, the library reallocates the internal entry array but fails to update the m_a_entries pointer. Subsequent heap operations, such as make_heap(), then operate on the freed storage, and object teardown may free the stale pointer again, resulting in heap memory corruption that can crash or destabilize the affected application (denial of service) or cause other in-process memory corruption. Exploitation requires an application to specifically use the non-default pb_ds binary_heap_tag container type and invoke erase_if() on it; no default or remotely reachable vulnerable path is known in the shipped packages. Although the CVSS:3.1 base score for this flaw is 7.0, Red Hat rates its impact as Moderate because of this narrow, opt-in reachability, and a fix is being pursued for the affected products.

Red Hat's mitigation

Applications can mitigate this issue by avoiding calls to erase_if() on __gnu_pbds::priority_queue containers that use the binary_heap_tag backend. Where predicate-based removal is required, use an alternative container or a different heap backend in application code. Apart from applying a fixed package when one becomes available, no other mitigation is currently available.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10gcc-toolset-15-gcc-0:15.2.1-7.1.el10_2Fixed 2026-10-27RHSA-2026:89891
Red Hat Enterprise Linux 10gcc-toolset-15-gcc-0:15.2.1-8.1.el10_3Fixed 2026-11-11RHSA-2026:98576
Red Hat Enterprise Linux 10gcc-toolset-16-gcc-0:16.2.1-1.3.el10_3Fixed 2026-11-11RHSA-2026:98577
Red Hat Enterprise Linux 8gcc-0:8.5.0-30.el8_10Fixed 2026-10-26RHSA-2026:89830
Red Hat Enterprise Linux 8gcc-toolset-15-gcc-0:15.2.1-7.2.el8_10Fixed 2026-10-27RHSA-2026:90915
Red Hat Enterprise Linux 9gcc-toolset-15-gcc-0:15.2.1-7.3.el9_9Fixed 2026-11-11RHSA-2026:98474
Red Hat Enterprise Linux 9gcc-toolset-16-gcc-0:16.2.1-1.3.el9_9Fixed 2026-11-11RHSA-2026:98483
Red Hat Hardened Imagesgcc13-main-13.5.0-0.2.hum1Fixed 2026-09-30RHSA-2026:73642
Red Hat Hardened Imagesgcc-main-16.2.1-3.hum1Fixed 2026-10-01RHSA-2026:74569
Red Hat Hardened Imagesgcc-main-16.2.1-3.2.hum1Fixed 2026-11-05RHSA-2026:95581
Red Hat Enterprise Linux 10gccAffected
Red Hat Enterprise Linux 10gcc-toolset-16Not affected
Red Hat Enterprise Linux 10mingw-gccAffected
Red Hat Enterprise Linux 6compat-gcc-295Affected
Red Hat Enterprise Linux 6compat-gcc-296Affected
Red Hat Enterprise Linux 6compat-gcc-32Affected
Red Hat Enterprise Linux 6compat-gcc-34Affected
Red Hat Enterprise Linux 6gccAffected
Red Hat Enterprise Linux 7compat-gcc-32Affected
Red Hat Enterprise Linux 7compat-gcc-34Affected
44 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-102010.

References

Check your stackJSON