A flaw was found in libstdc++. An integer overflow can occur when processing large inputs to the aligned operator new in the C++ library. This vulnerability could lead to an undersized memory allocation, potentially causing memory corruption or application instability.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | RedHat | gcc-0:8.5.0-30.el8_10 | * |
| Red Hat Enterprise Linux 8 | RedHat | gcc-0:8.5.0-30.el8_10 | * |
| Red Hat Enterprise Linux 9 | RedHat | gcc-0:11.5.0-16.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 Hardened Images | RedHat | gcc-main-16.2.1-2.hum1 | * |
| Red Hat Hardened Images | RedHat | gcc13-main-13.5.0-0.1.hum1 | * |
| Gcc-10 | Ubuntu | esm-apps/noble | * |
| Gcc-10 | Ubuntu | noble | * |
| Gcc-11 | Ubuntu | esm-apps/resolute | * |
| Gcc-11 | Ubuntu | jammy | * |
| Gcc-11 | Ubuntu | resolute | * |
| Gcc-12 | Ubuntu | esm-apps/noble | * |
| Gcc-12 | Ubuntu | jammy | * |
| Gcc-12 | Ubuntu | noble | * |
| Gcc-12-cross | Ubuntu | esm-apps/noble | * |
| Gcc-12-cross | Ubuntu | noble | * |
| Gcc-9 | Ubuntu | esm-apps/jammy | * |
| Gcc-9 | Ubuntu | esm-apps/noble | * |
| Gcc-9 | Ubuntu | jammy | * |
| Gcc-9 | Ubuntu | noble | * |
| Gcc-arm-none-eabi | Ubuntu | esm-apps/jammy | * |
| Gcc-arm-none-eabi | Ubuntu | esm-apps/noble | * |
| Gcc-arm-none-eabi | Ubuntu | jammy | * |
| Gcc-arm-none-eabi | Ubuntu | noble | * |
| Gcc-avr | Ubuntu | esm-apps/noble | * |
| Gcc-avr | Ubuntu | noble | * |
| Gcc-riscv64-unknown-elf | Ubuntu | esm-apps/resolute | * |
| Gcc-riscv64-unknown-elf | Ubuntu | resolute | * |
| Gcc-snapshot | Ubuntu | esm-apps/jammy | * |
| Gcc-snapshot | Ubuntu | esm-apps/resolute | * |
| Gcc-snapshot | Ubuntu | jammy | * |
| Gcc-snapshot | Ubuntu | resolute | * |