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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.54% (percentile 39, 2026-11-26)
- **CWE:** CWE-825
- **Published:** 2026-09-28T18:54:31.739Z
- **Modified:** 2026-11-26T21:17:14.930Z

## Who should check

- Anyone running Red Hat Enterprise Linux 10 all versions
- Anyone running Red Hat Enterprise Linux 10.2 Extended Update Support all versions
- Anyone running Red Hat Enterprise Linux 8 all versions
- Anyone running Red Hat Enterprise Linux 9 all versions
- Anyone running Red Hat Enterprise Linux 9.8 Extended Update Support all versions
- Anyone running Red Hat Hardened Images all versions
- Anyone running Red Hat Update Infrastructure 5 all versions
- Anyone running Red Hat Enterprise Linux 10 (versions: see the vendor advisory)

## 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 and fixed versions

- Red Hat Enterprise Linux 10: all versions (cvelist)
- Red Hat Enterprise Linux 10: all versions (cvelist)
- Red Hat Enterprise Linux 10: all versions (cvelist)
- Red Hat Enterprise Linux 10: all versions (cvelist)
- Red Hat Enterprise Linux 10.2 Extended Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat Enterprise Linux 9.8 Extended Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 9.8 Extended Update Support: all versions (cvelist)
- Red Hat Hardened Images: all versions (cvelist)
- Red Hat Hardened Images: all versions (cvelist)
- Red Hat Hardened Images: all versions (cvelist)
- Red Hat Update Infrastructure 5: all versions (cvelist)
- Red Hat Update Infrastructure 5: all versions (cvelist)
- Red Hat Update Infrastructure 5: all versions (cvelist)
- Red Hat Update Infrastructure 5: all versions (cvelist)
- Red Hat Update Infrastructure 5: all versions (cvelist)
- Red Hat Enterprise Linux 10: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 10: all versions (cvelist)
- Red Hat Enterprise Linux 6: all versions (cvelist)
- Red Hat Enterprise Linux 6: all versions (cvelist)
- Red Hat Enterprise Linux 6: all versions (cvelist)
- Red Hat Enterprise Linux 6: all versions (cvelist)
- Red Hat Enterprise Linux 6: all versions (cvelist)
- Red Hat Enterprise Linux 7: all versions (cvelist)
- Red Hat Enterprise Linux 7: all versions (cvelist)
- Red Hat Enterprise Linux 7: all versions (cvelist)
- Red Hat Enterprise Linux 7: all versions (cvelist)
- Red Hat Enterprise Linux 8: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat Enterprise Linux 9: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift AI (RHOAI): see vendor advisory (cvelist)
- Red Hat OpenShift Container Platform 4: see vendor advisory (cvelist)
- Red Hat OpenShift Container Platform 4: all versions (cvelist)
- Red Hat OpenShift Container Platform 5: all versions (cvelist)

## Mitigation

- Vendor 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-102010. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-102010.md
Affected: Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 10.2 Extended Update Support all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Lin…
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 10.2 Extended Update Support, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 9.8 Extended Update Support, Red Hat Hardened Images: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-102010 being exploited?

There is no confirmed exploitation: CVE-2026-102010 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.54% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-102010?

High: CVSS 7.0 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-102010?

Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 10.2 Extended Update Support all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9.8 Extended Update Support all versions; Red Hat Enterprise Linux 9.8 Extended Update Support all versions; Red Hat Hardened Images all versions; Red Hat Hardened Images all versions; Red Hat Hardened Images all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Enterprise Linux 10; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 6 all versions; Red Hat Enterprise Linux 6 all versions; Red Hat Enterprise Linux 6 all versions; Red Hat Enterprise Linux 6 all versions; Red Hat Enterprise Linux 6 all versions; Red Hat Enterprise Linux 7 all versions; Red Hat Enterprise Linux 7 all versions; Red Hat Enterprise Linux 7 all versions; Red Hat Enterprise Linux 7 all versions; Red Hat Enterprise Linux 8; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9; Red Hat Enterprise Linux 9 all versions; Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift AI (RHOAI); Red Hat OpenShift Container Platform 4; Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenShift Container Platform 5 all versions.

### Is there a fix for CVE-2026-102010?

No fixed version is listed in the sources yet. Vendor 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.

### How do I check if I'm affected by CVE-2026-102010?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2026:102947>
- vendor: <https://access.redhat.com/errata/RHSA-2026:73642>
- vendor: <https://access.redhat.com/errata/RHSA-2026:74569>
- vendor: <https://access.redhat.com/errata/RHSA-2026:89830>
- vendor: <https://access.redhat.com/errata/RHSA-2026:89891>
- vendor: <https://access.redhat.com/errata/RHSA-2026:90915>
- vendor: <https://access.redhat.com/errata/RHSA-2026:95581>
- vendor: <https://access.redhat.com/errata/RHSA-2026:98474>
- vendor: <https://access.redhat.com/errata/RHSA-2026:98475>
- vendor: <https://access.redhat.com/errata/RHSA-2026:98483>
- vendor: <https://access.redhat.com/errata/RHSA-2026:98576>
- vendor: <https://access.redhat.com/errata/RHSA-2026:98577>
- vendor: <https://access.redhat.com/errata/RHSA-2026:98580>
- vendor: <https://access.redhat.com/errata/RHSA-2026:99032>
- vendor: <https://access.redhat.com/errata/RHSA-2026:99041>
- vendor: <https://access.redhat.com/errata/RHSA-2026:99089>
- other: <https://access.redhat.com/security/cve/CVE-2026-102010>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2478395>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-102010>

HTML: <https://flawdb.com/CVE-2026-102010> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-102010>
