CVE-2026-115455

Gcc: stack overflow in std::bitset on libstdc++

Published Oct 30, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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).

Analysis

AI-generated

Technical impact

A flaw in GCC's libstdc++ allows a stack-based buffer overflow when data is extracted into std::bitset from a wide-character stream. The memory allocation calculation does not correctly account for character size and alignment, so an attacker who can supply crafted input to a vulnerable application can trigger the overflow and cause a denial of service. The impact is a crash or halt of the affected process, which can allow an attacker to disrupt services that rely on the library.

Affected Systems

The vulnerability affects Red Hat Enterprise Linux releases 6 through 10, Red Hat Hardened Images, and Red Hat OpenShift Container Platform versions 4 and 5. Any systems running these distributions and using std::bitset with wide-character streams are potentially impacted.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity. EPSS information is not available, and the vulnerability is not listed in CISA's KEV catalog, suggesting no known widespread exploitation yet. The attack likely requires local or application-level control, as the malicious input must reach the vulnerable library. Once triggered the attack achieves a denial of service, but does not provide remote code execution or data disclosure. The lack of a documented workaround means administrators should prioritize patching when available and limit exposure otherwise.

Remediation

Vendor Workaround

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.


OpenCVE Recommended Actions

  • Apply the latest Red Hat security updates for RHEL 6‑10, OpenShift Platform 4 and 5 as soon as they are released.
  • Restrict applications from processing untrusted wide-character input, or validate the input before it reaches std::bitset.
  • If a patch is not yet available, modify or refactor problematic code paths to avoid using std::bitset with wide-character streams in critical components.
  • Continuously monitor Red Hat security advisories and the GCC repository for any updates or patches related to this vulnerability.

Generated by OpenCVE AI on October 30, 2026 at 08:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8::appstream
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:9::appstream
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10.3
References
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gcc
Gcc gcc
Red Hat
Red Hat enterprise Linux
Redhat hardened Images
Redhat openshift Container Platform
Vendors & Products Gcc
Gcc gcc
Red Hat
Red Hat enterprise Linux
Redhat hardened Images
Redhat openshift Container Platform
Type Values Removed Values Added
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).
Title Gcc: stack overflow in std::bitset on libstdc++
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Weaknesses CWE-787
CPEs cpe:/a:redhat:hummingbird:1
cpe:/a:redhat:openshift:4
cpe:/a:redhat:openshift:5
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 13, 2026, 4:06 AM
Reserved
Oct 22, 2026, 3:06 PM
Status
Awaiting Analysis
Published
Oct 30, 2026, 8:16 AM
Modified
Nov 13, 2026, 5:17 AM
Severity
Moderate
Public date
Oct 28, 2026, 3:46 PM