CVE-2026-125709

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

Published Nov 10, 2026 CVSS 3.1 · 4.2 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A flaw in libstdc++ causes internal memory buffers to continue accepting data even after a byte‑by‑byte write operation fails. This can enable a buffer overflow when an attacker repeatedly induces write failures in a service that uses the library, potentially leading to a denial of service or memory corruption. The weakness corresponding to CWE‑787, an out‑of‑bounds write.

Affected Systems

Affected systems include Red Hat Enterprise Linux 10, 8, and 9, as well as the extended lifecycle editions of Red Hat Enterprise Linux 6 and 7. The vulnerability also impacts Red Hat Hardened Images and the OpenShift Container Platform versions 4 and 5. No specific minor or patch version information is listed.

Risk and Exploitability

The CVSS score of 4.2 indicates moderate severity, and the EPSS score of less than 1% suggests a very low probability of widespread exploitation at present. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker to provoke repeated write failures in an affected service, likely as a local or authenticated user. Remote exploitation is unlikely without additional vulnerability support.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Obtain and deploy the latest RHEL update that fixes the libstdc++ write‑failure bug (consult Red Hat errata for CVE‑2026‑125709).
  • If an immediate update is not possible, configure affected services to limit the amount of data written in a single operation or enforce strict error handling to abort when a write failure occurs.
  • Enable detailed I/O auditing and monitor for repeated write errors across the system to detect potential exploitation attempts.

Generated by OpenCVE AI on November 15, 2026 at 06:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
First Time appeared Red Hat
Red Hat enterprise Linux
Redhat hardened Images
Redhat openshift Container Platform
Vendors & Products Red Hat
Red Hat enterprise Linux
Redhat hardened Images
Redhat openshift Container Platform
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Libstdc++: overflow leaves streambuf in inconsistent state on i/o error.
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Redhat rhel Els
Weaknesses CWE-787
CPEs cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/a:redhat:hummingbird:1
cpe:/a:redhat:openshift:4
cpe:/a:redhat:openshift:5
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Redhat rhel Els
References
Metrics cvssV3_1

{'score': 4.2, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 24, 2026, 11:34 AM
Reserved
Nov 10, 2026, 10:33 AM
Status
Awaiting Analysis
Published
Nov 10, 2026, 12:17 PM
Modified
Nov 24, 2026, 12:17 PM