Gcc: libstdc++ integer overflow in `new` operator
Affects gcc packages on Red Hat Enterprise Linux 8. No vendor severity rating is given, and the CVSS score is 7.7. Fixed in gcc 8.5.0-30.el8_10.
- Published
- 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
- How many real-world setups can hit the bug, from the vendor's advisory and CISA data. It does not know your setup.What do these mean? →
- Unclear
- Fix
- Fixed in 8.5.0-30.el8_10
- 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
A flaw was found in libstdc++. An integer overflow can occur when processing large inputs to the aligned operator new in the C++ library. This vulnerability could lead to an undersized memory allocation, potentially causing memory corruption or application instability.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- gcc
Version range not reported
- gcc-main
Version range not reported
- gcc13-main
Version range not reported
- 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
- mingw-gcc
Version range not reported
- rteval-loads
Version range not reported
- gcc
Version range not reported
- mingw-gcc
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 5
access.redhat.com
bugzilla.redhat.com
Questions about CVE-2026-95619
What does this mean?
The bug is an integer overflow in the libstdc++ implementation of the C++ `new` operator. The checked facts do not describe what happens when it is triggered.Source: access.redhat.com
Am I affected, and how do I check?
The advisory's condition covers gcc packages on Red Hat Enterprise Linux 8. To check a system, run `rpm -q gcc` and compare the installed version with 8.5.0-30.el8_10. The product list also names other Red Hat products, but no fixed versions are given for them.Source: access.redhat.com
What should I do about it?
Update gcc to 8.5.0-30.el8_10 or later, as shipped in the gcc-8.5.0-30.el8_10 source package.Source: access.redhat.com
Is it being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data