CVE-2026-115456

Gcc: out-of-bounds read in std::from_chars

Published Oct 30, 2026 CVSS 3.1 · 3.7 Low EPSS < 1% KEV · Not listed
Description
A flaw was found in gcc. An attacker could cause a Denial of Service (DoS) by passing a string that is not null-terminated to the std::from_chars() function in the libstdc++ library. This issue triggers an out-of-bounds read beyond the allocated buffer, potentially leading to invalid data parsing or an application crash.

Analysis

AI-generated

Technical impact

A defect in the GNU Compiler Collection's libstdc++ library allows an attacker to trigger a denial‑of‑service condition when the std::from_chars function is called with a string that is not null‑terminated. The out‑of‑bounds read can cause the application to crash or parse incorrect data, compromising the integrity of the application logic. The vulnerability is classified as a CWE‑125 buffer read beyond a valid limit and results in loss of availability at the process level.

Affected Systems

Red Hat Enterprise Linux releases 6 through 10, Red Hat Hummingbird, and Red Hat OpenShift Container Platform 4 and 5 are affected. The flaw exists in the gcc component shipped with these distributions. Specific products include Red Hat Enterprise Linux 6, 7, 8, 9, 10, as well as the hardened images, and the OpenShift platforms.

Risk and Exploitability

With a CVSS score of 3.7 the vulnerability is considered low severity. No exploit probability data is available, and the issue is not listed in CISA’s KEV catalog. The flaw requires an attacker to deliver a non‑null‑terminated string to a code path that calls std::from_chars, which typically limits the attack to local or privileged users or to applications that directly handle untrusted input. Because the impact is limited to a crash or improper parsing, the risk to confidentiality and integrity is negligible, and the attack vector is most likely local, though remote exploitation cannot be ruled out if network data reaches vulnerable code.

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

  • Ensure any user‑controlled input passed to std::from_chars is validated for proper null‑termination or use a safe parsing alternative.
  • Apply Red Hat security updates as soon as they become available; the issue is tracked in CVE-2026-115456 and will be fixed in future releases.
  • As an interim measure, limit or disable libraries that invoke std::from_chars with untrusted data until a patched compiler is installed.
  • 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.

Generated by OpenCVE AI on October 30, 2026 at 09:51 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
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
First Time appeared Redhat openshift Ai
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:/a:redhat:openshift_ai
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat openshift Ai
Redhat rhel Els
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
Metrics ssvc

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

Type Values Removed Values Added
Description A flaw was found in gcc. An attacker could cause a Denial of Service (DoS) by passing a string that is not null-terminated to the std::from_chars() function in the libstdc++ library. This issue triggers an out-of-bounds read beyond the allocated buffer, potentially leading to invalid data parsing or an application crash.
Title Gcc: out-of-bounds read in std::from_chars
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Weaknesses CWE-125
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': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 13, 2026, 1:43 PM
Reserved
Oct 22, 2026, 3:06 PM
Status
Awaiting Analysis
Published
Oct 30, 2026, 9:17 AM
Modified
Nov 13, 2026, 2:17 PM
Severity
Low
Public date
Oct 28, 2026, 5:39 PM