cve.bz

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

6.5 mediumEPSS 0.4%Fix available

Medium (6.5) in red hat. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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).

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
EPSS
0.4% (unchanged from 0.4% a week ago) estimated probability of exploitation activity in the next 30 days; 35th percentile. Scored 2026-11-19. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-11-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:15.2.1-8.2.el10_3
  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:16.2.1-1.4.el10_3
  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:14.4.1-5.el10_3
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:15.2.1-7.3.el8_10
  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:15.2.1-7.4.el9_9
  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:16.2.1-1.4.el9_9
  • Red Hat Red Hat Hardened Images: fixed in 13.5.0-0.4.hum1
  • Red Hat Red Hat Hardened Images: fixed in 16.2.1-3.2.hum1
  • Debian, Red Hat, openSUSE, AlmaLinux, Rocky Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-115455 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-115455?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-115455?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-115455 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:15.2.1-8.2.el10_3
Red Hat Enterprise Linux 100:16.2.1-1.4.el10_3
Red Hat Enterprise Linux 100:14.4.1-5.el10_3
Red Hat Enterprise Linux 80:15.2.1-7.3.el8_10
Red Hat Enterprise Linux 90:15.2.1-7.4.el9_9
Red Hat Enterprise Linux 90:16.2.1-1.4.el9_9
Red Hat Hardened Images13.5.0-0.4.hum1
Red Hat Hardened Images16.2.1-3.2.hum1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13gcc-13, gcc-14no fix listedDEBIAN-CVE-2026-115455
Debian14gcc-13, gcc-15, gcc-16no fix listedDEBIAN-CVE-2026-115455
Debian14gcc-1414.4.0-4DEBIAN-CVE-2026-115455
Ubuntu14.04:LTSgcc-3.3, gcc-4.7, gcc-4.8 and 3 moreno fix listedUBUNTU-CVE-2026-115455
Ubuntu16.04:LTSgcc-3.3, gcc-4.8, gcc-4.9 and 19 moreno fix listedUBUNTU-CVE-2026-115455
Ubuntu18.04:LTSgcc-5, gcc-6, gcc-7 and 19 moreno fix listedUBUNTU-CVE-2026-115455
Ubuntu20.04:LTSgcc-7, gcc-8, gcc-3.3 and 17 moreno fix listedUBUNTU-CVE-2026-115455
Ubuntu22.04:LTSgcc-9, gcc-10, gcc-11 and 23 moreno fix listedUBUNTU-CVE-2026-115455
Ubuntu24.04:LTSgcc-9, gcc-10, gcc-11 and 25 moreno fix listedUBUNTU-CVE-2026-115455
Ubuntu26.04:LTS, 26.10gcc-11, gcc-12, gcc-13 and 14 moreno fix listedUBUNTU-CVE-2026-115455
UbuntuPro:16.04:LTSgcc-5, gccgo-6no fix listedUBUNTU-CVE-2026-115455
UbuntuPro:20.04:LTSgcc-9, gcc-10, gcc-9-crossno fix listedUBUNTU-CVE-2026-115455
Red Hatenterprise_linux:8::appstreamliblsan, libasan8, libtsan2 and 28 more0:15.2.1-7.3.el8_10RHSA-2026:99632
Red Hatenterprise_linux:9::appstreamliblsan, libasan8, libtsan2 and 31 more0:16.2.1-1.4.el9_9RHSA-2026:98534
Red Hatenterprise_linux:9::appstreamliblsan, libasan8, libtsan2 and 28 more0:15.2.1-7.4.el9_9RHSA-2026:98526
Red Hatenterprise_linux:10.3cpp, gcc, libgcc and 62 more0:14.4.1-5.el10_3RHSA-2026:98648
Red Hatenterprise_linux:10.3gcc-toolset-15-gcc, gcc-toolset-15-gcc-c++, gcc-toolset-15-libgccjit and 21 more0:15.2.1-8.2.el10_3RHSA-2026:98633
Red Hatenterprise_linux:10.3libgdiagnostics, gcc-toolset-16-gcc, gcc-toolset-16-gcc-c++ and 24 more0:16.2.1-1.4.el10_3RHSA-2026:98640
Red Hathummingbird:1cpp, gcc, libgcc and 37 more0:16.2.1-3.2.hum1RHSA-2026:95581
Red Hathummingbird:1gcc13, gcc13-c++, gcc13-gfortran and 1 more0:13.5.0-0.4.hum1RHSA-2026:94989
openSUSETumbleweedgcc1313.5.0+git10516-3.1openSUSE-SU-2026:12510-1
openSUSETumbleweedgcc1414.4.0+git12698-2.1openSUSE-SU-2026:12496-1
openSUSETumbleweedgcc1515.3.0+git11272-4.1openSUSE-SU-2026:12511-1
openSUSETumbleweedgcc1616.2.1+git9901-1.1openSUSE-SU-2026:12482-1
AlmaLinux8liblsan, libasan8, libtsan2 and 17 more15.2.1-7.3.el8_10ALSA-2026:99632
AlmaLinux9liblsan, libasan8, libtsan2 and 17 more15.2.1-7.4.el9_9ALSA-2026:98526
AlmaLinux9liblsan, libasan8, libtsan2 and 19 more16.2.1-1.4.el9_9ALSA-2026:98534
AlmaLinux10cpp, gcc, libgcc and 28 more14.4.1-5.el10_3.alma.3ALSA-2026:98648
AlmaLinux10gcc-toolset-15-gcc, gcc-toolset-15-gcc-c++, gcc-toolset-15-libgccjit and 14 more15.2.1-8.2.el10_3.alma.1ALSA-2026:98633
AlmaLinux10libgdiagnostics, gcc-toolset-16-gcc, gcc-toolset-16-gcc-c++ and 16 more16.2.1-1.4.el10_3.alma.1ALSA-2026:98640
Rocky Linux8libasan8, libtsan2, gcc-toolset-15-gcc and 25 more0:15.2.1-7.3.el8_10RLSA-2026:99632
Rocky Linux9gcc-toolset-15-gcc, gcc-toolset-15-gcc-c++, gcc-toolset-15-libgccjit and 21 more0:15.2.1-7.4.el9_9RLSA-2026:98526
Rocky Linux9liblsan, libasan8, libtsan2 and 30 more0:16.2.1-1.4.el9_9RLSA-2026:98534
Rocky Linux10cpp, gcc, libgcc and 52 more0:14.4.1-5.el10_3RLSA-2026:98648
Rocky Linux10gcc-toolset-15-gcc, gcc-toolset-15-gcc-c++, gcc-toolset-15-libgccjit and 21 more0:15.2.1-8.2.el10_3RLSA-2026:98633
Rocky Linux10libgdiagnostics, gcc-toolset-16-gcc, gcc-toolset-16-gcc-c++ and 24 more0:16.2.1-1.4.el10_3RLSA-2026:98640
Azure Linux3gccno fix listedAZL-112433

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate impact for Red Hat products because triggering the condition requires an application to extract untrusted wide-character input into a bitset container, an uncommon design pattern in standard enterprise deployments. In typical configurations, applications are only exposed if they specifically process external wide streams using this functionality. Furthermore, Red Hat compiler stack-hardening features generally cause the affected binary to abort upon stack corruption, constraining the risk to a denial of service.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10gcc-toolset-15-gcc-0:15.2.1-8.2.el10_3Fixed 2026-11-11RHSA-2026:98633
Red Hat Enterprise Linux 10gcc-toolset-16-gcc-0:16.2.1-1.4.el10_3Fixed 2026-11-11RHSA-2026:98640
Red Hat Enterprise Linux 10gcc-0:14.4.1-5.el10_3Fixed 2026-11-11RHSA-2026:98648
Red Hat Enterprise Linux 8gcc-toolset-15-gcc-0:15.2.1-7.3.el8_10Fixed 2026-11-12RHSA-2026:99632
Red Hat Enterprise Linux 9gcc-toolset-15-gcc-0:15.2.1-7.4.el9_9Fixed 2026-11-11RHSA-2026:98526
Red Hat Enterprise Linux 9gcc-toolset-16-gcc-0:16.2.1-1.4.el9_9Fixed 2026-11-11RHSA-2026:98534
Red Hat Hardened Imagesgcc13-main-13.5.0-0.4.hum1Fixed 2026-11-04RHSA-2026:94989
Red Hat Enterprise Linux 10mingw-gccFix deferred
Red Hat Enterprise Linux 6compat-gcc-295Not affected
Red Hat Enterprise Linux 6compat-gcc-296Not affected
Red Hat Enterprise Linux 6compat-gcc-32Not affected
Red Hat Enterprise Linux 6compat-gcc-34Not affected
Red Hat Enterprise Linux 6gccNot affected
Red Hat Enterprise Linux 7compat-gcc-32Not affected
Red Hat Enterprise Linux 7compat-gcc-34Not affected
Red Hat Enterprise Linux 7compat-gcc-44Not affected
Red Hat Enterprise Linux 7gccNot affected
Red Hat Enterprise Linux 8gccNot affected
Red Hat Enterprise Linux 8gcc-toolset-14-gccNot affected
Red Hat Enterprise Linux 8mingw-gccNot affected
7 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-115455.

References

Check your stackJSON