Skip to content
OpenAdvisories
Medium SUSE-SU-2023:4458-1 1 CVE

Security update for gcc13

Published Nov 16, 2023 · Updated Feb 4, 2026

Summary

This update for gcc13 fixes the following issues:

This update ship the GCC 13.2 compiler suite and its base libraries.

The compiler base libraries are provided for all SUSE Linux Enterprise 15
versions and replace the same named GCC 12 ones.

The new compilers for C, C++, and Fortran are provided for SUSE Linux
Enterprise 15 SP4 and SP5, and provided in the 'Development Tools' module.

The Go, D, Ada and Modula 2 language compiler parts are available
unsupported via the PackageHub repositories.

To use gcc13 compilers use:

- install 'gcc13' or 'gcc13-c++' or one of the other 'gcc13-COMPILER' frontend packages.
- override your Makefile to use CC=gcc-13, CXX=g++-13 and similar overrides for the other languages.

For a full changelog with all new GCC13 features, check out

https://gcc.gnu.org/gcc-13/changes.html

Detailed changes:

* CVE-2023-4039: Fixed -fstack-protector issues on aarch64 with variable
length stack allocations. (bsc#1214052)

- Work around third party app crash during C++ standard library initialization. [bsc#1216664]
- Fixed that GCC13 fails to compile some packages with error: unrecognizable insn (bsc#1215427)
- Bump included newlib to version 4.3.0.
- Update to GCC trunk head (r13-5254-g05b9868b182bb9)
- Redo floatn fixinclude pick-up to simply keep what is there.
- Turn cross compiler to s390x to a glibc cross. [bsc#1214460]

- Also handle -static-pie in the default-PIE specs
- Fixed missed optimization in Skia resulting in Firefox crashes when
building with LTO. [bsc#1212101]
- Make libstdc++6-devel packages own their directories since they
can be installed standalone. [bsc#1211427]
- Add new x86-related intrinsics (amxcomplexintrin.h).
- RISC-V: Add support for inlining subword atomic operations
- Use --enable-link-serialization rather that --enable-link-mutex,
the benefit of the former one is that the linker jobs are not
holding tokens of the make's jobserver.
- Add cross-bpf packages. See https://gcc.gnu.org/wiki/BPFBackEnd
for the general state of BPF with GCC.
- Add bootstrap conditional to allow --without=bootstrap to be
specified to speed up local builds for testing.
- Bump included newlib to version 4.3.0.
- Also package libhwasan_preinit.o on aarch64.
- Configure external timezone database provided by the timezone
package. Make libstdc++6 recommend timezone to get a fully
working std::chrono. Install timezone when running the testsuite.
- Package libhwasan_preinit.o on x86_64.
- Fixed unwinding on aarch64 with pointer signing. [bsc#1206684]
- Enable PRU flavour for gcc13
- update floatn fixinclude pickup to check each header separately (bsc#1206480)
- Redo floatn fixinclude pick-up to simply keep what is there.
- Bump libgo SONAME to libgo22.
- Do not package libhwasan for biarch (32-bit architecture)
as the extension depends on 64-bit pointers.
- Adjust floatn fixincludes guard to work with SLE12 and earlier
SLE15.
- Depend on at least LLVM 13 for GCN cross compiler.
- Update embedded newlib to version 4.2.0
- Allow cross-pru-gcc12-bootstrap for armv7l architecture.
PRU architecture is used for real-time MCUs embedded into TI
armv7l and aarch64 SoCs. We need to have cross-pru-gcc12 for
armv7l in order to build both host applications and PRU firmware
during the same build.

Fixed packages 43

ReleasePackageFixed in
SUSE · Enterprise Storage 7.1 cross-nvptx-gcc13 13.2.1+git7813-150000.1.6.1
SUSE · Enterprise Storage 7.1 gcc13 13.2.1+git7813-150000.1.6.1
openSUSE · Leap 15.4 cross-nvptx-gcc13 13.2.1+git7813-150000.1.6.1
openSUSE · Leap 15.4 gcc13 13.2.1+git7813-150000.1.6.1
openSUSE · Leap 15.5 cross-nvptx-gcc13 13.2.1+git7813-150000.1.6.1
openSUSE · Leap 15.5 gcc13 13.2.1+git7813-150000.1.6.1
openSUSE · Leap Micro 5.3 gcc13 13.2.1+git7813-150000.1.6.1
openSUSE · Leap Micro 5.4 gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLE HPC 15 SP1 Linux Enterprise High Performance Computing 15 SP1-LTSS cross-nvptx-gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLE HPC 15 SP1 Linux Enterprise High Performance Computing 15 SP1-LTSS gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS cross-nvptx-gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-ESPOS cross-nvptx-gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-ESPOS gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-LTSS cross-nvptx-gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-LTSS gcc13 13.2.1+git7813-150000.1.6.1
SUSE · Linux Enterprise Installer Updates 15 SP1 gcc13 13.2.1+git7813-150000.1.6.1
SUSE · Linux Enterprise Installer Updates 15 SP2 gcc13 13.2.1+git7813-150000.1.6.1
SUSE · Linux Enterprise Installer Updates 15 SP3 gcc13 13.2.1+git7813-150000.1.6.1
SUSE · Linux Enterprise Installer Updates 15 SP4 gcc13 13.2.1+git7813-150000.1.6.1
SUSE · Linux Enterprise Installer Updates 15 SP5 gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLE Micro 5.1 Linux Enterprise Micro 5.1 gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLE Micro 5.2 Linux Enterprise Micro 5.2 gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Basesystem 15 SP4 gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES 15 SP5 Linux Enterprise Module for Basesystem 15 SP5 gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Development Tools 15 SP4 cross-nvptx-gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Development Tools 15 SP4 gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES 15 SP5 Linux Enterprise Module for Development Tools 15 SP5 cross-nvptx-gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES 15 SP5 Linux Enterprise Module for Development Tools 15 SP5 gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Package Hub 15 SP4 gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES 15 SP5 Linux Enterprise Module for Package Hub 15 SP5 gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES 15 SP1 Linux Enterprise Server 15 SP1-LTSS cross-nvptx-gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES 15 SP1 Linux Enterprise Server 15 SP1-LTSS gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS cross-nvptx-gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES 15 SP3 Linux Enterprise Server 15 SP3-LTSS cross-nvptx-gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES 15 SP3 Linux Enterprise Server 15 SP3-LTSS gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES for SAP 15 SP1 Linux Enterprise Server for SAP Applications 15 SP1 cross-nvptx-gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES for SAP 15 SP1 Linux Enterprise Server for SAP Applications 15 SP1 gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 cross-nvptx-gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES for SAP 15 SP3 Linux Enterprise Server for SAP Applications 15 SP3 cross-nvptx-gcc13 13.2.1+git7813-150000.1.6.1
SUSE · SLES for SAP 15 SP3 Linux Enterprise Server for SAP Applications 15 SP3 gcc13 13.2.1+git7813-150000.1.6.1

Vulnerabilities 1

  • Medium 4.8

    GCC's-fstack-protector fails to guard dynamically-sized local variables on AArch64

    **DISPUTED**A failure in the -fstack-protector feature in GCC-based toolchains that target AArch64 allows an attacker to exploit an existing buffer overflow in dynamically-sized local variables in your application without this being detected. This stack-prote…

References

  • report
    https://bugzilla.suse.com/1206480
  • report
    https://bugzilla.suse.com/1206684
  • report
    https://bugzilla.suse.com/1210557
  • report
    https://bugzilla.suse.com/1211427
  • report
    https://bugzilla.suse.com/1212101
  • report
    https://bugzilla.suse.com/1213915
  • report
    https://bugzilla.suse.com/1214052
  • report
    https://bugzilla.suse.com/1214460
  • report
    https://bugzilla.suse.com/1215427
  • report
    https://bugzilla.suse.com/1216664
  • web
    https://www.suse.com/security/cve/CVE-2023-4039