# CVE-2022-27943

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-03-26 · Modified: 2026-10-14
- Aliases: UBUNTU-CVE-2022-27943, DEBIAN-CVE-2022-27943
- Record: https://cvemate.com/vulnerability/CVE-2022-27943 · JSON: https://cvemate.com/vulnerability/CVE-2022-27943/json

## Description

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

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.953%, percentile 62.527%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference)

## Affected (first 20 of 29)

- debian gcc-12 (Debian): All versions (No fix recorded)
- ubuntu binutils (Ubuntu): All versions (No fix recorded) \| \< 2.38-4ubuntu2.14
- ubuntu gcc-11 (Ubuntu): All versions (No fix recorded)
- ubuntu gcc-12 (Ubuntu): All versions (No fix recorded)
- ubuntu gcc-3.3 (Ubuntu): All versions (No fix recorded)
- ubuntu gcc-4.7 (Ubuntu): All versions (No fix recorded)
- ubuntu gcc-4.7-armel-cross (Ubuntu): All versions (No fix recorded)
- ubuntu gcc-4.7-armhf-cross (Ubuntu): All versions (No fix recorded)
- ubuntu gcc-4.8-arm64-cross (Ubuntu): All versions (No fix recorded)
- ubuntu gcc-4.8-armhf-cross (Ubuntu): All versions (No fix recorded)
- ubuntu gcc-4.8-powerpc-cross (Ubuntu): All versions (No fix recorded)
- ubuntu gcc-4.8-ppc64el-cross (Ubuntu): All versions (No fix recorded)
- ubuntu gcc-7-cross (Ubuntu): All versions (No fix recorded)
- ubuntu gcc-7-cross-ports (Ubuntu): All versions (No fix recorded)
- ubuntu gcc-8-cross (Ubuntu): All versions (No fix recorded)
- ubuntu gcc-arm-linux-androideabi (Ubuntu): All versions (No fix recorded)
- ubuntu gcc-arm-none-eabi (Ubuntu): All versions (No fix recorded)
- ubuntu gcc-avr (Ubuntu): All versions (No fix recorded)
- ubuntu gcc-h8300-hms (Ubuntu): All versions (No fix recorded)
- ubuntu gcc-i686-linux-android (Ubuntu): All versions (No fix recorded)

## References

- <https://sourceware.org/bugzilla/show_bug.cgi?id=28995>
- <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105039>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H424YXGW7OKXS2NCAP35OP6Y4P4AW6VG/>
- <https://ubuntu.com/security/CVE-2022-27943>
- <https://gcc.gnu.org/pipermail/gcc-patches/2022-March/592244.html>
- <https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=9234cdca6ee88badfc00297e72f13dac4e540c79>
- <https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=1a770b01ef415e114164b6151d1e55acdee09371>
- <https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=fc968115a742d9e4674d9725ce9c2106b91b6ead>
- <https://www.cve.org/CVERecord?id=CVE-2022-27943>
- <https://security-tracker.debian.org/tracker/CVE-2022-27943>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://ubuntu.com/security/notices/USN-9214-1>

---

Data as of 2026-12-05T03:14:59.417Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
