Bug 2563073

Summary: CVE-2026-115455 gcc: Stack overflow in std::bitset on libstdc++ [fedora-all]
Product: [Fedora] Fedora Reporter: Marco Benatto <mbenatto>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dmalcolm, fweimer, jakub, jlaw, josmyers, jwakely, mcermak, mpolacek, msebor, nickc, nixuser, sipoyare
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["cae45a16-e4cd-4afa-b5dc-473cdaaf649b"]}
Fixed In Version: gcc-16.2.1-3.fc45 gcc-16.2.1-3.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-31 18:53:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2562933    

Description Marco Benatto 2026-10-28 17:52:43 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

There's a Stack corruption in std::bitset stream extraction in libstdc++. The __builtin_alloca argument didn't account for the size or alignment of wide characters resulting in a stack buffer overflow.

Comment 1 Fedora Update System 2026-10-30 23:25:52 UTC
FEDORA-2026-589138efb1 (gcc-16.2.1-3.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-589138efb1

Comment 2 Fedora Update System 2026-10-30 23:28:18 UTC
FEDORA-2026-d732fb97a0 (gcc-16.2.1-3.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-d732fb97a0

Comment 3 Fedora Update System 2026-10-31 03:04:14 UTC
FEDORA-2026-d732fb97a0 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-d732fb97a0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-d732fb97a0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-10-31 05:14:37 UTC
FEDORA-2026-589138efb1 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-589138efb1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-589138efb1

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-10-31 18:53:52 UTC
FEDORA-2026-589138efb1 (gcc-16.2.1-3.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-11-01 03:36:30 UTC
FEDORA-2026-d732fb97a0 (gcc-16.2.1-3.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.