StackPatch is liveSee product

Back to CVE digest
CVE-2023-4039 · cross-distro fix matrix

CVE-2023-4039: **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-protector failure only applies to C99-styl

Affects 6 Linux releases across 7 (distro × package) combinations.

Fix per ecosystem

Each block below is a distro release where CVE-2023-4039 has a known fix. Run the listed command on that distro to remediate.

Debian bookworm

Source: Debian Security Tracker

  • gcc-12→ fixed in12.2.0-14+deb12u1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y gcc-12

Debian trixie

Source: Debian Security Tracker

  • gcc-12→ fixed in12.3.0-9urgency: unimportant
    sudo apt-get install --only-upgrade -y gcc-12
  • gcc-13→ fixed in13.2.0-4urgency: unimportant
    sudo apt-get install --only-upgrade -y gcc-13

Alpine v3.20

Source: Alpine secdb

  • gcc→ fixed in13.2.1_git20231014-r0
    apk update && apk add --upgrade gcc

Alpine v3.21

Source: Alpine secdb

  • gcc→ fixed in13.2.1_git20231014-r0
    apk update && apk add --upgrade gcc

Alpine edge

Source: Alpine secdb

  • gcc→ fixed in13.2.1_git20231014-r0
    apk update && apk add --upgrade gcc

Alpine v3.19

Source: Alpine secdb

  • gcc→ fixed in13.2.1_git20231014-r0
    apk update && apk add --upgrade gcc
Are YOU affected by CVE-2023-4039?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2023-4039dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. $99 lifetime, 50 founder seats, 30-day refund.

See StackPatch ($99 lifetime)