CVE-2026-125709: Red Hat overflow leaves streambuf in inconsistent state on i/o error
This Red Hat advisory covers CVE-2026-125709 in Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 7.
- CVE-2026-125709
Key facts
- Vendor rating
- Medium, CVSS 4.2
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L· base score 4.2, scored by redhatAttack vector: network. Attack complexity: high. Privileges required: none. User interaction: required. Scope: unchanged. Confidentiality impact: none. Integrity impact: low. Availability impact: low.- Weakness
- CWE-787 Out-of-bounds Write
- EPSS
- 0.25% chance of exploitation in the next 30 days (16th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Source published
- Source revised
- Listed by VulniPulse
- Record changed
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
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.
This vulnerability is rated as Moderate impact for Red Hat deployments because triggering the out-of-bounds write requires highly specific application design patterns combined with induced storage-level failures.
Standard stream output operations are not impacted, and default Red Hat Enterprise Linux system utilities or privileged setuid binaries do not implement the vulnerable single-character output routines during failure conditions.
Consequently, practical exploitation is limited to custom or network-exposed services where an attacker can both force repeated filesystem write errors and control individual character writes to cause service termination or localized memory corruption. Red Hat severity: Moderate — CVSS 4.2 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L).
Weakness: CWE-787.
Affected products named by the advisory: Red Hat Enterprise Linux 10; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 8; and 39 more.
Text from the source record.
End-of-life dates for Red Hat Enterprise Linux
More Red Hat Linux advisories
CVE-2026-111497Oct 22, 2026Out-of-Bounds Write in Google Brotli DecoderCVE-2026-109619Oct 21, 2026fatal error handling retains stale request state leading to use-after-freeCVE-2026-109618Oct 21, 2026OOM bailout during request parsing leads to memory corruption and RCECVE-2026-90436Nov 6, 2026Remote code execution via insecure deserialization of SOAP fault messagesCVE-2026-125350Nov 10, 2026Use after free in XMLCVE-2026-114713Nov 8, 2026Command injection via unescaped message tag
Get an email when Red Hat RHEL & SELinux publishes the next one.
See Red Hat RHEL & SELinux's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.