PT-2026-102328 · Gcc · Libstdc++
CVSS v3.1
7.0
High
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H |
Name of the Vulnerable Software and Affected Versions
GCC (affected versions not specified)
Description
A flaw exists in the libstdc++ library where calling the
erase if() function on a binary heap priority queue causes the library to reallocate storage without updating its internal entry pointer. This creates a use-after-free condition, which occurs when a program continues to use a pointer after the memory it points to has been freed. This can be exploited to cause a Denial of Service (DoS) through an application crash or lead to memory corruption.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
DoS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Libstdc++