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

Security update for gcc7

Published Sep 19, 2023 · Updated Feb 4, 2026

Summary

This update for gcc7 fixes the following issues:

Security issue fixed:

- CVE-2023-4039: Fixed incorrect stack protector for C99 VLAs on Aarch64 (bsc#1214052).

Other fixes:

- Fixed KASAN kernel compile. [bsc#1205145]
- Fixed ICE with C++17 code as reported in [bsc#1204505]
- Fixed altivec.h redefining bool in C++ which makes bool unusable (bsc#1195517):
- Adjust gnats idea of the target, fixing the build of gprbuild. [bsc#1196861]

Fixed packages 3

ReleasePackageFixed in
SUSE · SLES 15 SP4 Linux Enterprise Module for Basesystem 15 SP4 gcc7 7.5.0+r278197-150000.4.35.1
SUSE · SLES for SAP 15 SP1 Linux Enterprise Server for SAP Applications 15 SP1 cross-nvptx-gcc7 7.5.0+r278197-150000.4.35.1
SUSE · SLES for SAP 15 SP1 Linux Enterprise Server for SAP Applications 15 SP1 gcc7 7.5.0+r278197-150000.4.35.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/1195517
  • report
    https://bugzilla.suse.com/1196861
  • report
    https://bugzilla.suse.com/1204505
  • report
    https://bugzilla.suse.com/1205145
  • report
    https://bugzilla.suse.com/1214052
  • web
    https://www.suse.com/security/cve/CVE-2023-4039