p PatchFirst

CVE-2022-27943

CVE-2022-27943

CVSS 5.5 · Medium · EPSS 1.0% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • gcc-12 Debian 12No fix published
  • gcc-12 Debian 13No fix published
  • gcc-mingw-w64 Ubuntu 14.04 LTSNo fix published
  • gcc-3.3 Ubuntu 16.04 LTSNo fix published
  • and 19 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="gcc-12"'
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="gcc-mingw-w64"'
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="gcc-3.3"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrated by nm-new.

Published
Updated

Fixes in distributions

  • USN-9214-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 26.04 LTS ·
  • openSUSE-SU-2024:12631-1 · openSUSE Tumbleweed ·
  • SUSE-SU-2022:4277-1 · SUSE Linux Enterprise Server 12 SP2-BCL, SUSE Linux Enterprise Server 12 SP3-BCL, SUSE Linux Enterprise Server 12 SP4-LTSS, SUSE Linux Enterprise Server 12 SP5, SUSE Linux Enterprise Server for SAP Applications 12 SP4, SUSE Linux Enterprise Server for SAP Applications 12 SP5, SUSE Linux Enterprise Software Development Kit 12 SP5, SUSE OpenStack Cloud 9, SUSE OpenStack Cloud Crowbar 9 ·
  • SUSE-SU-2022:4146-1 · openSUSE Leap 15.3, openSUSE Leap 15.4, SUSE Enterprise Storage 6, SUSE Enterprise Storage 7, SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise Module for Basesystem 15 SP3, SUSE Linux Enterprise Module for Basesystem 15 SP4, SUSE Linux Enterprise Module for Development Tools 15 SP3, SUSE Linux Enterprise Module for Development Tools 15 SP4, SUSE Linux Enterprise Module for Package Hub 15 SP3, SUSE Linux Enterprise Module for Package Hub 15 SP4, SUSE Linux Enterprise Server 15 SP1-BCL, SUSE Linux Enterprise Server 15 SP1-LTSS, SUSE Linux Enterprise Server 15 SP2-BCL, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP1, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Manager Proxy 4.1, SUSE Manager Retail Branch Server 4.1, SUSE Manager Server 4.1 ·

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • gcc-12 Debian 12

    Versions
    • 12.2.0-14
    • 12.2.0-14+deb12u1
    • 12.2.0-14+hurd.1
    • 12.2.0-14+loong64
    • 12.2.0-14+loong64.1
    • 12.2.0-15
    All versions (48)
    • 12.2.0-16
    • 12.2.0-17
    • 12.2.0-18
    • 12.3.0-1
    • 12.3.0-10
    • 12.3.0-11
    • 12.3.0-12
    • 12.3.0-13
    • 12.3.0-14
    • 12.3.0-15
    • 12.3.0-16
    • 12.3.0-17
    • 12.3.0-2
    • 12.3.0-3
    • 12.3.0-3~exp1
    • 12.3.0-4
    • 12.3.0-5
    • 12.3.0-6
    • 12.3.0-7
    • 12.3.0-8
    • 12.3.0-9
    • 12.4.0-1
    • 12.4.0-2
    • 12.4.0-3
    • 12.4.0-4
    • 12.4.0-5
    • 12.4.0-6
    • 12.4.0-7
    • 12.4.0-8
    • 12.4.0-8~alpha
    • 12.5.0-1
    • 12.5.0-10
    • 12.5.0-11
    • 12.5.0-12
    • 12.5.0-2
    • 12.5.0-3
    • 12.5.0-4
    • 12.5.0-5
    • 12.5.0-6
    • 12.5.0-7
    • 12.5.0-8
    • 12.5.0-9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-12 Debian 13

    Versions
    • 12.4.0-5
    • 12.4.0-6
    • 12.4.0-7
    • 12.4.0-8
    • 12.4.0-8~alpha
    • 12.5.0-1
    All versions (17)
    • 12.5.0-10
    • 12.5.0-11
    • 12.5.0-12
    • 12.5.0-2
    • 12.5.0-3
    • 12.5.0-4
    • 12.5.0-5
    • 12.5.0-6
    • 12.5.0-7
    • 12.5.0-8
    • 12.5.0-9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-mingw-w64 Ubuntu 14.04 LTS

    Versions
    • 8
    • 9
    • 11
    • 12
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-3.3 Ubuntu 16.04 LTS

    Versions
    • 1:3.3.6ds1-27.2ubuntu1
    • 1:3.3.6ds1-28ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-4.7-armel-cross Ubuntu 16.04 LTS

    Versions
    • 1.86
    • 1.90
    • 3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-4.7-armhf-cross Ubuntu 16.04 LTS

    Versions
    • 1.86
    • 1.87
    • 3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-4.8-arm64-cross Ubuntu 16.04 LTS

    Versions
    • 0.17
    • 0.18
    • 2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-4.8-armhf-cross Ubuntu 16.04 LTS

    Versions
    • 0.16
    • 0.17
    • 2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-4.8-powerpc-cross Ubuntu 16.04 LTS

    Versions
    • 0.19
    • 0.20
    • 3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-4.8-ppc64el-cross Ubuntu 16.04 LTS

    Versions
    • 0.8
    • 0.9
    • 2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-arm-linux-androideabi Ubuntu 16.04 LTS

    Versions
    • 0.20130705.1-0ubuntu8
    • 0.20130705.1-0ubuntu9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-i686-linux-android Ubuntu 16.04 LTS

    Versions
    • 7
    • 9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-m68hc1x Ubuntu 16.04 LTS

    Versions
    • 1:3.3.6+3.1+dfsg-3ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-mingw-w64 Ubuntu 16.04 LTS

    Versions
    • 15.4
    • 15.7
    • 15.7build1
    • 16build1
    • 17
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-msp430 Ubuntu 16.04 LTS

    Versions
    • 4.6.3~mspgcc-20120406-7ubuntu3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-opt Ubuntu 16.04 LTS

    Versions
    • 1.20
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-7-cross Ubuntu 18.04 LTS

    Versions
    • 8ubuntu2
    • 13ubuntu1
    • 17ubuntu1
    • 18ubuntu1
    • 18ubuntu2
    • 20ubuntu1
    All versions (13)
    • 20ubuntu2
    • 20ubuntu3
    • 20ubuntu4
    • 21ubuntu0.1
    • 21ubuntu0.2
    • 21ubuntu0.3
    • 21ubuntu0.4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-8-cross Ubuntu 18.04 LTS

    Versions
    • 5ubuntu2
    • 6ubuntu1
    • 7ubuntu1
    • 9ubuntu1
    • 9ubuntu2
    • 18ubuntu0.1
    All versions (9)
    • 18ubuntu0.3
    • 18ubuntu0.4
    • 18ubuntu0.6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-7-cross-ports Ubuntu 18.04 LTS

    Versions
    • 6ubuntu1
    • 9ubuntu1
    • 13ubuntu1
    • 14ubuntu1
    • 16ubuntu2
    • 16ubuntu3
    All versions (11)
    • 16ubuntu4
    • 17ubuntu0.1
    • 17ubuntu0.2
    • 17ubuntu0.3
    • 17ubuntu0.4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-m68hc1x Ubuntu 18.04 LTS

    Versions
    • 1:3.3.6+3.1+dfsg-3ubuntu1
    • 1:3.3.6+3.1+dfsg-3ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-mingw-w64 Ubuntu 18.04 LTS

    Versions
    • 19.3
    • 20
    • 20.1
    • 20.2
    • 20.2build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-msp430 Ubuntu 18.04 LTS

    Versions
    • 4.6.3~mspgcc-20120406-7ubuntu4
    • 4.6.3~mspgcc-20120406-7ubuntu5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gcc-opt Ubuntu 18.04 LTS

    Versions
    • 1.20
    • 1.20build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →