UBUNTU-CVE-2023-4039 (CVE-2023-4039)

Vulnerability from osv_ubuntu – Published: 2023-09-12 15:00 – Updated: 2026-11-25 17:08 – Source website
VLAI
Details

DISPUTEDA 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-style dynamically-sized local variables or those created using alloca(). The stack-protector operates as intended for statically-sized local variables. The default behavior when the stack-protector detects an overflow is to terminate your application, resulting in controlled loss of availability. An attacker who can exploit a buffer overflow without triggering the stack-protector might be able to change program flow control to cause an uncontrolled loss of availability or to go further and affect confidentiality or integrity. NOTE: The GCC project argues that this is a missed hardening bug and not a vulnerability by itself.

Upstream
Related
Impacted products
Ecosystem Package Version
Ubuntu:14.04:LTS gcc-4.7
pkg:deb/ubuntu/gcc-4.7@4.7.3-12ubuntu1?arch=source&distro=trusty
Affected: All versions (ecosystem)
4.7.3-7ubuntu34.7.3-8ubuntu14.7.3-9ubuntu14.7.3-9ubuntu24.7.3-10ubuntu14.7.3-11ubuntu14.7.3-12ubuntu1
Ubuntu:14.04:LTS gcc-4.8
pkg:deb/ubuntu/gcc-4.8@4.8.4-2ubuntu1~14.04.4?arch=source&distro=trusty
Affected: All versions (ecosystem)
4.8.1-10ubuntu84.8.2-1ubuntu14.8.2-1ubuntu24.8.2-10ubuntu14.8.2-10ubuntu24.8.2-12ubuntu24.8.2-13ubuntu14.8.2-14ubuntu14.8.2-14ubuntu24.8.2-14ubuntu4 and 13 more (see JSON)
Ubuntu:14.04:LTS gcc-mingw-w64
pkg:deb/ubuntu/gcc-mingw-w64@12?arch=source&distro=trusty
Affected: All versions (ecosystem)
891112
Ubuntu:14.04:LTS gccgo-4.9
pkg:deb/ubuntu/gccgo-4.9@4.9.3-0ubuntu4?arch=source&distro=trusty
Affected: All versions (ecosystem)
4.9-20140213-0ubuntu14.9-20140213-0ubuntu24.9-20140217-0ubuntu14.9-20140222-0ubuntu14.9-20140303-0ubuntu24.9-20140303-0ubuntu34.9-20140321-0ubuntu14.9-20140330-0ubuntu14.9-20140406-0ubuntu14.9.1-0ubuntu1 and 1 more (see JSON)
Ubuntu:Pro:16.04:LTS gcc-5
pkg:deb/ubuntu/gcc-5@5.4.0-6ubuntu1~16.04.12+esm2?arch=source&distro=esm-infra/xenial
Affected: All versions (ecosystem)
5.2.1-22ubuntu25.2.1-22ubuntu55.2.1-23ubuntu15.2.1-26ubuntu15.2.1-27ubuntu15.3.1-2ubuntu25.3.1-3ubuntu15.3.1-3ubuntu35.3.1-4ubuntu15.3.1-5ubuntu1 and 29 more (see JSON)
Ubuntu:16.04:LTS gcc-5-cross
pkg:deb/ubuntu/gcc-5-cross@24ubuntu0.3?arch=source&distro=xenial
Affected: All versions (ecosystem)
12ubuntu115ubuntu118ubuntu120ubuntu320ubuntu520ubuntu624ubuntu0.124ubuntu0.224ubuntu0.3
Ubuntu:Pro:16.04:LTS gccgo-6
pkg:deb/ubuntu/gccgo-6@6.0.1-0ubuntu1+esm1?arch=source&distro=esm-infra/xenial
Affected: All versions (ecosystem)
6-20160210-0ubuntu26-20160217-0ubuntu16-20160220-0ubuntu16-20160225-0ubuntu16-20160225-0ubuntu26-20160227-0ubuntu16-20160313-0ubuntu16-20160319-0ubuntu16-20160405-0ubuntu16-20160405-0ubuntu2 and 2 more (see JSON)
Ubuntu:16.04:LTS gcc-4.7
pkg:deb/ubuntu/gcc-4.7@4.7.4-3ubuntu12?arch=source&distro=xenial
Affected: All versions (ecosystem)
4.7.4-3ubuntu34.7.4-3ubuntu74.7.4-3ubuntu94.7.4-3ubuntu104.7.4-3ubuntu114.7.4-3ubuntu12
Ubuntu:16.04:LTS gcc-4.7-armel-cross
pkg:deb/ubuntu/gcc-4.7-armel-cross@3?arch=source&distro=xenial
Affected: All versions (ecosystem)
1.861.903
Ubuntu:16.04:LTS gcc-4.7-armhf-cross
pkg:deb/ubuntu/gcc-4.7-armhf-cross@3?arch=source&distro=xenial
Affected: All versions (ecosystem)
1.861.873
Ubuntu:16.04:LTS gcc-4.8
pkg:deb/ubuntu/gcc-4.8@4.8.5-4ubuntu2?arch=source&distro=xenial
Affected: All versions (ecosystem)
4.8.5-1ubuntu14.8.5-2ubuntu14.8.5-3ubuntu14.8.5-3ubuntu24.8.5-3ubuntu34.8.5-4ubuntu14.8.5-4ubuntu2
Ubuntu:16.04:LTS gcc-4.8-arm64-cross
pkg:deb/ubuntu/gcc-4.8-arm64-cross@2?arch=source&distro=xenial
Affected: All versions (ecosystem)
0.170.182
Ubuntu:16.04:LTS gcc-4.8-armhf-cross
pkg:deb/ubuntu/gcc-4.8-armhf-cross@2?arch=source&distro=xenial
Affected: All versions (ecosystem)
0.160.172
Ubuntu:16.04:LTS gcc-4.8-powerpc-cross
pkg:deb/ubuntu/gcc-4.8-powerpc-cross@3?arch=source&distro=xenial
Affected: All versions (ecosystem)
0.190.203
Ubuntu:16.04:LTS gcc-4.8-ppc64el-cross
pkg:deb/ubuntu/gcc-4.8-ppc64el-cross@2?arch=source&distro=xenial
Affected: All versions (ecosystem)
0.80.92
Ubuntu:16.04:LTS gcc-4.9
pkg:deb/ubuntu/gcc-4.9@4.9.3-13ubuntu2?arch=source&distro=xenial
Affected: All versions (ecosystem)
4.9.3-5ubuntu14.9.3-6ubuntu24.9.3-8ubuntu14.9.3-8ubuntu24.9.3-9ubuntu14.9.3-11ubuntu14.9.3-11ubuntu24.9.3-12ubuntu14.9.3-13ubuntu2
Ubuntu:16.04:LTS gcc-4.9-cross
pkg:deb/ubuntu/gcc-4.9-cross@4?arch=source&distro=xenial
Affected: All versions (ecosystem)
0ubuntu100ubuntu110ubuntu130ubuntu1434
Ubuntu:16.04:LTS gcc-5-cross-ports
pkg:deb/ubuntu/gcc-5-cross-ports@10ubuntu0.2?arch=source&distro=xenial
Affected: All versions (ecosystem)
2ubuntu15ubuntu27ubuntu37ubuntu47ubuntu510ubuntu0.110ubuntu0.2
Ubuntu:16.04:LTS gcc-arm-linux-androideabi
pkg:deb/ubuntu/gcc-arm-linux-androideabi@0.20130705.1-0ubuntu9?arch=source&distro=xenial
Affected: All versions (ecosystem)
0.20130705.1-0ubuntu80.20130705.1-0ubuntu9
Ubuntu:16.04:LTS gcc-arm-none-eabi
pkg:deb/ubuntu/gcc-arm-none-eabi@15:4.9.3+svn231177-1?arch=source&distro=xenial
Affected: All versions (ecosystem)
15:4.9.3+svn227297-115:4.9.3+svn227297-1build115:4.9.3+svn231177-1
Ubuntu:16.04:LTS gcc-avr
pkg:deb/ubuntu/gcc-avr@1:4.9.2+Atmel3.5.0-1?arch=source&distro=xenial
Affected: All versions (ecosystem)
1:4.8.1+Atmel3.4.5-11:4.9.2+Atmel3.5.0-1
Ubuntu:16.04:LTS gcc-h8300-hms
pkg:deb/ubuntu/gcc-h8300-hms@1:3.4.6+dfsg2-4ubuntu1?arch=source&distro=xenial
Affected: All versions (ecosystem)
1:3.4.6+dfsg2-4ubuntu1
Ubuntu:16.04:LTS gcc-i686-linux-android
pkg:deb/ubuntu/gcc-i686-linux-android@9?arch=source&distro=xenial
Affected: All versions (ecosystem)
79
Ubuntu:16.04:LTS gcc-m68hc1x
pkg:deb/ubuntu/gcc-m68hc1x@1:3.3.6+3.1+dfsg-3ubuntu1?arch=source&distro=xenial
Affected: All versions (ecosystem)
1:3.3.6+3.1+dfsg-3ubuntu1
Ubuntu:16.04:LTS gcc-mingw-w64
pkg:deb/ubuntu/gcc-mingw-w64@17?arch=source&distro=xenial
Affected: All versions (ecosystem)
15.415.715.7build116build117
Ubuntu:16.04:LTS gcc-msp430
pkg:deb/ubuntu/gcc-msp430@4.6.3~mspgcc-20120406-7ubuntu3?arch=source&distro=xenial
Affected: All versions (ecosystem)
4.6.3~mspgcc-20120406-7ubuntu3
Ubuntu:16.04:LTS gcc-opt
pkg:deb/ubuntu/gcc-opt@1.20?arch=source&distro=xenial
Affected: All versions (ecosystem)
1.20
Ubuntu:16.04:LTS gcc-snapshot
pkg:deb/ubuntu/gcc-snapshot@20160415-0ubuntu1?arch=source&distro=xenial
Affected: All versions (ecosystem)
20151011-0ubuntu120151030-1ubuntu220151104-0ubuntu120151122-1ubuntu120151209-0ubuntu120151215-0ubuntu120160105-1ubuntu120160125-1ubuntu120160320-1ubuntu120160415-0ubuntu1
Ubuntu:18.04:LTS gcc-7
pkg:deb/ubuntu/gcc-7@7.5.0-3ubuntu1~18.04?arch=source&distro=bionic
Affected: All versions (ecosystem)
7.2.0-8ubuntu37.2.0-12ubuntu17.2.0-13ubuntu17.2.0-16ubuntu17.2.0-17ubuntu17.2.0-18ubuntu27.3.0-3ubuntu17.3.0-5ubuntu17.3.0-11ubuntu17.3.0-12ubuntu1 and 9 more (see JSON)
Ubuntu:18.04:LTS gcc-7-cross
pkg:deb/ubuntu/gcc-7-cross@21ubuntu0.4?arch=source&distro=bionic
Affected: All versions (ecosystem)
8ubuntu213ubuntu117ubuntu118ubuntu118ubuntu220ubuntu120ubuntu220ubuntu320ubuntu421ubuntu0.1 and 3 more (see JSON)
Ubuntu:18.04:LTS gcc-8
pkg:deb/ubuntu/gcc-8@8.4.0-1ubuntu1~18.04?arch=source&distro=bionic
Affected: All versions (ecosystem)
8-20180208-0ubuntu18-20180218-1ubuntu18-20180312-2ubuntu18-20180319-1ubuntu28-20180321-1ubuntu18-20180331-1ubuntu18-20180402-1ubuntu18-20180406-0ubuntu18-20180408-0ubuntu18-20180414-1ubuntu1 and 6 more (see JSON)
Ubuntu:18.04:LTS gcc-8-cross
pkg:deb/ubuntu/gcc-8-cross@18ubuntu0.6?arch=source&distro=bionic
Affected: All versions (ecosystem)
5ubuntu26ubuntu17ubuntu19ubuntu19ubuntu218ubuntu0.118ubuntu0.318ubuntu0.418ubuntu0.6
Ubuntu:18.04:LTS gcc-4.8
pkg:deb/ubuntu/gcc-4.8@4.8.5-4ubuntu8?arch=source&distro=bionic
Affected: All versions (ecosystem)
4.8.5-4ubuntu64.8.5-4ubuntu74.8.5-4ubuntu8
Ubuntu:18.04:LTS gcc-5
pkg:deb/ubuntu/gcc-5@5.5.0-12ubuntu1?arch=source&distro=bionic
Affected: All versions (ecosystem)
5.5.0-1ubuntu15.5.0-2ubuntu35.5.0-3ubuntu15.5.0-4ubuntu15.5.0-5ubuntu15.5.0-8ubuntu15.5.0-10ubuntu15.5.0-11ubuntu15.5.0-12ubuntu1
Ubuntu:18.04:LTS gcc-5-cross
pkg:deb/ubuntu/gcc-5-cross@33ubuntu2?arch=source&distro=bionic
Affected: All versions (ecosystem)
26ubuntu127ubuntu127ubuntu232ubuntu133ubuntu2
Ubuntu:18.04:LTS gcc-5-cross-ports
pkg:deb/ubuntu/gcc-5-cross-ports@21ubuntu1?arch=source&distro=bionic
Affected: All versions (ecosystem)
12ubuntu112ubuntu218ubuntu221ubuntu1
Ubuntu:18.04:LTS gcc-6
pkg:deb/ubuntu/gcc-6@6.5.0-2ubuntu1~18.04?arch=source&distro=bionic
Affected: All versions (ecosystem)
6.4.0-8ubuntu16.4.0-9ubuntu16.4.0-10ubuntu16.4.0-11ubuntu16.4.0-12ubuntu16.4.0-13ubuntu16.4.0-15ubuntu16.4.0-16ubuntu16.4.0-17ubuntu16.5.0-2ubuntu1~18.04
Ubuntu:18.04:LTS gcc-6-cross
pkg:deb/ubuntu/gcc-6-cross@30ubuntu3.1?arch=source&distro=bionic
Affected: All versions (ecosystem)
25ubuntu126ubuntu128ubuntu129ubuntu130ubuntu230ubuntu330ubuntu3.1
Ubuntu:18.04:LTS gcc-6-cross-ports
pkg:deb/ubuntu/gcc-6-cross-ports@28ubuntu3.1?arch=source&distro=bionic
Affected: All versions (ecosystem)
23ubuntu124ubuntu125ubuntu127ubuntu128ubuntu228ubuntu328ubuntu3.1
Ubuntu:18.04:LTS gcc-7-cross-ports
pkg:deb/ubuntu/gcc-7-cross-ports@17ubuntu0.4?arch=source&distro=bionic
Affected: All versions (ecosystem)
6ubuntu19ubuntu113ubuntu114ubuntu116ubuntu216ubuntu316ubuntu417ubuntu0.117ubuntu0.217ubuntu0.3 and 1 more (see JSON)
Ubuntu:18.04:LTS gcc-8-cross-ports
pkg:deb/ubuntu/gcc-8-cross-ports@9ubuntu0.5?arch=source&distro=bionic
Affected: All versions (ecosystem)
2ubuntu23ubuntu13ubuntu24ubuntu16ubuntu26ubuntu39ubuntu0.19ubuntu0.39ubuntu0.49ubuntu0.5
Ubuntu:18.04:LTS gcc-opt
pkg:deb/ubuntu/gcc-opt@1.20build1?arch=source&distro=bionic
Affected: All versions (ecosystem)
1.201.20build1
Ubuntu:18.04:LTS gcc-snapshot
pkg:deb/ubuntu/gcc-snapshot@1:20180425-1ubuntu1?arch=source&distro=bionic
Affected: All versions (ecosystem)
20171017-1ubuntu120171109-1ubuntu120180107-1ubuntu120180130-0ubuntu220180216-1ubuntu11:20180322-1ubuntu11:20180425-1ubuntu1
Ubuntu:Pro:20.04:LTS gcc-10
pkg:deb/ubuntu/gcc-10@10.5.0-1ubuntu1~20.04.1+esm1?arch=source&distro=esm-infra/focal
Affected: < 10.5.0-1ubuntu1~20.04.1+esm1 (ecosystem)
10-20200202-1ubuntu110-20200204-1ubuntu310-20200204-1ubuntu410-20200204-1ubuntu510-20200211-1ubuntu110-20200222-1ubuntu110-20200228-0ubuntu110-20200304-1ubuntu110-20200307-0ubuntu110-20200321-1ubuntu1 and 6 more (see JSON)
Ubuntu:20.04:LTS gcc-10-cross
pkg:deb/ubuntu/gcc-10-cross@6ubuntu6?arch=source&distro=focal
Affected: All versions (ecosystem)
3ubuntu34ubuntu15ubuntu26ubuntu26ubuntu36ubuntu46ubuntu6
Ubuntu:Pro:20.04:LTS gcc-9
pkg:deb/ubuntu/gcc-9@9.4.0-1ubuntu1~20.04.3?arch=source&distro=esm-infra/focal
Affected: All versions (ecosystem)
9.2.1-9ubuntu29.2.1-12ubuntu19.2.1-15ubuntu19.2.1-16ubuntu19.2.1-17ubuntu19.2.1-19ubuntu19.2.1-20ubuntu39.2.1-21ubuntu19.2.1-25ubuntu19.2.1-28ubuntu1 and 15 more (see JSON)
Ubuntu:Pro:20.04:LTS gcc-9-cross
pkg:deb/ubuntu/gcc-9-cross@21ubuntu7.1?arch=source&distro=esm-infra/focal
Affected: All versions (ecosystem)
12ubuntu214ubuntu117ubuntu118ubuntu218ubuntu320ubuntu121ubuntu121ubuntu321ubuntu421ubuntu5 and 3 more (see JSON)
Ubuntu:20.04:LTS gcc-10-cross-ports
pkg:deb/ubuntu/gcc-10-cross-ports@5ubuntu6?arch=source&distro=focal
Affected: All versions (ecosystem)
2ubuntu23ubuntu14ubuntu15ubuntu15ubuntu25ubuntu35ubuntu6
Ubuntu:20.04:LTS gcc-7
pkg:deb/ubuntu/gcc-7@7.5.0-6ubuntu2?arch=source&distro=focal
Affected: All versions (ecosystem)
7.4.0-14ubuntu27.4.0-15ubuntu17.5.0-1ubuntu17.5.0-2ubuntu17.5.0-3ubuntu17.5.0-4ubuntu17.5.0-4ubuntu47.5.0-6ubuntu2
Ubuntu:20.04:LTS gcc-8
pkg:deb/ubuntu/gcc-8@8.4.0-3ubuntu2?arch=source&distro=focal
Affected: All versions (ecosystem)
8.3.0-23ubuntu28.3.0-24ubuntu18.3.0-25ubuntu38.3.0-26ubuntu18.3.0-27ubuntu18.3.0-29ubuntu18.3.0-29ubuntu28.4.0-1ubuntu18.4.0-1ubuntu38.4.0-3ubuntu1 and 1 more (see JSON)

50 of 93 products shown; all of them in the JSON.


Loading 1.9 MB of JSON…



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.