CVE-2026-125709 Libstdc++: overflow leaves streambuf in inconsistent state on i/o error.
MediumCVSS 4.2
EPSS 0.25%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
128 packages: 1 fixed, 1 partially fixed, 126 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux gcc(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| azure linux gcc(Azure Linux 4.0) | All versions | No fix listed | No fix yet |
| debian/gcc-11(Debian 12) | = 11.3.0-12; = 11.3.0-13; = 11.3.0-14; = 11.3.0-15 +25 more | No fix listed | No fix yet |
| debian/gcc-12(Debian 12) | = 12.2.0-14; = 12.2.0-14+deb12u1; = 12.2.0-14+hurd.1; = 12.2.0-14+loong64 +45 more | No fix listed | No fix yet |
| debian/gcc-12(Debian 13) | = 12.4.0-5; = 12.4.0-6; = 12.4.0-7; = 12.4.0-8 +14 more | No fix listed | No fix yet |
| debian/gcc-13(Debian 13) | = 13.3.0-16; = 13.3.0-17; = 13.4.0-1; = 13.4.0-2 +16 more | No fix listed | No fix yet |
| debian/gcc-13(Debian 14) | = 13.3.0-16; = 13.3.0-17; = 13.4.0-1; = 13.4.0-2 +16 more | No fix listed | No fix yet |
| debian/gcc-14(Debian 13) | = 14.2.0-19; = 14.2.0-20; = 14.2.0-21; = 14.2.0-22 +24 more | No fix listed | No fix yet |
| debian/gcc-14(Debian 14) | = 14.2.0-19; = 14.2.0-20; = 14.2.0-21; = 14.2.0-22 +24 more | No fix listed | No fix yet |
| debian/gcc-15(Debian 14) | = 15-20241128-1; = 15-20241214-1; = 15-20241220-1; = 15-20241231-1 +50 more | No fix listed | No fix yet |
| debian/gcc-16(Debian 14) | = 16-20251130-1; = 16-20251202-1; = 16-20251210-1; = 16-20251214-1 +24 more | No fix listed | No fix yet |
| redhat enterprise linux | All versions | No fix listed | No fix yet |
| redhat openshift | All versions | No fix listed | No fix yet |
| redhat rhel els | All versions | No fix listed | No fix yet |
| redhat/compat-gcc-295(Red Hat rhel_els 6) | All versions | No fix listed | No fix yet |
| redhat/compat-gcc-296(Red Hat rhel_els 6) | All versions | No fix listed | No fix yet |
| redhat/compat-gcc-32(Red Hat rhel_els 6) | All versions | No fix listed | No fix yet |
| redhat/compat-gcc-32(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/compat-gcc-34(Red Hat rhel_els 6) | All versions | No fix listed | No fix yet |
| redhat/compat-gcc-34(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/compat-gcc-44(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/gcc(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/gcc(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/gcc(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/gcc(Red Hat rhel_els 6) | All versions | No fix listed | No fix yet |
| redhat/gcc(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/gcc-toolset-15-gcc(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/gcc-toolset-15-gcc(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/gcc-toolset-15-gcc(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/gcc-toolset-16-gcc(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
… and 98 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat hummingbird | < 16.2.1-3.3.hum1 | 16.2.1-3.3.hum1 |
| redhat enterprise linux | All versions | No fix listed |
| redhat rhel els | All versions | No fix listed |
| redhat hummingbird | All versions | No fix listed |
| redhat openshift | All versions | No fix listed |
| redhat/gcc-main(Red Hat:hummingbird:1) | < 16.2.1-3.3.hum1 | 16.2.1-3.3.hum1 |
| redhat/gcc(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/gcc-toolset-15-gcc(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/gcc-toolset-16-gcc(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/mingw-gcc(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/compat-gcc-295(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/compat-gcc-296(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/compat-gcc-32(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/compat-gcc-34(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/gcc(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/compat-gcc-32(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/compat-gcc-34(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/compat-gcc-44(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/gcc(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/gcc(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/gcc-toolset-15-gcc(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/mingw-gcc(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/gcc(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/gcc-toolset-15-gcc(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/gcc-toolset-16-gcc(Red Hat:enterprise_linux:9) | All versions | No fix listed |
Show 175 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/mingw-gcc(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/gcc13(Red Hat:hummingbird:1) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) | All versions | No fix listed |
| ubuntu/gcc-10(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-10-cross(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-10-cross-mipsen(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-10-cross-ports(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-11(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-11-cross(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-11-cross-ports(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-12(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-12-cross(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-12-cross-ports(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-3.3(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-9(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-9-cross(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-9-cross-mipsen(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-9-cross-ports(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-arm-none-eabi(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-avr(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-defaults(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-h8300-hms(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-m68hc1x(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-mingw-w64(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-msp430(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-or1k-elf(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-riscv64-unknown-elf(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-snapshot(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-xtensa-lx106(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/gcc-10(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-10-cross(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-10-cross-mipsen(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-10-cross-ports(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-11(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-11-cross(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-11-cross-mipsen(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-11-cross-ports(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-12(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-12-cross(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-12-cross-mipsen(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-12-cross-ports(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-13(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-13-cross(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-13-cross-ports(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-3.3(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-9(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-9-cross(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-9-cross-mipsen(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-9-cross-ports(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-arm-none-eabi(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-avr(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-defaults(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-h8300-hms(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-mingw-w64(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-or1k-elf(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-riscv64-unknown-elf(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-snapshot(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/gcc-11(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gcc-11-cross(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gcc-11-cross-ports(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gcc-12(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gcc-12-cross(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gcc-12-cross-ports(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gcc-13(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gcc-13-cross(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gcc-13-cross-ports(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gcc-arm-none-eabi(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gcc-avr(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gcc-defaults(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gcc-h8300-hms(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gcc-mingw-w64(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gcc-or1k-elf(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gcc-riscv64-unknown-elf(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gcc-snapshot(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gcc-11(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/gcc-11-cross(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/gcc-11-cross-ports(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/gcc-12(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/gcc-12-cross(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/gcc-12-cross-ports(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/gcc-13(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/gcc-13-cross(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/gcc-13-cross-ports(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/gcc-arm-none-eabi(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/gcc-avr(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/gcc-defaults(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/gcc-h8300-hms(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/gcc-mingw-w64(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/gcc-or1k-elf(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/gcc-riscv64-unknown-elf(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/gcc-snapshot(Ubuntu:26.10) | All versions | No fix listed |
| debian/gcc-11(Debian:12) | All versions | No fix listed |
| debian/gcc-11(Debian:12) | = 11.3.0-12 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.3.0-13 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.3.0-14 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.3.0-15 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.4.0-1 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.4.0-10 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.4.0-2 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.4.0-3 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.4.0-4 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.4.0-5 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.4.0-6 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.4.0-7 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.4.0-8 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.4.0-9 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.5.0-1 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.5.0-10 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.5.0-11 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.5.0-12 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.5.0-13 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.5.0-14 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.5.0-2 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.5.0-3 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.5.0-4 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.5.0-5 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.5.0-6 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.5.0-7 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.5.0-8 | No fix listed |
| debian/gcc-11(Debian:12) | = 11.5.0-9 | No fix listed |
| debian/gcc-12(Debian:12) | All versions | No fix listed |
| debian/gcc-12(Debian:12) | = 12.2.0-14 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.2.0-14+deb12u1 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.2.0-14+hurd.1 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.2.0-14+loong64 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.2.0-14+loong64.1 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.2.0-15 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.2.0-16 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.2.0-17 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.2.0-18 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.3.0-1 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.3.0-10 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.3.0-11 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.3.0-12 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.3.0-13 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.3.0-14 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.3.0-15 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.3.0-16 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.3.0-17 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.3.0-2 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.3.0-3 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.3.0-3~exp1 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.3.0-4 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.3.0-5 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.3.0-6 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.3.0-7 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.3.0-8 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.3.0-9 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.4.0-1 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.4.0-2 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.4.0-3 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.4.0-4 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.4.0-5 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.4.0-6 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.4.0-7 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.4.0-8 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.4.0-8~alpha | No fix listed |
| debian/gcc-12(Debian:12) | = 12.5.0-1 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.5.0-10 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.5.0-11 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.5.0-12 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.5.0-2 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.5.0-3 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.5.0-4 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.5.0-5 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.5.0-6 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.5.0-7 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.5.0-8 | No fix listed |
| debian/gcc-12(Debian:12) | = 12.5.0-9 | No fix listed |
| debian/gcc-12(Debian:13) | All versions | No fix listed |
| debian/gcc-12(Debian:13) | = 12.4.0-5 | No fix listed |
| debian/gcc-12(Debian:13) | = 12.4.0-6 | No fix listed |
| debian/gcc-12(Debian:13) | = 12.4.0-7 | No fix listed |
References
- Red Hat CVE page vdb-entry vendor-advisory
- RHBZ#2569390 issue-tracking
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- RHSA-2026:100125 patch vendor-advisory
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Debian Security Tracker CVE-2026-125709 vendor-advisory
- nvd.nist.gov
- ENISA EUVD EUVD-2026-120884 third-party-advisory