---
id: CVE-2026-95619
title: A flaw was found in libstdc++
summary: >-
  A flaw was found in libstdc++. An integer overflow can occur when processing
  large inputs to the aligned operator new in the C++ library. This
  vulnerability could lead to an undersized memory allocation, potentially
  causing memory corrup…
severity: high
cvss: 7.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H'
cwe:
  - CWE-190
vendor: Red Hat
product: gcc-main
affected:
  - gcc-main (all versions)
  - gcc13-main (all versions)
  - gcc
  - mingw-gcc
  - compat-gcc-295
  - compat-gcc-296
  - compat-gcc-32
  - compat-gcc-34
  - gcc
  - compat-gcc-32
  - compat-gcc-34
  - compat-gcc-44
  - gcc
  - gcc (all versions)
  - mingw-gcc (all versions)
  - rteval-loads (all versions)
  - gcc (all versions)
  - mingw-gcc (all versions)
  - openshift/ose-rhel-coreos-8 (all versions)
  - openshift/ose-rhel-coreos-9 (all versions)
published: '2026-09-22'
updated: '2026-09-22'
sourceUpdated: '2026-09-22T19:37:36.747'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-95619'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:58503'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:67275'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-95619'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2537811'
    label: secalert@redhat.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-95619.json
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-95619'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-95619'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-22T17:25:57.941683Z'
ingestedAt: '2026-09-22T13:03:40.033Z'
patched:
  - hardened_images
epss: 0.00363
epssPercentile: 0.27502
---

## Overview

A flaw was found in libstdc++. An integer overflow can occur when processing large inputs to the aligned operator new in the C++ library. This vulnerability could lead to an undersized memory allocation, potentially causing memory corruption or application instability.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **RHSA-2026:58503** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-08-22 · [advisory](https://access.redhat.com/errata/RHSA-2026:58503)
- **RHSA-2026:67275** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-09-14 · [advisory](https://access.redhat.com/errata/RHSA-2026:67275)
- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-09-22 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-95619.json)
