CVE-2026-125709
published medium CVSS 3.1 · 4.2Libstdc++: overflow leaves streambuf in inconsistent state on i/o error.
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | gcc-mainRed Hat Hardened Images · 16.2.1-3.3.hum1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7, 8, 9, 10 | gcc | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 8, 9, 10 | gcc-toolset-15-gcc | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 9, 10 | gcc-toolset-16-gcc | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Red Hat Enterprise Linux | 8, 9, 10 | mingw-gcc | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 6 | compat-gcc-295 | Affected | Not stated | redhat |
Show 8 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 6 | compat-gcc-296 | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7 | compat-gcc-32 | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7 | compat-gcc-34 | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 7 | compat-gcc-44 | Affected | Not stated | redhat |
| Red Hat | — | gcc13Red Hat Hardened Images | Affected | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-8Red Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 5 | Affected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.2 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Hardened Images | 16.2.1-3.3.hum1 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat · cna |
| Red Hat | Red Hat Hardened Images | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 5 | Default: affected | redhat · cna |
Weaknesses
1- CWE-787 Out-of-bounds Write
References
3- RHSA-2026:100125 https://access.redhat.com/errata/RHSA-2026:100125
- https://access.redhat.com/security/cve/CVE-2026-125709
- RHBZ#2569390 https://bugzilla.redhat.com/show_bug.cgi?id=2569390
Provider assertions
2redhat · cna
Libstdc++: overflow leaves streambuf in inconsistent state on i/o error.
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1f09b93745afe2c0dd24331e21bd17176c77e1b77abf9a89449b6af41b3167d9
- Ingested
- 24 Nov 2026, 11:39:22 UTC
- Source record
- Official CVE record