gcc libstdc++ std::from_chars OOB Read DoS
CVE-2026-115456 Published on October 30, 2026
Gcc: out-of-bounds read in std::from_chars
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.
Vulnerability Analysis
CVE-2026-115456 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a small impact on availability.
Timeline
Reported to Red Hat.
Made public.
Weakness Type
Out-of-bounds Read
The software reads data past the end, or before the beginning, of the intended buffer. Typically, this can allow attackers to read sensitive information from other memory locations or cause a crash. A crash can occur when the code reads a variable amount of data and assumes that a sentinel exists to stop the read operation, such as a NUL in a string. The expected sentinel might not be located in the out-of-bounds memory, causing excessive data to be read, leading to a segmentation fault or a buffer overflow. The software may modify an index or perform pointer arithmetic that references a memory location that is outside of the boundaries of the buffer. A subsequent read operation then produces undefined or unexpected results.
Products Associated with CVE-2026-115456
Want to know whenever a new CVE is published for Red Hat products? stack.watch will email you.
Affected Versions
Red Hat Enterprise Linux 10:- Version 0:15.2.1-8.2.el10_3 and below * is unaffected.
- Version 0:16.2.1-1.4.el10_3 and below * is unaffected.
- Version 0:14.4.1-5.el10_3 and below * is unaffected.
- Version 0:15.2.1-7.3.el8_10 and below * is unaffected.
- Version 0:11.5.0-17.el9_9 and below * is unaffected.
- Version 0:15.2.1-7.4.el9_9 and below * is unaffected.
- Version 0:16.2.1-1.4.el9_9 and below * is unaffected.
- Version 0:11.5.0-17.el9_9 and below * is unaffected.
- Version 16.2.1-3.2.hum1 and below * is unaffected.
- Version 13.5.0-0.5.hum1 and below * is unaffected.
- Version 1795506874 and below * is unaffected.
- Version 1795506877 and below * is unaffected.
- Version 1795454666 and below * is unaffected.
- Version 1795506876 and below * is unaffected.
- Version 1795506954 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.