synced 6 MIN AGO
01 Record

CVE-2022-27943

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

MediumPUBLISHEDCNA: mitre
CNA base score5.5 CVSS v3.xCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

02 Description

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

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.95% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 61.0% of scored records. A rank, not a probability.
NVD base score
5.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-10-14.
Red Hat severity
Low. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2022-03-26 00:00Z4 YR AGO
Last updated
2026-10-14 16:29Z15 DAYS AGO
Reserved
2022-03-26
Assigning CNA
mitre
Record state
PUBLISHED
Severity
Medium (CVSS 5.5)
CNA CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weaknesses
  • CWE-674Uncontrolled RecursionClass
  • CWE-400Uncontrolled Resource ConsumptionClass
Data version
5.2
Document digest
4e45bb75cd2ae6b590417c054e8f6ecf60ddb87a16a8efb99bca1c5399dac77d

05 Affected products

VendorProductVersionsPlatforms
fedoraprojectfedoraNot specified—
gnugccNot specified—
redhatenterprise_linuxNot specified—
redhatrhev_hypervisorNot specified—

06 References

07 Fixed in

Debian 12

  • gcc-12
    No fix yet

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • gcc-12
    No fix yet

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • gcc-12
    No fix yet

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 14.04 LTS

  • gcc-mingw-w64
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 16.04 LTS

  • gcc-3.3
    No fix yet
  • gcc-4.7
    No fix yet
  • gcc-4.7-armel-cross
    No fix yet
  • gcc-4.7-armhf-cross
    No fix yet
  • gcc-4.8-arm64-cross
    No fix yet
  • gcc-4.8-armhf-cross
    No fix yet
  • gcc-4.8-powerpc-cross
    No fix yet
  • gcc-4.8-ppc64el-cross
    No fix yet
  • gcc-arm-linux-androideabi
    No fix yet
  • gcc-arm-none-eabi
    No fix yet
  • gcc-avr
    No fix yet
  • gcc-h8300-hms
    No fix yet
  • gcc-i686-linux-android
    No fix yet
  • gcc-m68hc1x
    No fix yet
  • gcc-mingw-w64
    No fix yet
  • gcc-msp430
    No fix yet
  • gcc-opt
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • gcc-7-cross
    No fix yet
  • gcc-7-cross-ports
    No fix yet
  • gcc-8-cross
    No fix yet
  • gcc-arm-none-eabi
    No fix yet
  • gcc-avr
    No fix yet
  • gcc-h8300-hms
    No fix yet
  • gcc-m68hc1x
    No fix yet
  • gcc-mingw-w64
    No fix yet
  • gcc-msp430
    No fix yet
  • gcc-opt
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • gcc-8-cross
    No fix yet
  • gcc-arm-none-eabi
    No fix yet
  • gcc-avr
    No fix yet
  • gcc-h8300-hms
    No fix yet
  • gcc-m68hc1x
    No fix yet
  • gcc-mingw-w64
    No fix yet
  • gcc-msp430
    No fix yet
  • gcc-opt
    No fix yet
  • gcc-snapshot
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • binutils
    No fix yet
  • gcc-11
    No fix yet
  • gcc-12
    No fix yet
  • gcc-arm-none-eabi
    No fix yet
  • gcc-avr
    No fix yet
  • gcc-h8300-hms
    No fix yet
  • gcc-m68hc1x
    No fix yet
  • gcc-mingw-w64
    No fix yet
  • gcc-msp430
    No fix yet
  • gcc-opt
    No fix yet
  • gcc-snapshot
    No fix yet
  • gdb
    No fix yet
  • libiberty
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • gcc-11
    No fix yet
  • gcc-12
    No fix yet
  • gcc-arm-none-eabi
    No fix yet
  • gcc-avr
    No fix yet
  • gcc-h8300-hms
    No fix yet
  • gcc-mingw-w64
    No fix yet
  • gcc-opt
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 25.10

  • gcc-11
    No fix yet
  • gcc-12
    No fix yet
  • gcc-arm-none-eabi
    No fix yet
  • gcc-avr
    No fix yet
  • gcc-h8300-hms
    No fix yet
  • gcc-mingw-w64
    No fix yet
  • gcc-opt
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 26.04 LTS

  • gcc-11
    No fix yet
  • gcc-12
    No fix yet
  • gcc-arm-none-eabi
    No fix yet
  • gcc-avr
    No fix yet
  • gcc-h8300-hms
    No fix yet
  • gcc-mingw-w64
    No fix yet
  • gcc-opt
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 26.10

  • gcc-11
    No fix yet
  • gcc-12
    No fix yet
  • gcc-arm-none-eabi
    No fix yet
  • gcc-avr
    No fix yet
  • gcc-h8300-hms
    No fix yet
  • gcc-mingw-w64
    No fix yet
  • gcc-opt
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.