Gcc: out-of-bounds read in std::from_chars
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- 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