Home / Gnu / Gcc / CVE-2022-27943
CVE-2022-27943: is it exploited, and which versions of Gnu Gcc are affected and fixed?
CVE-2022-27943 is an uncontrolled recursion vulnerability in Gnu Gcc. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: gcc 11.2 and fedora 36 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:49 UTC.
What is CVE-2022-27943?
libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrated by nm-new.
From the CVE record by mitre, last updated October 14, 2026, 16:29 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| gnu | gcc | 11.2 | application |
| fedoraproject | fedora | 36 | operating system |
NVD analysis (status Modified), last modified October 14, 2026, 17:17 UTC.
How severe is CVE-2022-27943?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | CISA-ADP |
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-27943 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 8, 2026)
- EPSS
- 0.95% probability of exploitation activity in the next 30 days, percentile 62.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-674 Uncontrolled Recursion
Where are the vendor advisories and references?
- https://sourceware.org/bugzilla/show_bug.cgi?id=28995
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105039
- FEDORA-2022-c9a1fd5370 vendor-advisory
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
When was it published, and where is the official record?
- Reserved
- March 26, 2022
- Published
- March 26, 2022, 00:00 UTC
- CVE record updated
- October 14, 2026, 16:29 UTC by mitre
- NVD
- Modified, last modified October 14, 2026, 17:17 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:49 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Gcc?
- Sep 13, 2023CVE-2023-4039 Arm Ltd Arm GNU Toolchain: protection mechanism failure disputed
- Jan 14, 2022CVE-2021-46195 Gnu Gcc: uncontrolled recursion
- Nov 18, 2021CVE-2021-37322 Gnu Binutils: use after free
- Oct 23, 2019CVE-2002-2439 GNU gcc: integer overflow
- Sep 2, 2019CVE-2019-15847 Gnu Gcc: insufficient Entropy
- May 22, 2019CVE-2018-12886 Gnu Gcc: information disclosure in error messages
- Jul 26, 2017CVE-2017-11671 Gnu Gcc: weak random number generator
- Nov 17, 2015CVE-2015-5276 Gnu Gcc: information disclosure
Questions about CVE-2022-27943
Is CVE-2022-27943 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.95% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Gnu Gcc are affected by CVE-2022-27943?
gcc 11.2 and fedora 36, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2022-27943?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2022-27943?
Medium (5.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2022-27943?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.