CVE-2026-125709

Libstdc++: overflow leaves streambuf in inconsistent state on i/o error.

Medium published · updated

4.2
CVSS score out of 10 · NVD (redhat.com)

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 / packageEcosystem / vendorVersionsFixed inSource
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

References