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.
Published: 2026-09-28
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

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.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 02 Oct 2026 02:45:00 +0000

Type Values Removed Values Added
References

Wed, 30 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
References

Tue, 29 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
First Time appeared Gnu
Gnu gcc
Redhat hardened Images
Redhat openshift Container Platform
Vendors & Products Gnu
Gnu gcc
Redhat hardened Images
Redhat openshift Container Platform

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 28 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 28 Sep 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825

Mon, 28 Sep 2026 19:00:00 +0000

Type Values Removed Values Added
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.
Title Gcc-toolset-15-gcc: gcc: gcc-toolset-16: gcc: denial of service via use-after-free in binary heap erase_if
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
CPEs cpe:/a:redhat:hummingbird:1
cpe:/a:redhat:openshift:4
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H'}


Subscriptions

Gnu Gcc
Redhat Enterprise Linux Hardened Images Hummingbird Openshift Openshift Container Platform
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-10-16T12:19:40.441Z

Reserved: 2026-09-28T17:33:28.667Z

Link: CVE-2026-102010

cve-icon Vulnrichment

Updated: 2026-09-28T20:53:16.730Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-28T19:16:48.830

Modified: 2026-10-02T03:16:38.620

Link: CVE-2026-102010

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-28T17:44:00Z

Links: CVE-2026-102010 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-29T13:20:25Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference