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)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gcc-12 (PTS)bookworm12.2.0-14+deb12u1vulnerable
trixie12.4.0-5vulnerable
forky, sid12.5.0-9vulnerable
gcc-14 (PTS)trixie14.2.0-19vulnerable
forky, sid14.4.0-2vulnerable
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-12source(unstable)(unfixed)
gcc-14source(unstable)(unfixed)
gcc-15source(unstable)(unfixed)
gcc-16source(unstable)(unfixed)

Notes

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