Technical impact
A flaw in GCC's libstdc++ allows a stack-based buffer overflow when data is extracted into std::bitset from a wide-character stream. The memory allocation calculation does not correctly account for character size and alignment, so an attacker who can supply crafted input to a vulnerable application can trigger the overflow and cause a denial of service. The impact is a crash or halt of the affected process, which can allow an attacker to disrupt services that rely on the library.
Affected Systems
The vulnerability affects Red Hat Enterprise Linux releases 6 through 10, Red Hat Hardened Images, and Red Hat OpenShift Container Platform versions 4 and 5. Any systems running these distributions and using std::bitset with wide-character streams are potentially impacted.
Risk and Exploitability
The CVSS score of 6.5 indicates a moderate severity. EPSS information is not available, and the vulnerability is not listed in CISA's KEV catalog, suggesting no known widespread exploitation yet. The attack likely requires local or application-level control, as the malicious input must reach the vulnerable library. Once triggered the attack achieves a denial of service, but does not provide remote code execution or data disclosure. The lack of a documented workaround means administrators should prioritize patching when available and limit exposure otherwise.