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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat Hardened Images | — | — |
| Red Hat | Red Hat Enterprise Linux 10 | — | — |
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat OpenShift Container Platform 4 | — | — |
| Red Hat | Red Hat OpenShift Container Platform 5 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | gcc-11 +16 | No fix yet | — |
| Ubuntu 26.04 LTS | gcc-11 +16 | No fix yet | — |
| Ubuntu 24.04 LTS | gcc-9 +27 | No fix yet | — |
| Ubuntu 22.04 LTS | gcc-9 +25 | No fix yet | — |
| Ubuntu 20.04 LTS | gcc-7 +19 | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | gcc-5 +21 | No fix yet | — |
| Ubuntu 16.04 LTS | gcc-3.3 +22 | No fix yet | — |
| Ubuntu 14.04 LTS | gcc-3.3 +5 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | gcc-9 +2 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | gcc-5 +1 | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | gcc | No fix yet | — |
References
- RHSA-2026:100125 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-125709 vdb-entry
- RHBZ#2569390 issue-tracking