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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | — | — |
| Red Hat | Red Hat Enterprise Linux 10.2 Extended Update Support | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat Enterprise Linux 9.8 Extended Update Support | — | — |
| Red Hat | Red Hat Hardened Images | — | — |
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat OpenShift AI (RHOAI) | — | — |
| Red Hat | Red Hat OpenShift Container Platform 4 | — | — |
| Red Hat | Red Hat OpenShift Container Platform 5 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gcc-12 | 12.5.0-11 | — |
| Debian 14 | gcc-13 | 13.5.0-2 | — |
| Debian 14 | gcc-14 | 14.4.0-3 | — |
| Debian 14 | gcc-15 | 15.3.0-5 | — |
| Debian 14 | gcc-16 | 16.2.0-4 | — |
| Debian 13 | gcc-12 +2 | No fix yet | — |
| Debian 12 | gcc-11 +1 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | gcc-11 +16 | No fix yet | — |
| Ubuntu 26.04 LTS | gcc-11 +16 | No fix yet | — |
| Ubuntu 24.04 LTS | gcc-9 +27 | No fix yet | — |
| Ubuntu 22.04 LTS | gcc-9 +25 | No fix yet | — |
| Ubuntu 20.04 LTS | gcc-7 +19 | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | gcc-5 +21 | No fix yet | — |
| Ubuntu 16.04 LTS | gcc-3.3 +22 | No fix yet | — |
| Ubuntu 14.04 LTS | gcc-3.3 +5 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | gcc-9 +2 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | gcc-5 +1 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | cpp +39 | 16.2.1-3.hum1 | RHSA-2026:74569 |
| Red Hat Hardened Images 1 | gcc13 +3 | 13.5.0-0.2.hum1 | RHSA-2026:73642 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | gcc-toolset-15-gcc +16 | 15.2.1-7.1.el10_2.alma.1 | ALSA-2026:89891 |
| AlmaLinux 8 | cpp +27 | 8.5.0-30.el8_10.alma.1 | ALSA-2026:90915, ALSA-2026:89830 |
| AlmaLinux 8 | libasan8 +18 | 15.2.1-7.2.el8_10 | ALSA-2026:90915 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | gcc-toolset-15-gcc | 15.2.1-7.1.el10_2 | RLSA-2026:89891 |
| Rocky Linux 8 | gcc | 8.5.0-30.el8_10 | RLSA-2026:89830 |
| Rocky Linux 8 | gcc-toolset-15-gcc | 15.2.1-7.2.el8_10 | RLSA-2026:90915 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | gcc7 +1 | 7.5.0+r278197-150000.4.49.1 | SUSE-SU-2026:4913-1 |
| SLES 15 SP6 | gcc7 +1 | 7.5.0+r278197-150000.4.49.1 | SUSE-SU-2026:4913-1 |
| SLES 15 SP5 | gcc7 +1 | 7.5.0+r278197-150000.4.49.1 | SUSE-SU-2026:4913-1 |
| SLES 15 SP4 | gcc7 +1 | 7.5.0+r278197-150000.4.49.1 | SUSE-SU-2026:4913-1 |
| SLES 12 SP5 | gcc48 | 4.8.5-31.32.1 | SUSE-SU-2026:4637-2, SUSE-SU-2026:4637-1 |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | gcc13 | 13.5.0+git10516-160000.1.1 | SUSE-SU-2026:24227-1 |
| SLES for SAP 15 SP6 | gcc7 +1 | 7.5.0+r278197-150000.4.49.1 | SUSE-SU-2026:4913-1 |
| SLES for SAP 15 SP5 | gcc7 +1 | 7.5.0+r278197-150000.4.49.1 | SUSE-SU-2026:4913-1 |
| SLES for SAP 15 SP4 | gcc7 +1 | 7.5.0+r278197-150000.4.49.1 | SUSE-SU-2026:4913-1 |
| SLES 16.0 | gcc13 | 13.5.0+git10516-160000.1.1 | SUSE-SU-2026:24227-1 |
| SLE Micro 6.2 | gcc13 | 13.5.0+git10516-160000.1.1 | SUSE-SU-2026:24129-1, SUSE-SU-2026:24116-1 |
| SLE Micro 6.0 | gcc13 | 13.5.0+git10516-159998.1.1 | SUSE-SU-2026:24367-1 |
| SLE HPC 15 SP5 | gcc7 +1 | 7.5.0+r278197-150000.4.49.1 | SUSE-SU-2026:4913-1 |
| SLE HPC 15 SP4 | gcc7 +1 | 7.5.0+r278197-150000.4.49.1 | SUSE-SU-2026:4913-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | gcc13 | 13.5.0+git10516-2.1 | openSUSE-SU-2026:11982-1 |
| openSUSE Tumbleweed | gcc14 | 14.4.0+git12698-2.1 | openSUSE-SU-2026:12496-1 |
| openSUSE Tumbleweed | gcc15 | 15.3.0+git11272-2.1 | openSUSE-SU-2026:12081-1 |
| openSUSE Tumbleweed | gcc16 | 16.2.1+git9713-1.1 | openSUSE-SU-2026:11941-1 |
| openSUSE Tumbleweed | gcc7 | 7.5.0+r278197-25.1 | openSUSE-SU-2026:11942-1 |
| openSUSE Leap 16.0 | gcc13 +19 | 13.5.0+git10516-160000.1.1 | openSUSE-SU-2026:22083-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | gcc | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | gcc-toolset-15-gcc +16 | 15.2.1-7.1.el10_2 | ELSA-2026-89891 |
| Oracle Linux 8 | cpp +27 | 8.5.0-30.0.1.el8_10 | ELSA-2026-89830 |
| Oracle Linux 8 | libasan8 +18 | 15.2.1-7.2.el8_10 | ELSA-2026-90915 |
Advisories 25
- WID-SEC-2026-3612 gcc: Schwachstelle ermöglicht Manipulation von Dateien und DoS BSI CERT-Bund (WID) · Nov 11, 2026
- openSUSE-SU-2026:12496-1 cpp14-14.4.0+git12698-2.1 on GA media SUSE / openSUSE Security Updates · Nov 10, 2026
- SUSE-SU-2026:4637-2 Security update for gcc48 SUSE / openSUSE Security Updates · Nov 3, 2026
- SUSE-SU-2026:4637-1 Security update for gcc48 SUSE / openSUSE Security Updates · Nov 2, 2026
- ALSA-2026:90915 Moderate: gcc-toolset-15-gcc security update AlmaLinux Security Advisories · Oct 30, 2026
- ELSA-2026-89830 Moderate: gcc security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 30, 2026
- RLSA-2026:89891 Moderate: gcc-toolset-15-gcc security update Rocky Linux Security Advisories · Oct 29, 2026
- RLSA-2026:90915 Moderate: gcc-toolset-15-gcc security update Rocky Linux Security Advisories · Oct 29, 2026
- ALSA-2026:89891 Moderate: gcc-toolset-15-gcc security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:89830 Moderate: gcc security update AlmaLinux Security Advisories · Oct 29, 2026
- ELSA-2026-90915 Moderate: gcc-toolset-15-gcc security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 28, 2026
- SUSE-SU-2026:24367-1 Security update for gcc13 SUSE / openSUSE Security Updates · Oct 27, 2026
- RLSA-2026:89830 Moderate: gcc security update Rocky Linux Security Advisories · Oct 27, 2026
- SUSE-SU-2026:4913-1 Security update for gcc7 SUSE / openSUSE Security Updates · Oct 26, 2026
- ELSA-2026-89891 Moderate: gcc-toolset-15-gcc security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Oct 26, 2026
- SUSE-SU-2026:24227-1 Security update for gcc13 SUSE / openSUSE Security Updates · Oct 21, 2026
- openSUSE-SU-2026:22083-1 Security update for gcc13 SUSE / openSUSE Security Updates · Oct 19, 2026
- RHSA-2026:74569 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2026:73642 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- SUSE-SU-2026:24129-1 Security update for gcc13 SUSE / openSUSE Security Updates · Oct 13, 2026
- SUSE-SU-2026:24116-1 Security update for gcc13 SUSE / openSUSE Security Updates · Oct 13, 2026
- openSUSE-SU-2026:12081-1 cpp15-15.3.0+git11272-2.1 on GA media SUSE / openSUSE Security Updates · Oct 9, 2026
- openSUSE-SU-2026:11982-1 cpp13-13.5.0+git10516-2.1 on GA media SUSE / openSUSE Security Updates · Oct 5, 2026
- openSUSE-SU-2026:11941-1 cpp16-16.2.1+git9713-1.1 on GA media SUSE / openSUSE Security Updates · Oct 2, 2026
- openSUSE-SU-2026:11942-1 cpp7-7.5.0+r278197-25.1 on GA media SUSE / openSUSE Security Updates · Oct 2, 2026
References
- RHSA-2026:73642 vendor-advisory
- RHSA-2026:74569 vendor-advisory
- RHSA-2026:89830 vendor-advisory
- RHSA-2026:89891 vendor-advisory
- RHSA-2026:90915 vendor-advisory
- RHSA-2026:95581 vendor-advisory
- RHSA-2026:98474 vendor-advisory
- RHSA-2026:98475 vendor-advisory
- RHSA-2026:98483 vendor-advisory
- RHSA-2026:98576 vendor-advisory
- RHSA-2026:98577 vendor-advisory
- RHSA-2026:98580 vendor-advisory
- RHSA-2026:99032 vendor-advisory
- RHSA-2026:99041 vendor-advisory
- RHSA-2026:99089 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-102010 vdb-entry
- RHBZ#2478395 issue-tracking