gcc: Fix for CVE-2026-115456
PATCH 1/1 gcc: Fix for CVE-2026-115456
From: Harish Sadineni <[email protected]>
libstdc++: Fix std::from_chars to not read past end of input [PR127666]
The bug report points out one out-of-bounds read and the second was found by an LLM. The testcase was generated by an LLM. The code fixes are artisanal handwritten code.
References:
https://nvd.nist.gov/vuln/detail/cve-2026-115456
https://bugzilla.redhat.com/show_bug.cgi?id=2563044
https://gcc.gnu.org/cgit/gcc/commit/?h=releases/gcc-16&id=f69969225a091c2dc6c70f0cf2a43cca1ec25318
Signed-off-by Harish Sadineni <[email protected]>
--- meta/recipes-devtools/gcc/gcc-16.2.inc | 1 + .../gcc/gcc/0028-CVE-2026-115456.patch | 141 ++++++++++++++++++ 2 files changed, 142 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc/0028-CVE-2026-115456.patch
meta/recipes-devtools/gcc/gcc-16.2.inc +1 -0
@@ -76,6 +76,7 @@ SRC_URI = "${BASEURI} \ file://0001-Fix-check-for-working-assembler-gdwarf-4-option.patch \ file://0026-CVE-2026-102010.patch \ file://0027-CVE-2026-125709.patch \ + file://0028-CVE-2026-115456.patch \ " UNPACKDIR = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/sources"
meta/recipes-devtools/gcc/gcc/0028-CVE-2026-115456.patch new file +141 -0
141 lines not on this page · raw message
Signature · 1 line
2.55.0