| Name | CVE-2026-115455 |
| Description | A 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). |
| Source | CVE (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 Bugs | 1152816, 1152817, 1152818, 1152819 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| gcc-11 (PTS) | bookworm | 11.3.0-12 | fixed |
| sid | 11.5.0-14 | fixed |
| gcc-12 (PTS) | bookworm | 12.2.0-14+deb12u1 | fixed |
| trixie | 12.4.0-5 | fixed |
| forky | 12.5.0-11 | fixed |
| sid | 12.5.0-12 | fixed |
| gcc-13 (PTS) | trixie | 13.3.0-16 | vulnerable |
| forky | 13.5.0-3 | vulnerable |
| sid | 13.5.0-4 | fixed |
| gcc-14 (PTS) | trixie | 14.2.0-19 | vulnerable |
| forky, sid | 14.4.0-4 | fixed |
| gcc-15 (PTS) | forky | 15.3.0-5 | vulnerable |
| sid | 15.3.0-6 | fixed |
| gcc-16 (PTS) | forky | 16.2.0-4 | vulnerable |
| sid | 16.2.0-5 | vulnerable |
The information below is based on the following data on fixed versions.
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