CVE-2026-125709
Libstdc++: overflow leaves streambuf in inconsistent state on i/o error.
4.2
Description
A flaw was found in libstdc++. When a byte-by-byte write operation fails during file stream processing, the library may still append data into the internal memory buffer. An attacker capable of inducing repeated write failures in an affected service can trigger a buffer overflow, potentially resulting in a Denial of Service (DoS) or memory corruption.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| red hat hardened images | red hat | — | — | CVE.org |
| red hat enterprise linux 10 | red hat | — | — | CVE.org |
| red hat enterprise linux 6 | red hat | — | — | CVE.org |
| red hat enterprise linux 7 | red hat | — | — | CVE.org |
| red hat enterprise linux 8 | red hat | — | — | CVE.org |
| red hat enterprise linux 9 | red hat | — | — | CVE.org |
| red hat openshift container platform 4 | red hat | — | — | CVE.org |
| red hat openshift container platform 5 | red hat | — | — | CVE.org |