UBUNTU-CVE-2026-125709: Buffer Overflow
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 Software
Event History
Frequently Asked Questions
What must an attacker be able to do to exploit this issue?
The attacker must be able to induce repeated byte-by-byte write failures in a service that uses the affected libstdc++ file stream processing. Those failures can cause data to continue accumulating in an internal memory buffer.
What could happen if the flaw is exploited?
Repeated induced write failures may trigger a buffer overflow. The stated impacts are denial of service or memory corruption.
Which Ubuntu software packages are identified as affected?
The listed software includes ubuntu/gcc-defaults, ubuntu/gcc-mingw-w64, ubuntu/gcc-arm-none-eabi, ubuntu/gcc-avr, ubuntu/gcc-h8300-hms, ubuntu/gcc-snapshot, ubuntu/gcc-3.3, and ubuntu/gcc-riscv64-unknown-elf.