CVE-2026-102010

NameCVE-2026-102010
DescriptionA 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1150194, 1150195, 1150196, 1150197, 1150198

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gcc-11 (PTS)bookworm11.3.0-12vulnerable
sid11.5.0-13fixed
gcc-12 (PTS)bookworm12.2.0-14+deb12u1vulnerable
trixie12.4.0-5vulnerable
forky, sid12.5.0-11fixed
gcc-13 (PTS)trixie13.3.0-16vulnerable
forky13.5.0-1vulnerable
sid13.5.0-3fixed
gcc-14 (PTS)trixie14.2.0-19vulnerable
forky14.4.0-2vulnerable
sid14.4.0-3fixed
gcc-15 (PTS)forky, sid15.3.0-4vulnerable
gcc-16 (PTS)forky, sid16.2.0-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gcc-11source(unstable)11.5.0-13
gcc-12source(unstable)12.5.0-111150198
gcc-13source(unstable)13.5.0-21150197
gcc-14source(unstable)14.4.0-31150196
gcc-15source(unstable)(unfixed)1150195
gcc-16source(unstable)(unfixed)1150194

Notes

[trixie] - gcc-14 <no-dsa> (Minor issue)
[trixie] - gcc-13 <no-dsa> (Minor issue)
[trixie] - gcc-12 <ignored> (Minor issue, not fixed in upstream 12 branch)
[bookworm] - gcc-12 <ignored> (Minor issue, not fixed in upstream 12 branch)
[bookworm] - gcc-11 <ignored> (Minor issue)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127656
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=aaa8351f4d2e636f9680a1f0a8ebc2f0a60611e6
https://bugzilla.redhat.com/show_bug.cgi?id=2478395

Search for package or bug name: Reporting problems