Use-After-Free Flaw in GCC Affecting Libstdc++
CVE-2026-102010

7HIGH

What is CVE-2026-102010?

A flaw exists in the GCC compiler where the erase_if function in the libstdc++ library does not properly handle the reallocation of storage within a binary heap priority queue. This oversight results in a use-after-free condition, which may allow an attacker with the capability to invoke the erase_if function to exploit this vulnerability. The consequences can include unauthorized application crashes and potential memory corruption, posing significant risks to overall system stability and security.

Affected Version(s)

Red Hat Enterprise Linux 10 0:15.2.1-7.1.el10_2

Red Hat Enterprise Linux 10 0:15.2.1-8.1.el10_3

Red Hat Enterprise Linux 10 0:16.2.1-1.3.el10_3

References

CVSS V3.1

Score:
7
Severity:
HIGH
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

This issue was discovered by Found by AISLE in partnership with Red Hat.
.