CVE-2026-114691

Gcc: integer wrap in `std

Published Oct 30, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in the libstdc++ component of GCC. An attacker who can provide an excessively large element count to a boolean vector (std::vector<bool>) constructor can trigger an integer wrap during internal memory calculations. This issue leaves the container in an inconsistent state, leading to out-of-bounds memory access and resulting in an application crash or a Denial of Service (DoS) during subsequent operations.

Analysis

AI-generated

Technical impact

A flaw exists in the libstdc++ component of GCC. When an attacker supplies an exceedingly large element count to the constructor of a boolean vector (std::vector<bool>), an integer wrap can occur during internal memory calculations. This causes the container to enter an inconsistent state, leading to out‑of‑bounds memory access that can crash the application or produce a denial of service in later operations. The weakness is a classic integer overflow (CWE‑190).

Affected Systems

This issue affects multiple Red Hat products: all Red Hat Enterprise Linux releases from 6 through 10, as well as Red Hat Hardened Images and Red Hat OpenShift Container Platform versions 4 and 5. The vulnerability resides in the GCC libstdc++ library shipped with these distributions.

Risk and Exploitability

With a CVSS score of 5.9 the vulnerability is moderate. EPSS is currently unavailable and the entry is not listed in the CISA KEV catalog, suggesting relatively low exploitation probability at this time. The attack requires that an attacker be able to execute code that invokes the std::vector<bool> constructor with a large size; the likely vector is local or within a privileged application. No official workaround exists. Therefore, the risk is mainly a local denial of service that could impact application availability.

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

  • Update to the newest Red Hat Enterprise Linux and OpenShift Container Platform releases, as newer packages may contain a fixed libstdc++.
  • Modify application code to validate any size parameters passed to std::vector<bool> constructors, ensuring the element count stays within a safe, bounded range.
  • Implement resource limits or isolation for vulnerable processes, such as setting ulimit values or running services in container sandboxing, to contain a potential crash or DoS impact.

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:9::appstream
cpe:/a:redhat:enterprise_linux:9::crb
cpe:/o:redhat:enterprise_linux:9::baseos
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10.3
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8::appstream
cpe:/a:redhat:enterprise_linux:8::crb
cpe:/o:redhat:enterprise_linux:8::baseos
References
Type Values Removed Values Added
First Time appeared Redhat openshift Ai
CPEs cpe:/a:redhat:openshift_ai
Vendors & Products Redhat openshift Ai
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 the libstdc++ component of GCC. An attacker who can provide an excessively large element count to a boolean vector (std::vector<bool>) constructor can trigger an integer wrap during internal memory calculations. This issue leaves the container in an inconsistent state, leading to out-of-bounds memory access and resulting in an application crash or a Denial of Service (DoS) during subsequent operations.
Title Gcc: integer wrap in `std
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Weaknesses CWE-190
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': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 13, 2026, 1:07 PM
Reserved
Oct 21, 2026, 10:16 PM
Status
Awaiting Analysis
Published
Oct 30, 2026, 8:16 AM
Modified
Nov 13, 2026, 1:17 PM
Severity
Moderate
Public date
Oct 28, 2026, 7:53 PM