Bug 2537811 (CVE-2026-95619) - CVE-2026-95619 gcc: libstdc++ integer overflow in `new` operator
Summary: CVE-2026-95619 gcc: libstdc++ integer overflow in `new` operator
Keywords:
Status: NEW
Alias: CVE-2026-95619
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-22 10:46 UTC by OSIDB Bzimport
Modified: 2026-09-22 17:00 UTC (History)
25 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-22 10:46:08 UTC
An integer overflow triggered when processing inputs to the C++ `new` operator in libstdc+-v3/libsupc+/new_opa.cc where sz + align could overflow with large sz or align, potentially resulting in an undersized allocation instead of throwing bad_alloc. Note that this only affects older gcc versions since 12.4 onwards (see pr113258) prefer posix_memalign over aligned_alloc so on the RHEL front this should only affect RHEL9 and RHEL8 system gcc. The older libstdc++ (8.5.0) has a slightly different variant of that expression but has the same overflow problem.


Note You need to log in before you can comment on or make changes to this bug.