CVE-2026-115455

NameCVE-2026-115455
DescriptionA flaw was found in GCC libstdc++. When an application extracts data into a bitset from a wide-character stream, internal stack memory allocation fails to properly account for character size and alignment. An attacker capable of supplying crafted input to an affected application could trigger a stack-based buffer overflow leading denial of service (DoS).
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 Bugs1152816, 1152817, 1152818, 1152819

Vulnerable and fixed packages

The table below lists information on source packages.

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

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gcc-11source(unstable)(not affected)
gcc-12source(unstable)(not affected)
gcc-13source(unstable)13.5.0-41152816
gcc-14source(unstable)14.4.0-41152817
gcc-15source(unstable)15.3.0-61152818
gcc-16source(unstable)(unfixed)1152819

Notes

[trixie] - gcc-14 <no-dsa> (Minor issue)
[trixie] - gcc-13 <no-dsa> (Minor issue)
- gcc-12 <not-affected> (alloc handling is different, see #1152814)
- gcc-11 <not-affected> (alloc handling is different, see #1152814)
https://gcc.gnu.org/cgit/gcc/commit/?id=5d419c69ce2e6b86d7da75f18736904885674219
https://bugzilla.redhat.com/show_bug.cgi?id=2562933

Search for package or bug name: Reporting problems