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.
The product dereferences a pointer that contains a location for memory that was previously valid, but is no longer valid.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | RedHat | gcc-toolset-15-gcc-0:15.2.1-7.1.el10_2 | * |
| Red Hat Enterprise Linux 10 | RedHat | gcc-toolset-15-gcc-0:15.2.1-8.1.el10_3 | * |
| Red Hat Enterprise Linux 10 | RedHat | gcc-toolset-16-gcc-0:16.2.1-1.3.el10_3 | * |
| Red Hat Enterprise Linux 10 | RedHat | gcc-0:14.4.1-4.el10_3 | * |
| Red Hat Enterprise Linux 10.2 Extended Update Support | RedHat | gcc-0:14.3.1-4.5.el10_2 | * |
| Red Hat Enterprise Linux 8 | RedHat | gcc-0:8.5.0-30.el8_10 | * |
| Red Hat Enterprise Linux 8 | RedHat | gcc-toolset-15-gcc-0:15.2.1-7.2.el8_10 | * |
| Red Hat Enterprise Linux 8 | RedHat | gcc-0:8.5.0-30.el8_10 | * |
| Red Hat Enterprise Linux 9 | RedHat | gcc-toolset-15-gcc-0:15.2.1-7.3.el9_9 | * |
| Red Hat Enterprise Linux 9 | RedHat | gcc-0:11.5.0-16.el9_9 | * |
| Red Hat Enterprise Linux 9 | RedHat | gcc-toolset-16-gcc-0:16.2.1-1.3.el9_9 | * |
| Red Hat Enterprise Linux 9 | RedHat | gcc-0:11.5.0-16.el9_9 | * |
| Red Hat Enterprise Linux 9.8 Extended Update Support | RedHat | gcc-0:11.5.0-15.el9_8 | * |
| Red Hat Enterprise Linux 9.8 Extended Update Support | RedHat | gcc-toolset-15-gcc-0:15.2.1-7.3.el9_8 | * |
| Red Hat Hardened Images | RedHat | gcc13-main-13.5.0-0.2.hum1 | * |
| Red Hat Hardened Images | RedHat | gcc-main-16.2.1-3.hum1 | * |
| Red Hat Hardened Images | RedHat | gcc-main-16.2.1-3.2.hum1 | * |
| Gcc-10-cross-mipsen | Ubuntu | esm-apps/jammy | * |
| Gcc-10-cross-mipsen | Ubuntu | jammy | * |
| Gcc-11 | Ubuntu | jammy | * |
| Gcc-12-cross-mipsen | Ubuntu | esm-apps/noble | * |
| Gcc-12-cross-mipsen | Ubuntu | noble | * |
| Gcc-4.7 | Ubuntu | esm-apps-legacy/xenial | * |
| Gcc-9 | Ubuntu | esm-apps/jammy | * |
| Gcc-9 | Ubuntu | jammy | * |
| Gcc-arm-none-eabi | Ubuntu | esm-apps/jammy | * |
| Gcc-arm-none-eabi | Ubuntu | jammy | * |
| Gcc-avr | Ubuntu | esm-apps/jammy | * |
| Gcc-avr | Ubuntu | esm-apps/noble | * |
| Gcc-avr | Ubuntu | jammy | * |
| Gcc-avr | Ubuntu | noble | * |
| Gcc-mingw-w64 | Ubuntu | esm-apps/jammy | * |
| Gcc-mingw-w64 | Ubuntu | jammy | * |
| Gcc-snapshot | Ubuntu | esm-apps/noble | * |
| Gcc-snapshot | Ubuntu | esm-apps/resolute | * |
| Gcc-snapshot | Ubuntu | noble | * |
| Gcc-snapshot | Ubuntu | resolute | * |