Vulnerability · Published Mar 26, 2022 · Assigned by mitre
CVE-2022-27943
Medium 5.5
In plain English
A medium-severity security flaw in the gcc-12 package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities).
Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)1.0%top 38.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrated by nm-new.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | gcc-12 | no fix listed | DEBIAN-CVE-2022-27943 |
| Debian:13 | gcc-12 | no fix listed | DEBIAN-CVE-2022-27943 |
| Debian:14 | gcc-12 | no fix listed | DEBIAN-CVE-2022-27943 |
| Ubuntu:22.04:LTS | binutils | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:22.04:LTS | gcc-11 | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:24.04:LTS | gcc-11 | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:25.10 | gcc-11 | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:26.04:LTS | gcc-11 | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:26.10 | gcc-11 | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:22.04:LTS | gcc-12 | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:24.04:LTS | gcc-12 | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:25.10 | gcc-12 | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:26.04:LTS | gcc-12 | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:26.10 | gcc-12 | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:22.04:LTS | gcc-arm-none-eabi | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:24.04:LTS | gcc-arm-none-eabi | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:25.10 | gcc-arm-none-eabi | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:26.04:LTS | gcc-arm-none-eabi | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:26.10 | gcc-arm-none-eabi | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:22.04:LTS | gcc-avr | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:24.04:LTS | gcc-avr | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:25.10 | gcc-avr | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:26.04:LTS | gcc-avr | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:26.10 | gcc-avr | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:22.04:LTS | gcc-h8300-hms | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:24.04:LTS | gcc-h8300-hms | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:25.10 | gcc-h8300-hms | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:26.04:LTS | gcc-h8300-hms | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:26.10 | gcc-h8300-hms | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:22.04:LTS | gcc-m68hc1x | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:22.04:LTS | gcc-mingw-w64 | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:24.04:LTS | gcc-mingw-w64 | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:25.10 | gcc-mingw-w64 | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:26.04:LTS | gcc-mingw-w64 | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:26.10 | gcc-mingw-w64 | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:22.04:LTS | gcc-msp430 | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:22.04:LTS | gcc-opt | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:24.04:LTS | gcc-opt | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:25.10 | gcc-opt | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:26.04:LTS | gcc-opt | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:26.10 | gcc-opt | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:22.04:LTS | gcc-snapshot | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:22.04:LTS | gdb | no fix listed | UBUNTU-CVE-2022-27943 |
| Ubuntu:22.04:LTS | libiberty | no fix listed | UBUNTU-CVE-2022-27943 |
Affected products (as reported)
Weakness: CWE-674 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H