CVE-2026-102010
Gcc-toolset-15-gcc: gcc: gcc-toolset-16: gcc: denial of service via use-after-free in binary heap erase_if
- Published
- Updated
- Reserved
- 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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H |
| NVDNVD · Awaiting Analysis | 3.1 | High7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H |
- EPSS (exploitation in 30 days)
- 0.35% · top 71% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.0.
Weakness
Affected products
Red Hat · Red Hat Enterprise Linux 10
- unaffected 0:15.2.1-7.1.el10_2 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:8.5.0-30.el8_10 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:15.2.1-7.2.el8_10 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:8.5.0-30.el8_10 – < *
Red Hat · Red Hat Hardened Images
- unaffected 13.5.0-0.2.hum1 – < *
Red Hat · Red Hat Hardened Images
- unaffected 16.2.1-3.hum1 – < *
Red Hat · Red Hat Hardened Images
- unaffected 16.2.1-3.2.hum1 – < *
Red Hat · Red Hat Enterprise Linux 10
All versions: affected
Red Hat · Red Hat Enterprise Linux 10
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 10
All versions: affected
Red Hat · Red Hat Enterprise Linux 10
All versions: affected
Red Hat · Red Hat Enterprise Linux 6
All versions: affected
Red Hat · Red Hat Enterprise Linux 6
All versions: affected
Red Hat · Red Hat Enterprise Linux 6
All versions: affected
Red Hat · Red Hat Enterprise Linux 6
All versions: affected
Red Hat · Red Hat Enterprise Linux 6
All versions: affected
Red Hat · Red Hat Enterprise Linux 7
All versions: affected
Red Hat · Red Hat Enterprise Linux 7
All versions: affected
Red Hat · Red Hat Enterprise Linux 7
All versions: affected
Red Hat · Red Hat Enterprise Linux 7
All versions: affected
Red Hat · Red Hat Enterprise Linux 8
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 8
All versions: affected
Red Hat · Red Hat Enterprise Linux 8
All versions: affected
Red Hat · Red Hat Enterprise Linux 9
All versions: affected
Red Hat · Red Hat Enterprise Linux 9
All versions: affected
Red Hat · Red Hat Enterprise Linux 9
All versions: affected
Red Hat · Red Hat Enterprise Linux 9
All versions: unaffected
Red Hat · Red Hat Enterprise Linux 9
All versions: affected
Red Hat · Red Hat Enterprise Linux 9
All versions: affected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unknown
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unknown
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unknown
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unknown
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unknown
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unknown
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unknown
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unknown
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unknown
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unknown
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unknown
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unknown
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift AI (RHOAI)
All versions: unaffected
Red Hat · Red Hat OpenShift Container Platform 4
All versions: unaffected
Red Hat · Red Hat OpenShift Container Platform 4
All versions: affected
Red Hat · Red Hat OpenShift Container Platform 5
All versions: affected
What to do
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.
References (8)
- RHSA-2026:73642 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:74569 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:89830 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:89891 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:90915 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:95581 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-102010 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2478395 (opens in a new tab)issue-trackingx_refsource_REDHAT
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-102010)Record last updated .