# CVE-2026-115455: Gcc: stack overflow in std::bitset on libstdc++

- Severity: Medium 6.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-10-30T07:13:06.547Z
- Modified: 2026-11-24T10:17:45.113Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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).

(As written by CVE List.)

## Affected

- gcc-toolset-15-gcc: no versions given (not affected: from 0:15.2.1-8.2.el10_3 before *; from 0:15.2.1-7.3.el8_10 before *; from 0:15.2.1-7.4.el9_9 before *)
- gcc-toolset-16-gcc: no versions given (not affected: from 0:16.2.1-1.4.el10_3 before *; from 0:16.2.1-1.4.el9_9 before *)
- gcc: no versions given (not affected: from 0:14.4.1-5.el10_3 before *)
- gcc13-main: no versions given (not affected: from 13.5.0-0.4.hum1 before *)
- gcc-main: no versions given (not affected: from 16.2.1-3.2.hum1 before *)
- mingw-gcc: no versions given
- compat-gcc-295: no versions given
- compat-gcc-296: no versions given
- compat-gcc-32: no versions given
- compat-gcc-34: no versions given
- compat-gcc-44: no versions given
- gcc-toolset-14-gcc: no versions given
- openshift/ose-rhel-coreos-8: no versions given
- openshift/ose-rhel-coreos-9: no versions given

## References

- <https://access.redhat.com/errata/RHSA-2026:94989> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:95581> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98526> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98534> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98633> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98640> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98648> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:99632> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-115455> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2562933> (issue-tracking)
- <https://gcc.gnu.org/cgit/gcc/commit/?id=5d419c69ce2e6b86d7da75f18736904885674219>

## Sources

- CVE List: [CVE-2026-115455](https://www.cve.org/CVERecord?id=CVE-2026-115455), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-115455](https://nvd.nist.gov/vuln/detail/CVE-2026-115455), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-115455 · Whole record: https://cve.day/CVE-2026-115455.json · Rebuilt by cve.day 2026-11-25T22:59:47.896Z
