SecurityContext

CVE-2022-27943: GNU GCC - Denial of Service

  • Cve: CVE-2022-27943
  • Name: GNU GCC - Denial of Service
  • Description: libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrated by nm-new.
  • Impact: Attackers can cause denial of service by exhausting stack memory, leading to application crash or instability.
  • Remediation: Update to the latest version of GCC where this issue is fixed.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.00953
  • Epss percentile: 0.62061
  • Assignee: [email protected]
  • Published at: 2022-03-26T13:15:07Z
  • Age in days: 1704
  • Modified at: 2026-10-14T17:17:37Z
  • Public exploits total: 2
  • References total: 4
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-27943
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-674Uncontrolled Recursion

Public exploits

UrlSourceAdded date
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105039nvd2022-03-26
https://sourceware.org/bugzilla/show_bug.cgi?id=28995nvd2022-03-26

References

Same in every row:

  • Source: nvd
UrlTags
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105039Exploit, Issue Tracking, Vendor Advisory
https://sourceware.org/bugzilla/show_bug.cgi?id=28995Exploit, Issue Tracking, Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H424YXGW7OKXS2NCAP35OP6Y4P4AW6VG/
https://cert-portal.siemens.com/productcert/html/ssa-398330.html

Products

ProductAffectedPlatform boundSourcesUrl
gnu:gcc= 11.2nonvd/v1/products/gnu/gcc
fedoraproject:fedora= 36nonvd/v1/products/fedoraproject/fedora

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2022-03-26
  • Exposed hosts: 49161
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports