---
id: CVE-2026-115456
title: 'Gcc: out-of-bounds read in std::from_chars'
summary: >-
  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
  a…
severity: low
cvss: 3.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'
cvssSource: cna
cwe:
  - CWE-125
vendor: Red Hat
product: gcc
affected:
  - gcc (all versions)
  - gcc-toolset-15-gcc (all versions)
  - gcc-toolset-16-gcc (all versions)
  - mingw-gcc (all versions)
  - compat-gcc-295
  - compat-gcc-296
  - compat-gcc-32
  - compat-gcc-34
  - gcc
  - compat-gcc-32
  - compat-gcc-34
  - compat-gcc-44
  - gcc
  - gcc
  - gcc-toolset-14-gcc
  - gcc-toolset-15-gcc (all versions)
  - mingw-gcc
  - gcc (all versions)
  - gcc-toolset-14-gcc (all versions)
  - gcc-toolset-15-gcc (all versions)
  - gcc-toolset-16-gcc (all versions)
  - mingw-gcc (all versions)
  - gcc (all versions)
  - gcc13 (all versions)
  - openshift/ose-rhel-coreos-8
  - openshift/ose-rhel-coreos-9
  - openshift/ose-rhel-coreos-9
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-30T15:28:14.595258Z'
published: '2026-10-30'
updated: '2026-11-03'
sourceUpdated: '2026-11-03T19:41:06.131Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-115456'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-115456'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2563044'
    label: RHBZ#2563044
tags:
  - cve.org
epss: 0.00221
epssPercentile: 0.12835
ingestedAt: '2026-11-05T20:33:06.401Z'
---

## Overview

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.

## Affected

- `gcc (all versions)`
- `gcc-toolset-15-gcc (all versions)`
- `gcc-toolset-16-gcc (all versions)`
- `mingw-gcc (all versions)`
- `compat-gcc-295`
- `compat-gcc-296`
- `compat-gcc-32`
- `compat-gcc-34`
- `gcc`
- `compat-gcc-32`
- `compat-gcc-34`
- `compat-gcc-44`
- `gcc`
- `gcc`
- `gcc-toolset-14-gcc`
- `gcc-toolset-15-gcc (all versions)`
- `mingw-gcc`
- `gcc (all versions)`
- `gcc-toolset-14-gcc (all versions)`
- `gcc-toolset-15-gcc (all versions)`
- `gcc-toolset-16-gcc (all versions)`
- `mingw-gcc (all versions)`
- `gcc (all versions)`
- `gcc13 (all versions)`
- `openshift/ose-rhel-coreos-8`
- `openshift/ose-rhel-coreos-9`
- `openshift/ose-rhel-coreos-9`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

### Workarounds

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.
