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.
References8
- access.redhat.com/errata/RHSA-2026:73642
- access.redhat.com/errata/RHSA-2026:74569
- access.redhat.com/errata/RHSA-2026:89830
- access.redhat.com/errata/RHSA-2026:89891
- access.redhat.com/errata/RHSA-2026:90915
- access.redhat.com/errata/RHSA-2026:95581
- access.redhat.com/security/cve/CVE-2026-102010
- bugzilla.redhat.com/show_bug.cgi?id=2478395
Metrics
- CVSS 3.1
-
7.0
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H - EPSS — exploit probability
- 0% percentile: 29 · as of 9 November 2026
- CWE
- CWE-825
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.