Bug 2563090 - CVE-2026-115456 gcc: Out-of-bounds read in std::from_chars [fedora-all]
Summary: CVE-2026-115456 gcc: Out-of-bounds read in std::from_chars [fedora-all]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["545bcf7b-5733-4a50-a1bd-1...
Depends On:
Blocks: CVE-2026-115456
TreeView+ depends on / blocked
 
Reported: 2026-10-28 18:45 UTC by Marco Benatto
Modified: 2026-11-01 03:36 UTC (History)
12 users (show)

Fixed In Version: gcc-16.2.1-3.fc45 gcc-16.2.1-3.fc44
Clone Of:
Environment:
Last Closed: 2026-10-31 18:53:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 127666 0 P3 RESOLVED std::from_chars(first, last, long double&) reads past 'last' for "inf"/"nan" (strlen on the unterminated input) 2026-10-28 19:20:34 UTC

Description Marco Benatto 2026-10-28 18:45:24 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 out-of-bounds read in std::from_chars() in libstdc++ when the string being passed as parameter is not NULL terminated. The impact is limited to read invalid float point numbers or reach a non-readable memory position resulting a a Denial-of-Service only.

Comment 1 Fedora Update System 2026-10-30 23:25:56 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:22 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:17 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:40 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:58 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:33 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.


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