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

Status: published. Published: 2026-09-28. Updated: 2026-11-06.

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.

## Remediation

- workaround: 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. (source: CNA: redhat)

## Affected products and versions

- Red Hat / Red Hat Enterprise Linux 10 (gcc-toolset-15-gcc): ≥ 0:15.2.1-7.1.el10_2; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (gcc): ≥ 0:8.5.0-30.el8_10; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (gcc-toolset-15-gcc): ≥ 0:15.2.1-7.2.el8_10; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Hardened Images (gcc13-main): ≥ 13.5.0-0.2.hum1; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Hardened Images (gcc-main): ≥ 16.2.1-3.hum1; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Hardened Images (gcc-main): ≥ 16.2.1-3.2.hum1; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 10 (gcc): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 10 (gcc-toolset-16): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 10 (gcc-toolset-16-gcc): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 10 (mingw-gcc): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 6 (compat-gcc-295): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 6 (compat-gcc-296): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 6 (compat-gcc-32): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 6 (compat-gcc-34): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 6 (gcc): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 7 (compat-gcc-32): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 7 (compat-gcc-34): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 7 (compat-gcc-44): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 7 (gcc): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (gcc-toolset-14-gcc): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (mingw-gcc): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (rteval-loads): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9 (gcc): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9 (gcc-toolset-14-gcc): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9 (gcc-toolset-15-gcc): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9 (gcc-toolset-16): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9 (gcc-toolset-16-gcc): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9 (mingw-gcc): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-ai-gateway-operator-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-core-bff-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-dashboard-operator-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-dashboard-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-data-science-pipelines-operator-controller-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-kf-notebook-controller-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-kserve-controller-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-kserve-llmisvc-controller-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-kserve-module-operator-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-kuberay-operator-controller-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-kube-rbac-proxy-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-llama-stack-k8s-operator-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-maas-controller-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-mlflow-operator-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-mlflow-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-mod-arch-agent-ops-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-mod-arch-automl-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-mod-arch-autorag-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-mod-arch-eval-hub-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-mod-arch-gen-ai-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-mod-arch-maas-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-mod-arch-mlflow-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-mod-arch-model-registry-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-model-controller-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-model-registry-operator-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-model-serving-api-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-notebook-controller-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-ogx-k8s-operator-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-ogx-module-operator-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-training-operator-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-trustyai-service-operator-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift AI (RHOAI) (rhoai/odh-workbenches-operator-rhel9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Container Platform 4 (openshift/ose-rhel-coreos-8): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Container Platform 4 (openshift/ose-rhel-coreos-9): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat OpenShift Container Platform 5 (openshift/ose-rhel-coreos-9): Version range not reported. Source: CNA: redhat

## Severity and prioritization

- CVSS 3.1: 7 (high); CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H; source: CNA: redhat

- CVSS 3.1: 7 (high); CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H; source: NVD: secalert@redhat.com

- CISA KEV: No listing in collected sources

- EPSS: 0.34% as of 2026-11-05; percentile 27.65%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-825

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://access.redhat.com/errata/RHSA-2026:73642 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:74569 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:89830 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:89891 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:90915 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:95581 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/security/cve/CVE-2026-102010 (CNA: redhat; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2478395 (CNA: redhat; issue-tracking, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:73642 (secalert@redhat.com)

- https://access.redhat.com/errata/RHSA-2026:74569 (secalert@redhat.com)

- https://access.redhat.com/errata/RHSA-2026:89830 (secalert@redhat.com)

- https://access.redhat.com/errata/RHSA-2026:89891 (secalert@redhat.com)

- https://access.redhat.com/errata/RHSA-2026:90915 (secalert@redhat.com)

- https://access.redhat.com/security/cve/CVE-2026-102010 (secalert@redhat.com)

- https://bugzilla.redhat.com/show_bug.cgi?id=2478395 (secalert@redhat.com)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2026-102010; retrieved 2026-11-06; source updated 2026-11-06

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-102010; retrieved 2026-11-05; source updated 2026-11-05

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-102010; retrieved 2026-11-05; source updated Not reported

Revision: fa20257d9d41ffedba258197e8aecd0a1df70708c0cc886b3a222e4782988a3b

Canonical: https://y2.dev/cve/CVE-2026-102010

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.