CVE-2026-102010

Gcc-toolset-15-gcc: gcc: gcc-toolset-16: gcc: denial of service via use-after-free in binary heap erase_if

State
Published
Severity
7.0 High
Published
Sep 28, 2026
Updated
Nov 1, 2026
Reserved
Sep 28, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.0 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:Hredhat

Weaknesses

  • CWE-825 Expired Pointer Dereference

Affected Products

ProductVersions
Red Hat Enterprise Linux 10Red Hat
  • 0:15.2.1-7.1.el10_2 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:8.5.0-30.el8_10 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:15.2.1-7.2.el8_10 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:8.5.0-30.el8_10 and laterNot affected
Red Hat Hardened ImagesRed Hat
  • 13.5.0-0.2.hum1 and laterNot affected
Red Hat Hardened ImagesRed Hat
  • 16.2.1-3.hum1 and laterNot affected
Red Hat Enterprise Linux 10Red Hat
    Red Hat Enterprise Linux 10Red Hat
      Red Hat Enterprise Linux 10Red Hat
        Red Hat Enterprise Linux 10Red Hat
          Red Hat Enterprise Linux 6Red Hat
            Red Hat Enterprise Linux 6Red Hat
              Red Hat Enterprise Linux 6Red Hat
                Red Hat Enterprise Linux 6Red Hat
                  Red Hat Enterprise Linux 6Red Hat
                    Red Hat Enterprise Linux 7Red Hat
                      Red Hat Enterprise Linux 7Red Hat
                        Red Hat Enterprise Linux 7Red Hat
                          Red Hat Enterprise Linux 7Red Hat
                            Red Hat Enterprise Linux 8Red Hat
                              Red Hat Enterprise Linux 8Red Hat
                                Red Hat Enterprise Linux 8Red Hat
                                  Red Hat Enterprise Linux 9Red Hat
                                    Red Hat Enterprise Linux 9Red Hat
                                      Red Hat Enterprise Linux 9Red Hat
                                        Red Hat Enterprise Linux 9Red Hat
                                          Red Hat Enterprise Linux 9Red Hat
                                            Red Hat Enterprise Linux 9Red Hat
                                              Red Hat OpenShift Container Platform 4Red Hat
                                                Red Hat OpenShift Container Platform 4Red Hat
                                                  Red Hat OpenShift Container Platform 5Red Hat

                                                    References

                                                    Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.