Skip to main content
← All vulnerabilities
CVE-2026-115456EUVD-2026-113750GHSA-8WQR-R4RR-GG45

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

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

The GCC compiler's C++ standard library (libstdc++) is affected, specifically its std::from_chars() function. An attacker who supplies a string that is not null-terminated can trigger a read past the end of the allocated buffer, which may cause a denial of service through application crashes or result in incorrectly parsed data.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • gcc

    Version range not reported

  • gcc-toolset-15-gcc

    Version range not reported

  • gcc-toolset-16-gcc

    Version range not reported

  • mingw-gcc

    Version range not reported

  • compat-gcc-295

    Version range not reported

  • compat-gcc-296

    Version range not reported

  • compat-gcc-32

    Version range not reported

  • compat-gcc-34

    Version range not reported

  • gcc

    Version range not reported

  • compat-gcc-32

    Version range not reported

  • compat-gcc-34

    Version range not reported

  • compat-gcc-44

    Version range not reported

  • gcc

    Version range not reported

  • gcc

    Version range not reported

  • gcc-toolset-14-gcc

    Version range not reported

  • gcc-toolset-15-gcc

    Version range not reported

  • mingw-gcc

    Version range not reported

  • gcc

    Version range not reported

  • gcc-toolset-14-gcc

    Version range not reported

  • gcc-toolset-15-gcc

    Version range not reported

  • gcc-toolset-16-gcc

    Version range not reported

  • mingw-gcc

    Version range not reported

  • gcc

    Version range not reported

  • gcc13

    Version range not reported

  • openshift/ose-rhel-coreos-8

    Version range not reported

  • openshift/ose-rhel-coreos-9

    Version range not reported

  • openshift/ose-rhel-coreos-9

    Version range not reported

References 2

access.redhat.com

bugzilla.redhat.com